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 2.11.0 (267b83), with Swift 6.0 for Linux on 3 Nov 2024 21:52:50 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: 2.11.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/swift-server-community/mqtt-nio
 * tag               2.11.0     -> FETCH_HEAD
HEAD is now at 267b83a Update swiftformat (#151)
Cloned https://github.com/swift-server-community/mqtt-nio.git
Revision (git rev-parse @):
267b83ab5690d463ff00585a4fd6dc54b698e1d2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server-community/mqtt-nio.git at 2.11.0
========================================
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-transport-services.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
[184/5920] Fetching swift-log, swift-nio-transport-services
[5555/7489] Fetching swift-log, swift-nio-transport-services, swift-atomics
[6282/9527] Fetching swift-log, swift-nio-transport-services, swift-atomics, swift-docc-plugin
[9528/22822] Fetching swift-log, swift-nio-transport-services, swift-atomics, swift-docc-plugin, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
[8224/21253] Fetching swift-log, swift-nio-transport-services, swift-docc-plugin, swift-nio-ssl
Fetched https://github.com/apple/swift-docc-plugin from cache (0.43s)
[6585/19215] Fetching swift-log, swift-nio-transport-services, swift-nio-ssl
[18951/90362] Fetching swift-log, swift-nio-transport-services, swift-nio-ssl, swift-nio
[48972/88102] Fetching swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.41s)
Fetched https://github.com/apple/swift-log.git from cache (4.50s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.51s)
Fetched https://github.com/apple/swift-nio.git from cache (4.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.46s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.50s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.46s)
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.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.67s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/3901] Fetching swift-system
[3902/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.96s)
Fetched https://github.com/apple/swift-collections.git from cache (0.98s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.68s)
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.52s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-nio-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.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
[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
[20/442] Compiling CNIOLLHTTP c_nio_http.c
[21/442] Compiling CNIOSHA1 c_nio_sha1.c
[22/442] Compiling CNIOWindows WSAStartup.c
[23/442] Compiling ghash-neon-armv8-win.S
[24/442] Compiling CNIOWASI CNIOWASI.c
[25/442] Compiling CNIODarwin shim.c
[25/442] Compiling CNIOLinux liburing_shims.c
[27/442] Compiling CNIOLLHTTP c_nio_api.c
[28/442] Compiling fiat_p256_adx_mul.S
[29/442] Compiling fiat_p256_adx_sqr.S
[30/442] Compiling fiat_curve25519_adx_square.S
[31/442] Compiling CNIOLinux shim.c
[32/442] Compiling fiat_curve25519_adx_mul.S
[33/442] Compiling _AtomicsShims.c
[34/442] Write swift-version-24593BA9C3E375BF.txt
[35/442] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/445] Compiling CNIOBoringSSLShims shims.c
[37/448] Compiling tls_record.cc
[39/448] Emitting module _NIOBase64
[39/453] Compiling tls_method.cc
[40/453] Compiling tls13_enc.cc
[41/453] Compiling tls13_server.cc
[42/453] Compiling tls13_both.cc
[43/454] Compiling tls13_client.cc
[44/470] Compiling t1_enc.cc
[45/470] Compiling ssl_versions.cc
[46/470] Compiling ssl_transcript.cc
[47/470] Compiling ssl_x509.cc
[48/470] Compiling ssl_stat.cc
[49/470] Compiling ssl_privkey.cc
[50/470] Compiling ssl_session.cc
[51/470] Compiling ssl_lib.cc
[52/470] Compiling ssl_key_share.cc
[54/470] Compiling _NIOBase64 Base64.swift
[55/470] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[56/470] Compiling InternalCollectionsUtilities Specialize.swift
[57/470] Compiling InternalCollectionsUtilities _SortedCollection.swift
[58/470] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[59/473] Compiling InternalCollectionsUtilities Debugging.swift
[60/473] Compiling InternalCollectionsUtilities Descriptions.swift
[61/473] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[62/473] Compiling InternalCollectionsUtilities Integer rank.swift
[63/473] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[65/473] Compiling InternalCollectionsUtilities UInt+reversed.swift
[66/473] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[67/473] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[68/473] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[69/473] Compiling _NIODataStructures PriorityQueue.swift
[70/473] Compiling _NIODataStructures _TinyArray.swift
[71/473] Emitting module InternalCollectionsUtilities
[72/473] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[73/473] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[74/473] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[75/473] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[76/473] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[77/474] Compiling ssl_file.cc
[78/489] Compiling ssl_credential.cc
[79/489] Compiling ssl_cipher.cc
[81/489] Compiling DequeModule _DequeBuffer.swift
[82/489] Compiling DequeModule _DequeBufferHeader.swift
[83/491] Compiling Logging MetadataProvider.swift
[84/491] Emitting module Logging
[85/491] Compiling _NIODataStructures Heap.swift
[86/491] Emitting module _NIODataStructures
[87/492] Compiling DequeModule Deque+CustomReflectable.swift
[88/492] Compiling DequeModule Deque+Descriptions.swift
[89/492] Compiling Logging LogHandler.swift
[90/492] Compiling Logging Logging.swift
[91/492] Compiling Logging Locks.swift
[94/493] Compiling DequeModule Deque+Equatable.swift
[95/493] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[96/493] Compiling DequeModule Deque+Extras.swift
[97/493] Compiling DequeModule Deque+Hashable.swift
[98/493] Compiling DequeModule _DequeSlot.swift
[99/493] Compiling DequeModule _UnsafeWrappedBuffer.swift
[100/493] Compiling DequeModule Deque+Testing.swift
[101/493] Compiling DequeModule Deque._Storage.swift
[101/493] Compiling ssl_cert.cc
[102/493] Compiling ssl_buffer.cc
[104/493] Compiling DequeModule Deque._UnsafeHandle.swift
[105/493] Compiling DequeModule Deque.swift
[106/493] Compiling DequeModule Deque+Codable.swift
[107/493] Compiling DequeModule Deque+Collection.swift
[108/493] Emitting module DequeModule
[109/494] Compiling ssl_aead_ctx.cc
[110/494] Compiling s3_pkt.cc
[111/494] Compiling ssl_asn1.cc
[112/494] Compiling s3_lib.cc
[113/494] Compiling s3_both.cc
[114/494] Compiling handshake_client.cc
[115/494] Compiling handshake_server.cc
[116/494] Compiling handshake.cc
[117/494] Compiling handoff.cc
[118/494] Compiling encrypted_client_hello.cc
[119/494] Compiling dtls_record.cc
[120/494] Compiling extensions.cc
[121/494] Compiling md5-x86_64-linux.S
[122/494] Compiling md5-x86_64-apple.S
[123/494] Compiling md5-586-linux.S
[123/494] Compiling md5-586-apple.S
[125/494] Compiling err_data.c
[126/494] Compiling chacha20_poly1305_x86_64-apple.S
[127/494] Compiling dtls_method.cc
[128/494] Compiling chacha20_poly1305_x86_64-linux.S
[129/494] Compiling d1_srtp.cc
[130/494] Compiling chacha20_poly1305_armv8-win.S
[131/494] Compiling chacha20_poly1305_armv8-linux.S
[132/494] Compiling chacha20_poly1305_armv8-apple.S
[133/494] Compiling chacha-x86_64-linux.S
[134/494] Compiling chacha-x86_64-apple.S
[135/494] Compiling chacha-x86-linux.S
[136/494] Compiling chacha-x86-apple.S
[137/494] Compiling chacha-armv8-win.S
[138/494] Compiling chacha-armv8-linux.S
[139/494] Compiling chacha-armv8-apple.S
[140/494] Compiling chacha-armv4-linux.S
[141/494] Compiling d1_pkt.cc
[142/494] Compiling aes128gcmsiv-x86_64-apple.S
[143/494] Compiling aes128gcmsiv-x86_64-linux.S
[144/494] Compiling x86_64-mont5-linux.S
[145/494] Compiling x86_64-mont5-apple.S
[146/494] Compiling x86_64-mont-linux.S
[147/494] Compiling x86-mont-linux.S
[148/494] Compiling x86_64-mont-apple.S
[149/494] Compiling x86-mont-apple.S
[150/494] Compiling bio_ssl.cc
[151/494] Compiling d1_lib.cc
[152/494] Compiling vpaes-x86_64-linux.S
[153/494] Compiling vpaes-x86-linux.S
[154/494] Compiling vpaes-x86_64-apple.S
[155/494] Compiling d1_both.cc
[156/494] Compiling vpaes-armv8-apple.S
[157/494] Compiling sha512-armv8-win.S
[157/494] Compiling vpaes-armv8-win.S
[157/494] Compiling sha512-x86_64-linux.S
[157/494] Compiling vpaes-x86-apple.S
[157/494] Compiling vpaes-armv7-linux.S
[162/494] Compiling vpaes-armv8-linux.S
[162/494] Compiling sha512-x86_64-apple.S
[164/494] Compiling sha512-armv8-apple.S
[165/494] Compiling sha512-586-apple.S
[165/494] Compiling sha512-armv8-linux.S
[167/494] Compiling sha512-armv4-linux.S
[168/494] Compiling sha512-586-linux.S
[169/494] Compiling sha256-x86_64-apple.S
[170/494] Compiling sha256-armv8-win.S
[171/494] Compiling sha256-x86_64-linux.S
[172/494] Compiling sha256-armv8-linux.S
[173/494] Compiling sha256-armv8-apple.S
[173/494] Compiling sha256-586-linux.S
[173/494] Compiling sha256-armv4-linux.S
[176/494] Compiling sha256-586-apple.S
[177/494] Compiling sha1-x86_64-apple.S
[178/494] Compiling sha1-armv8-win.S
[179/494] Compiling sha1-x86_64-linux.S
[180/494] Compiling sha1-armv8-linux.S
[181/494] Compiling sha1-armv4-large-linux.S
[182/494] Compiling sha1-armv8-apple.S
[183/494] Compiling sha1-586-linux.S
[184/494] Compiling sha1-586-apple.S
[185/494] Compiling rsaz-avx2-linux.S
[186/494] Compiling rsaz-avx2-apple.S
[187/494] Compiling rdrand-x86_64-linux.S
[188/494] Compiling rdrand-x86_64-apple.S
[189/494] Compiling p256_beeu-x86_64-asm-apple.S
[190/494] Compiling p256_beeu-armv8-asm-win.S
[190/494] Compiling p256_beeu-x86_64-asm-linux.S
[192/494] Compiling p256_beeu-armv8-asm-linux.S
[193/494] Compiling p256_beeu-armv8-asm-apple.S
[194/494] Compiling p256-x86_64-asm-apple.S
[195/494] Compiling p256-armv8-asm-win.S
[196/494] Compiling p256-x86_64-asm-linux.S
[197/494] Compiling p256-armv8-asm-linux.S
[198/494] Compiling p256-armv8-asm-apple.S
[199/494] Compiling ghashv8-armv8-win.S
[200/494] Compiling ghashv8-armv8-linux.S
[201/494] Compiling ghashv8-armv8-apple.S
[202/494] Compiling ghashv8-armv7-linux.S
[203/494] Compiling ghash-x86_64-linux.S
[204/494] Compiling ghash-x86_64-apple.S
[205/494] Compiling ghash-x86-linux.S
[206/494] Compiling ghash-ssse3-x86_64-linux.S
[207/494] Compiling ghash-x86-apple.S
[208/494] Compiling ghash-ssse3-x86_64-apple.S
[209/494] Compiling ghash-ssse3-x86-apple.S
[210/494] Compiling ghash-ssse3-x86-linux.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-linux.S
[219/494] Compiling bn-armv8-apple.S
[220/494] Compiling bn-586-linux.S
[221/494] Compiling bn-586-apple.S
[222/494] Compiling armv8-mont-linux.S
[223/494] Compiling armv8-mont-win.S
[224/494] Compiling armv8-mont-apple.S
[225/494] Compiling armv4-mont-linux.S
[226/494] Compiling aesv8-armv8-win.S
[227/494] Compiling aesv8-gcm-armv8-apple.S
[228/494] Compiling aesv8-gcm-armv8-linux.S
[229/494] Compiling aesv8-gcm-armv8-win.S
[230/494] Compiling aesv8-armv8-linux.S
[231/494] Compiling aesv8-armv8-apple.S
[232/494] Compiling aesv8-armv7-linux.S
[233/494] Compiling aesni-x86_64-apple.S
[234/494] Compiling aesni-x86_64-linux.S
[235/494] Compiling aesni-x86-linux.S
[236/494] Compiling aesni-gcm-x86_64-linux.S
[237/494] Compiling aesni-x86-apple.S
[238/494] Compiling aesni-gcm-x86_64-apple.S
[239/494] Compiling x_sig.c
[240/494] Compiling x_x509a.c
[241/494] Compiling x_val.c
[242/494] Compiling x_req.c
[243/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 x509spki.c
[249/494] Compiling x_attrib.c
[250/494] Compiling x509rset.c
[251/494] Compiling x_crl.c
[252/494] Compiling x509name.c
[253/494] Compiling x_algor.c
[254/494] Compiling x_all.c
[255/494] Compiling x509cset.c
[256/494] Compiling x509_txt.c
[257/494] Compiling x509_vpm.c
[258/494] Compiling x509_v3.c
[259/494] Compiling x509_set.c
[260/494] Compiling x509_trs.c
[261/494] Compiling x509_vfy.c
[261/494] Compiling x509_req.c
[263/494] Compiling x509_obj.c
[264/494] Compiling x509_lu.c
[265/494] Compiling x509_def.c
[265/494] Compiling x509_ext.c
[267/494] Compiling x509_d2.c
[268/494] Compiling x509.c
[269/494] Compiling x509_cmp.c
[270/494] Compiling x509_att.c
[271/494] Compiling v3_prn.c
[272/494] Compiling v3_pmaps.c
[273/494] Compiling v3_ocsp.c
[274/494] Compiling v3_purp.c
[275/494] Compiling v3_ncons.c
[276/494] Compiling v3_pcons.c
[277/494] Compiling v3_utl.c
[278/494] Compiling v3_skey.c
[279/494] Compiling v3_int.c
[280/494] Compiling v3_enum.c
[281/494] Compiling v3_genn.c
[282/494] Compiling v3_info.c
[283/494] Compiling v3_lib.c
[284/494] Compiling v3_ia5.c
[285/494] Compiling v3_extku.c
[286/494] Compiling v3_crld.c
[287/494] Compiling v3_bitst.c
[288/494] Compiling v3_akeya.c
[289/494] Compiling v3_cpols.c
[290/494] Compiling t_x509a.c
[290/494] Compiling v3_akey.c
[290/494] Compiling v3_conf.c
[290/494] Compiling v3_bcons.c
[294/494] Compiling v3_alt.c
[295/494] Compiling i2d_pr.c
[296/494] Compiling name_print.c
[297/494] Compiling t_crl.c
[298/494] Compiling t_req.c
[299/494] Compiling by_file.c
[300/494] Compiling rsa_pss.c
[301/494] Compiling policy.c
[302/494] Compiling t_x509.c
[303/494] Compiling by_dir.c
[304/494] Compiling algorithm.c
[305/494] Compiling asn1_gen.c
[306/494] Compiling voprf.c
[307/494] Compiling a_verify.c
[308/494] Compiling a_sign.c
[309/494] Compiling thread_win.c
[310/494] Compiling thread_none.c
[311/494] Compiling thread_pthread.c
[311/494] Compiling trust_token.c
[313/494] Compiling a_digest.c
[314/494] Compiling thread.c
[315/494] Compiling spx_wots.c
[316/494] Compiling spx_util.c
[317/494] Compiling pmbtoken.c
[318/494] Compiling spx_merkle.c
[319/494] Compiling spx_thash.c
[320/494] Compiling stack.c
[321/494] Compiling spx_fors.c
[322/494] Compiling spx.c
[323/494] Compiling spx_address.c
[324/494] Compiling thash.c
[325/494] Compiling wots.c
[326/494] Compiling sha256.c
[327/494] Compiling fors.c
[327/494] Compiling siphash.c
[329/494] Compiling merkle.c
[330/494] Compiling slhdsa.c
[331/494] Compiling sha512.c
[332/494] Compiling sha1.c
[333/494] Compiling rsa_extra.c
[334/494] Compiling rsa_print.c
[335/494] Compiling rc4.c
[336/494] Compiling refcount.c
[337/494] Compiling trusty.c
[338/494] Compiling windows.c
[339/494] Compiling rsa_asn1.c
[339/494] Compiling rsa_crypt.c
[340/494] Compiling rand_extra.c
[342/494] Compiling ios.c
[343/494] Compiling getentropy.c
[344/494] Compiling urandom.c
[345/494] Compiling passive.c
[346/494] Compiling deterministic.c
[347/494] Compiling fork_detect.c
[347/494] Compiling forkunsafe.c
[349/494] Compiling poly1305_arm_asm.S
[350/494] Compiling poly1305_arm.c
[351/494] Compiling pool.c
[352/494] Compiling poly1305.c
[353/494] Compiling pkcs7.c
[354/494] Compiling poly1305_vec.c
[355/494] Compiling p5_pbev2.c
[356/494] Compiling pkcs8.c
[357/494] Compiling pkcs7_x509.c
[358/494] Compiling pkcs8_x509.c
[359/494] Compiling pem_x509.c
[360/494] Compiling pem_xaux.c
[361/494] Compiling pem_pk8.c
[362/494] Compiling pem_pkey.c
[363/494] Compiling obj_xref.c
[364/494] Compiling pem_oth.c
[365/494] Compiling pem_info.c
[366/494] Compiling mem.c
[367/494] Compiling pem_lib.c
[368/494] Compiling md5.c
[369/494] Compiling mldsa.c
[370/494] Compiling pem_all.c
[371/494] Compiling md4.c
[372/494] Compiling obj.c
[373/494] Compiling lhash.c
[374/494] Compiling fips_shared_support.c
[375/494] Compiling keccak.c
[376/494] Compiling kyber.c
[377/494] Compiling poly_rq_mul.S
[378/494] Compiling ex_data.c
[379/494] Compiling sign.c
[380/494] Compiling hpke.c
[381/494] Compiling mlkem.cc
[382/494] Compiling scrypt.c
[383/494] Compiling hrss.c
[384/494] Compiling pbkdf.c
[385/494] Compiling p_x25519.c
[386/494] Compiling p_x25519_asn1.c
[387/494] Compiling print.c
[388/494] Compiling p_rsa_asn1.c
[389/494] Compiling p_ed25519.c
[390/494] Compiling p_hkdf.c
[391/494] Compiling p_ed25519_asn1.c
[392/494] Compiling p_rsa.c
[393/494] Compiling p_ec_asn1.c
[394/494] Compiling p_ec.c
[395/494] Compiling p_dsa_asn1.c
[396/494] Compiling p_dh_asn1.c
[397/494] Compiling p_dh.c
[398/494] Compiling evp_ctx.c
[399/494] Compiling evp_asn1.c
[400/494] Compiling engine.c
[401/494] Compiling evp.c
[402/494] Compiling ecdh_extra.c
[403/494] Compiling err.c
[403/494] Compiling ecdsa_asn1.c
[405/494] Compiling ec_derive.c
[406/494] Compiling hash_to_curve.c
[407/494] Compiling dsa_asn1.c
[408/494] Compiling ec_asn1.c
[409/494] Compiling dilithium.c
[410/494] Compiling dsa.c
[410/494] Compiling digest_extra.c
[412/494] Compiling params.c
[413/494] Compiling dh_asn1.c
[414/494] Compiling x25519-asm-arm.S
[415/494] Compiling spake25519.c
[416/494] Compiling cpu_intel.c
[417/494] Compiling des.c
[418/494] Compiling cpu_arm_freebsd.c
[419/494] Compiling cpu_arm_linux.c
[420/494] Compiling crypto.c
[421/494] Compiling cpu_aarch64_win.c
[422/494] Compiling cpu_aarch64_openbsd.c
[423/494] Compiling cpu_aarch64_sysreg.c
[424/494] Compiling cpu_aarch64_apple.c
[425/494] Compiling cpu_aarch64_linux.c
[426/494] Compiling curve25519.c
[427/494] Compiling cpu_aarch64_fuchsia.c
[428/494] Compiling conf.c
[429/494] Compiling tls_cbc.c
[430/494] Compiling e_rc4.c
[431/494] Compiling e_tls.c
[432/494] Compiling e_null.c
[433/494] Compiling e_rc2.c
[434/494] Compiling e_des.c
[435/494] Compiling e_chacha20poly1305.c
[436/494] Compiling e_aesctrhmac.c
[437/494] Compiling e_aesgcmsiv.c
[438/494] Compiling curve25519_64_adx.c
[439/494] Compiling derive_key.c
[440/494] Compiling cipher_extra.c
[441/494] Compiling chacha.c
[442/494] Compiling unicode.c
[443/494] Compiling ber.c
[444/494] Compiling asn1_compat.c
[445/494] Compiling cbb.c
[446/494] Compiling convert.c
[447/494] Compiling bn_asn1.c
[448/494] Compiling cbs.c
[449/494] Compiling buf.c
[450/494] Compiling blake2.c
[451/494] Compiling socket.c
[452/494] Compiling socket_helper.c
[453/494] Compiling printf.c
[454/494] Compiling hexdump.c
[455/494] Compiling errno.c
[456/494] Compiling fd.c
[457/494] Compiling pair.c
[458/494] Compiling connect.c
[459/494] Compiling bio_mem.c
[460/494] Compiling file.c
[461/494] Compiling base64.c
[462/494] Compiling bio.c
[463/494] Compiling tasn_fre.c
[464/494] Compiling tasn_utl.c
[465/494] Compiling tasn_new.c
[465/494] Compiling tasn_typ.c
[467/494] Compiling tasn_enc.c
[468/494] Compiling f_string.c
[469/494] Compiling tasn_dec.c
[470/494] Compiling posix_time.c
[471/494] Compiling f_int.c
[472/494] Compiling asn_pack.c
[473/494] Compiling asn1_par.c
[474/494] Compiling a_utctm.c
[475/494] Compiling a_time.c
[476/494] Compiling a_type.c
[477/494] Compiling asn1_lib.c
[478/494] Compiling a_octet.c
[478/494] Compiling a_strnid.c
[480/494] Compiling a_strex.c
[481/494] Compiling a_i2d_fp.c
[482/494] Compiling a_object.c
[483/494] Compiling a_mbstr.c
[484/494] Compiling bcm.c
[485/494] Compiling a_dup.c
[485/494] Compiling a_gentm.c
[486/494] Write sources
[488/494] Compiling a_int.c
[489/494] Compiling a_d2i_fp.c
[490/494] Compiling a_bool.c
[491/494] Compiling a_bitstr.c
[493/513] Compiling Atomics UnsafeAtomic.swift
[494/513] Compiling Atomics UnsafeAtomicLazyReference.swift
[495/515] Compiling Atomics OptionalRawRepresentable.swift
[496/515] Compiling Atomics RawRepresentable.swift
[497/515] Compiling Atomics AtomicBool.swift
[498/515] Compiling Atomics IntegerOperations.swift
[499/515] Compiling Atomics Unmanaged extensions.swift
[499/515] Compiling c-nioatomics.c
[500/515] Compiling c-atomics.c
[502/521] Compiling Atomics AtomicMemoryOrderings.swift
[503/521] Compiling Atomics DoubleWord.swift
[504/521] Compiling Atomics Primitives.shims.swift
[505/521] Compiling Atomics AtomicInteger.swift
[506/521] Compiling Atomics AtomicOptionalWrappable.swift
[507/521] Compiling Atomics ManagedAtomic.swift
[508/521] Compiling Atomics ManagedAtomicLazyReference.swift
[509/521] Compiling Atomics AtomicReference.swift
[510/521] Compiling Atomics AtomicStorage.swift
[511/521] Compiling Atomics AtomicValue.swift
[512/521] Compiling Atomics IntegerConformances.swift
[513/521] Compiling Atomics PointerConformances.swift
[514/521] Compiling Atomics Primitives.native.swift
[515/521] Emitting module Atomics
[517/522] Compiling NIOConcurrencyHelpers lock.swift
[518/522] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[519/522] Emitting module NIOConcurrencyHelpers
[520/522] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[521/522] Compiling NIOConcurrencyHelpers atomics.swift
[522/522] Compiling NIOConcurrencyHelpers NIOLock.swift
[524/583] Compiling NIOCore MulticastChannel.swift
[525/583] Compiling NIOCore NIOAny.swift
[526/583] Compiling NIOCore NIOCloseOnErrorHandler.swift
[527/583] Compiling NIOCore NIOLoopBound.swift
[528/583] Compiling NIOCore NIOScheduledCallback.swift
[529/583] Compiling NIOCore NIOSendable.swift
[530/583] Compiling NIOCore PointerHelpers.swift
[531/583] Compiling NIOCore RecvByteBufferAllocator.swift
[532/583] Compiling NIOCore IO.swift
[533/583] Compiling NIOCore IOData.swift
[534/583] Compiling NIOCore IPProtocol.swift
[535/583] Compiling NIOCore IntegerBitPacking.swift
[536/583] Compiling NIOCore IntegerTypes.swift
[537/583] Compiling NIOCore Interfaces.swift
[538/583] Compiling NIOCore Linux.swift
[539/583] Compiling NIOCore MarkedCircularBuffer.swift
[540/591] Compiling NIOCore CircularBuffer.swift
[541/591] Compiling NIOCore Codec.swift
[542/591] Compiling NIOCore ConvenienceOptionSupport.swift
[543/591] Compiling NIOCore DeadChannel.swift
[544/591] Compiling NIOCore DispatchQueue+WithFuture.swift
[545/591] Compiling NIOCore EventLoop+Deprecated.swift
[546/591] Compiling NIOCore EventLoop+SerialExecutor.swift
[547/591] Compiling NIOCore EventLoop.swift
[548/591] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[549/591] Compiling NIOCore SocketAddresses.swift
[550/591] Compiling NIOCore SocketOptionProvider.swift
[551/591] Compiling NIOCore SystemCallHelpers.swift
[552/591] Compiling NIOCore TimeAmount+Duration.swift
[553/591] Compiling NIOCore TypeAssistedChannelHandler.swift
[554/591] Compiling NIOCore UniversalBootstrapSupport.swift
[555/591] Compiling NIOCore Utilities.swift
[556/591] Compiling NIOCore AddressedEnvelope.swift
[557/591] Compiling NIOCore AsyncAwaitSupport.swift
[558/591] Compiling NIOCore AsyncChannel.swift
[559/591] Compiling NIOCore AsyncChannelHandler.swift
[560/591] Compiling NIOCore AsyncChannelInboundStream.swift
[561/591] Compiling NIOCore AsyncChannelOutboundWriter.swift
[562/591] Compiling NIOCore NIOAsyncSequenceProducer.swift
[563/591] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[564/591] Compiling NIOCore NIOAsyncWriter.swift
[565/591] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[566/591] Compiling NIOCore BSDSocketAPI.swift
[567/591] Compiling NIOCore ByteBuffer-aux.swift
[568/591] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[569/591] Compiling NIOCore ByteBuffer-conversions.swift
[570/591] Compiling NIOCore ByteBuffer-core.swift
[571/591] Compiling NIOCore ByteBuffer-hex.swift
[572/591] Compiling NIOCore ByteBuffer-int.swift
[573/591] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[574/591] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[575/591] Compiling NIOCore EventLoopFuture+Deprecated.swift
[576/591] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[577/591] Compiling NIOCore EventLoopFuture.swift
[578/591] Compiling NIOCore FileDescriptor.swift
[579/591] Compiling NIOCore FileHandle.swift
[580/591] Compiling NIOCore FileRegion.swift
[581/591] Compiling NIOCore GlobalSingletons.swift
[582/591] Compiling NIOCore ByteBuffer-multi-int.swift
[583/591] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[584/591] Compiling NIOCore ByteBuffer-views.swift
[585/591] Compiling NIOCore Channel.swift
[586/591] Compiling NIOCore ChannelHandler.swift
[587/591] Compiling NIOCore ChannelHandlers.swift
[588/591] Compiling NIOCore ChannelInvoker.swift
[589/591] Compiling NIOCore ChannelOption.swift
[590/591] Compiling NIOCore ChannelPipeline.swift
[591/591] Emitting module NIOCore
[593/644] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[594/644] Emitting module NIOEmbedded
[595/644] Compiling NIOEmbedded AsyncTestingChannel.swift
[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 ThreadPosix.swift
[613/651] Compiling NIOPosix ThreadWindows.swift
[614/651] Compiling NIOPosix UnsafeTransfer.swift
[615/651] Compiling NIOPosix Utilities.swift
[616/651] Compiling NIOPosix VsockAddress.swift
[617/651] Compiling NIOPosix VsockChannelEvents.swift
[618/651] Compiling NIOPosix Pool.swift
[619/651] Compiling NIOPosix PooledRecvBufferAllocator.swift
[620/651] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[621/651] Compiling NIOPosix PosixSingletons.swift
[622/651] Compiling NIOPosix RawSocketBootstrap.swift
[623/651] Compiling NIOPosix Resolver.swift
[624/651] Compiling NIOPosix Selectable.swift
[625/651] Compiling NIOPosix NIOThreadPool.swift
[626/651] Compiling NIOPosix NonBlockingFileIO.swift
[627/651] Compiling NIOPosix PendingDatagramWritesManager.swift
[628/651] Compiling NIOPosix PendingWritesManager.swift
[629/651] Compiling NIOPosix PipeChannel.swift
[630/651] Compiling NIOPosix PipePair.swift
[631/651] Compiling NIOPosix PointerHelpers.swift
[632/651] Compiling NIOPosix Bootstrap.swift
[633/651] Compiling NIOPosix ControlMessage.swift
[634/651] Compiling NIOPosix DatagramVectorReadManager.swift
[635/651] Compiling NIOPosix Errors+Any.swift
[636/651] Compiling NIOPosix FileDescriptor.swift
[637/651] Compiling NIOPosix GetaddrinfoResolver.swift
[638/651] Compiling NIOPosix HappyEyeballs.swift
[639/651] Compiling NIOPosix IO.swift
[640/651] Compiling NIOPosix IntegerBitPacking.swift
[641/651] Compiling NIOPosix IntegerTypes.swift
[642/651] Compiling NIOPosix Linux.swift
[643/651] Compiling NIOPosix LinuxCPUSet.swift
[644/651] Compiling NIOPosix LinuxUring.swift
[645/651] Compiling NIOPosix MultiThreadedEventLoopGroup.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] Compiling NIO Exports.swift
[654/654] Emitting module NIO
[656/681] Compiling NIOTLS TLSEvents.swift
[657/681] Emitting module NIOTLS
[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 NIOTypedHTTPClientUpgradeHandler.swift
[664/682] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[665/684] Emitting module NIOHTTP1
[666/712] Compiling NIOSSL NIOSSLHandler.swift
[667/712] Compiling NIOSSL NIOSSLServerHandler.swift
[668/712] Compiling NIOSSL ObjectIdentifier.swift
[669/712] Compiling NIOSSL PosixPort.swift
[670/712] Compiling NIOSSL NIOSSLClientHandler.swift
[671/712] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[672/712] Compiling NIOSSL SSLCertificateExtensions.swift
[673/712] Compiling NIOSSL SSLConnection.swift
[674/712] Compiling NIOSSL SSLCallbacks.swift
[675/712] Compiling NIOSSL SSLCertificate.swift
[676/712] Compiling NIOSSL AndroidCABundle.swift
[677/712] Compiling NIOSSL ByteBufferBIO.swift
[678/712] Compiling NIOSSL CustomPrivateKey.swift
[679/712] Compiling NIOSSL SSLContext.swift
[680/712] Compiling NIOSSL SSLErrors.swift
[682/723] Compiling NIOWebSocket WebSocketErrorCodes.swift
[683/724] Compiling NIOWebSocket WebSocketOpcode.swift
[684/724] Compiling NIOSSL NIOSSLSecureBytes.swift
[685/724] Compiling NIOSSL RNG.swift
[686/724] Compiling NIOSSL SafeCompare.swift
[687/724] Compiling NIOSSL SSLPublicKey.swift
[688/724] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[689/724] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[690/724] Compiling NIOSSL SubjectAlternativeName.swift
[691/727] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[692/727] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[693/727] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[694/727] Compiling NIOWebSocket SHA1.swift
[696/727] Compiling NIOSSL SSLInit.swift
[697/727] Compiling NIOSSL SSLPKCS12Bundle.swift
[698/727] Compiling NIOSSL SSLPrivateKey.swift
[699/727] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[700/727] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[701/727] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[702/727] Compiling NIOSSL LinuxCABundle.swift
[706/727] Emitting module NIOWebSocket
[709/727] Emitting module NIOSSL
[710/727] Compiling NIOWebSocket WebSocketFrame.swift
[714/728] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[715/728] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[716/728] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[717/728] Emitting module NIOFoundationCompat
[719/729] Compiling NIOSSL Zeroization.swift
[720/729] Compiling NIOSSL TLSConfiguration.swift
[721/729] Compiling NIOSSL UniversalBootstrapSupport.swift
[722/751] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[723/751] Compiling NIOTransportServices NIOTSSingletons.swift
[724/751] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[725/753] Emitting module NIOTransportServices
[726/753] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[727/753] Compiling NIOTransportServices NIOTSErrors.swift
[728/753] Compiling NIOTransportServices NIOTSEventLoop.swift
[729/753] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[730/753] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[731/753] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[732/753] Compiling NIOTransportServices NIOTSListenerChannel.swift
[736/753] Compiling NIOTransportServices StateManagedChannel.swift
[737/754] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[738/754] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[743/754] Compiling NIOTransportServices AcceptHandler.swift
[744/754] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[745/754] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[747/754] Compiling NIOTransportServices StateManagedListenerChannel.swift
[748/754] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[749/754] Compiling NIOTransportServices NIOTSDatagramListener.swift
[750/754] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[752/754] Compiling NIOTransportServices NIOTSBootstraps.swift
[753/754] Compiling NIOTransportServices NIOTSChannelOptions.swift
[754/754] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[756/777] Compiling MQTTNIO MQTTClient+async.swift
[757/777] Compiling MQTTNIO MQTTClientV5+async.swift
[758/777] Compiling MQTTNIO Sendable.swift
[759/777] Emitting module MQTTNIO
[760/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
[761/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
[762/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
[763/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>
[764/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>
[765/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>
[766/780] Compiling MQTTNIO MQTTSerializer.swift
[767/780] Compiling MQTTNIO MQTTTask.swift
[768/780] Compiling MQTTNIO TSTLSConfiguration.swift
[769/780] Compiling MQTTNIO MQTTConnection.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:40:100: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 38 |         let taskHandler = MQTTTaskHandler(client: client)
 39 |         return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
 40 |             .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
 41 |     }
 42 |
/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:56:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |                     let handlers: [ChannelHandler] = [
 55 |                         MQTTMessageHandler(client, pingInterval: pingInterval),
 56 |                         taskHandler,
    |                         `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |                     ]
 58 |                     // 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:175: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
173 |             let future = channel.pipeline.addHandler(WebSocketHandler())
174 |                 .flatMap { _ in
175 |                     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'
176 |                 }
177 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:175: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
173 |             let future = channel.pipeline.addHandler(WebSocketHandler())
174 |                 .flatMap { _ in
175 |                     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'
176 |                 }
177 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:184:48: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
182 |             upgraders: [websocketUpgrader],
183 |             completionHandler: { _ in
184 |                 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
185 |             }
186 |         )
/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:190:41: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
188 |         // add HTTP handler with web socket upgrade
189 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
190 |             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
191 |         }
192 |     }
/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:211:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | import NIOWebSocket
 25 |
 26 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 27 |     let channel: Channel
 28 |     let timeout: TimeAmount?
    :
209 |         self.taskHandler.addTask(task)
210 |             .flatMap {
211 |                 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
212 |             }
213 |             .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:214:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
212 |             }
213 |             .whenFailure { error in
214 |                 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
215 |             }
216 |         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
[770/780] Compiling MQTTNIO MQTTCoreTypes.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:40:100: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 38 |         let taskHandler = MQTTTaskHandler(client: client)
 39 |         return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
 40 |             .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
 41 |     }
 42 |
/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:56:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |                     let handlers: [ChannelHandler] = [
 55 |                         MQTTMessageHandler(client, pingInterval: pingInterval),
 56 |                         taskHandler,
    |                         `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |                     ]
 58 |                     // 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:175: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
173 |             let future = channel.pipeline.addHandler(WebSocketHandler())
174 |                 .flatMap { _ in
175 |                     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'
176 |                 }
177 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:175: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
173 |             let future = channel.pipeline.addHandler(WebSocketHandler())
174 |                 .flatMap { _ in
175 |                     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'
176 |                 }
177 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:184:48: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
182 |             upgraders: [websocketUpgrader],
183 |             completionHandler: { _ in
184 |                 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
185 |             }
186 |         )
/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:190:41: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
188 |         // add HTTP handler with web socket upgrade
189 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
190 |             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
191 |         }
192 |     }
/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:211:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | import NIOWebSocket
 25 |
 26 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 27 |     let channel: Channel
 28 |     let timeout: TimeAmount?
    :
209 |         self.taskHandler.addTask(task)
210 |             .flatMap {
211 |                 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
212 |             }
213 |             .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:214:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
212 |             }
213 |             .whenFailure { error in
214 |                 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
215 |             }
216 |         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
[771/780] Compiling MQTTNIO MQTTCoreTypesV5.swift
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:40:100: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 38 |         let taskHandler = MQTTTaskHandler(client: client)
 39 |         return self.createBootstrap(client: client, pingInterval: pingInterval, taskHandler: taskHandler)
 40 |             .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
 41 |     }
 42 |
/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:56:25: warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |                     let handlers: [ChannelHandler] = [
 55 |                         MQTTMessageHandler(client, pingInterval: pingInterval),
 56 |                         taskHandler,
    |                         `- warning: capture of 'taskHandler' with non-sendable type 'MQTTTaskHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |                     ]
 58 |                     // 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:175: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
173 |             let future = channel.pipeline.addHandler(WebSocketHandler())
174 |                 .flatMap { _ in
175 |                     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'
176 |                 }
177 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:175: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
173 |             let future = channel.pipeline.addHandler(WebSocketHandler())
174 |                 .flatMap { _ in
175 |                     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'
176 |                 }
177 |             future.cascade(to: promise)
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:184:48: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
182 |             upgraders: [websocketUpgrader],
183 |             completionHandler: { _ in
184 |                 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
185 |             }
186 |         )
/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:190:41: warning: capture of 'httpHandler' with non-sendable type 'WebSocketInitialRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
188 |         // add HTTP handler with web socket upgrade
189 |         return channel.pipeline.addHTTPClientHandlers(withClientUpgrade: config).flatMap {
190 |             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
191 |         }
192 |     }
/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:211:17: warning: capture of 'self' with non-sendable type 'MQTTConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | import NIOWebSocket
 25 |
 26 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 27 |     let channel: Channel
 28 |     let timeout: TimeAmount?
    :
209 |         self.taskHandler.addTask(task)
210 |             .flatMap {
211 |                 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
212 |             }
213 |             .whenFailure { error in
/host/spi-builder-workspace/Sources/MQTTNIO/MQTTConnection.swift:214:17: warning: capture of 'task' with non-sendable type 'MQTTTask' in a `@Sendable` closure; this is an error in the Swift 6 language mode
212 |             }
213 |             .whenFailure { error in
214 |                 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
215 |             }
216 |         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
[772/780] Compiling MQTTNIO MQTTPacket.swift
[773/780] Compiling MQTTNIO MQTTProperties.swift
[774/780] Compiling MQTTNIO MQTTReason.swift
[775/780] Compiling MQTTNIO MQTTError.swift
[776/780] Compiling MQTTNIO MQTTInflight.swift
[777/780] Compiling MQTTNIO MQTTListeners.swift
[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:26:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 24 | import NIOWebSocket
 25 |
 26 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 27 |     let channel: Channel
 28 |     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:26:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 24 | import NIOWebSocket
 25 |
 26 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 27 |     let channel: Channel
 28 |     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:26:13: note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 24 | import NIOWebSocket
 25 |
 26 | final class MQTTConnection {
    |             `- note: class 'MQTTConnection' does not conform to the 'Sendable' protocol
 27 |     let channel: Channel
 28 |     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! (97.12s)
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.