This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 async-http-client with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iainsmith/async-http-client.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iainsmith/async-http-client
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3950c95 Remove redundant path manipulation related to trailing slashes. See - efe6b5b6f626723d980a0ce72a4cf081b149f0ea
Cloned https://github.com/iainsmith/async-http-client.git
Revision (git rev-parse @):
3950c9598d4edd2d6fe8c8222a4825760c281754
SUCCESS checkout https://github.com/iainsmith/async-http-client.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/iainsmith/async-http-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/473] Write sources
[12/473] Copying PrivacyInfo.xcprivacy
[15/473] Compiling CNIOWindows WSAStartup.c
[15/473] Compiling CNIOWindows shim.c
[17/473] Compiling CNIOExtrasZlib empty.c
[18/473] Compiling CNIOLinux shim.c
[19/473] Compiling CNIOLinux liburing_shims.c
[20/473] Write swift-version-6F35C1178C84523A.txt
[21/473] Compiling fiat_p256_adx_sqr.S
[22/473] Compiling fiat_curve25519_adx_square.S
[23/473] Compiling fiat_p256_adx_mul.S
[24/473] Compiling fiat_curve25519_adx_mul.S
[25/497] Compiling _AtomicsShims.c
[26/497] Compiling CNIOLLHTTP c_nio_http.c
[26/497] Compiling CNIODarwin shim.c
[28/497] Compiling CNIOLLHTTP c_nio_llhttp.c
[29/497] Compiling CNIOBoringSSLShims shims.c
[30/497] Compiling CNIOLLHTTP c_nio_api.c
[31/497] Compiling tls_record.cc
[32/497] Compiling tls_method.cc
[33/497] Compiling tls13_enc.cc
[34/497] Compiling tls13_server.cc
[35/497] Compiling t1_enc.cc
[36/497] Compiling tls13_both.cc
[37/497] Compiling tls13_client.cc
[38/497] Compiling ssl_versions.cc
[39/497] Compiling ssl_transcript.cc
[40/497] Compiling ssl_stat.cc
[41/497] Compiling ssl_x509.cc
[42/497] Compiling ssl_privkey.cc
[43/497] Compiling ssl_session.cc
[44/497] Compiling ssl_lib.cc
[45/497] Compiling ssl_file.cc
[46/497] Compiling ssl_key_share.cc
[47/497] Compiling ssl_cipher.cc
[48/497] Compiling ssl_cert.cc
[49/497] Compiling ssl_buffer.cc
[50/497] Compiling ssl_asn1.cc
[51/497] Compiling ssl_aead_ctx.cc
[52/497] Compiling s3_pkt.cc
[53/497] Compiling s3_lib.cc
[54/497] Compiling s3_both.cc
[55/497] Compiling handshake_client.cc
[56/497] Compiling handshake_server.cc
[57/497] Compiling handshake.cc
[58/497] Compiling handoff.cc
[59/497] Compiling dtls_record.cc
[60/497] Compiling encrypted_client_hello.cc
[61/497] Compiling extensions.cc
[62/497] Compiling dtls_method.cc
[63/497] Compiling d1_srtp.cc
[64/497] Compiling d1_pkt.cc
[65/497] Compiling bio_ssl.cc
[66/497] Compiling d1_lib.cc
[67/497] Compiling d1_both.cc
[68/497] Compiling v3_utl.c
[69/497] Compiling v3_pmaps.c
[70/497] Compiling v3_pcons.c
[71/497] Compiling v3_prn.c
[72/497] Compiling v3_skey.c
[73/497] Compiling v3_ocsp.c
[74/497] Compiling v3_ncons.c
[75/497] Compiling v3_lib.c
[76/497] Compiling v3_int.c
[77/497] Compiling v3_info.c
[78/497] Compiling v3_ia5.c
[79/497] Compiling v3_purp.c
[80/497] Compiling v3_genn.c
[81/497] Compiling v3_enum.c
[82/497] Compiling v3_extku.c
[83/497] Compiling v3_bitst.c
[84/497] Compiling v3_cpols.c
[85/497] Compiling v3_conf.c
[86/497] Compiling v3_crld.c
[87/497] Compiling v3_bcons.c
[88/497] Compiling v3_akeya.c
[89/497] Compiling x_val.c
[90/497] Compiling x_x509a.c
[92/497] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[93/498] Emitting module _NIOBase64
[94/498] Compiling _NIOBase64 Base64.swift
[94/498] Compiling v3_akey.c
[95/498] Compiling v3_alt.c
[96/498] Compiling x_spki.c
[98/498] Compiling _CollectionsUtilities RandomAccessCollection+Offsets.swift
[99/498] Compiling _CollectionsUtilities Specialize.swift
[99/498] Compiling x_x509.c
[100/498] Compiling x_sig.c
[102/498] Compiling _CollectionsUtilities UInt+reversed.swift
[103/498] Compiling _CollectionsUtilities _UnsafeBitSet+Index.swift
[104/498] Compiling _CollectionsUtilities _UnsafeBitSet+_Word.swift
[105/498] Compiling _CollectionsUtilities _UnsafeBitSet.swift
[106/498] Compiling _CollectionsUtilities Debugging.swift
[107/498] Compiling _CollectionsUtilities Descriptions.swift
[108/498] Compiling _CollectionsUtilities _SortedCollection.swift
[109/498] Compiling _CollectionsUtilities _UniqueCollection.swift
[109/498] Compiling x_req.c
[110/498] Compiling x_pubkey.c
[112/498] Compiling _CollectionsUtilities UnsafeRawPointer extensions.swift
[113/498] Compiling _CollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[114/498] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[115/498] Compiling _CollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[116/498] Emitting module _CollectionsUtilities
[117/498] Compiling _CollectionsUtilities Integer rank.swift
[118/498] Compiling _CollectionsUtilities UInt+first and last set bit.swift
[118/498] Compiling x_pkey.c
[119/498] Compiling x_name.c
[120/498] Compiling x_info.c
[121/498] Compiling x_exten.c
[123/498] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[123/498] Compiling x_crl.c
[124/498] Compiling x_attrib.c
[126/498] Compiling _NIODataStructures PriorityQueue.swift
[127/498] Compiling _NIODataStructures _TinyArray.swift
[128/498] Emitting module _NIODataStructures
[129/498] Compiling _NIODataStructures Heap.swift
[129/498] Compiling x_algor.c
[129/498] Compiling x509spki.c
[131/498] Compiling x509rset.c
[132/498] Compiling x_all.c
[133/498] Compiling x509name.c
[134/503] Compiling x509cset.c
[135/515] Compiling x509_vpm.c
[136/515] Compiling x509_txt.c
[137/515] Compiling x509_set.c
[138/515] Compiling x509_v3.c
[139/515] Compiling x509_trs.c
[140/515] Compiling x509_req.c
[141/515] Compiling x509_vfy.c
[142/515] Compiling x509_obj.c
[143/515] Compiling x509_def.c
[144/515] Compiling x509_d2.c
[145/515] Compiling x509_ext.c
[147/515] Compiling DequeModule Deque.swift
[148/515] Compiling DequeModule _DequeBuffer.swift
[149/515] Compiling DequeModule _DequeBufferHeader.swift
[150/515] Compiling DequeModule _DequeSlot.swift
[150/516] Compiling x509_lu.c
[151/516] Compiling x509_att.c
[152/516] Compiling x509.c
[153/516] Compiling t_x509a.c
[154/516] Compiling x509_cmp.c
[156/516] Compiling DequeModule Deque+Sendable.swift
[157/516] Compiling DequeModule Deque+Testing.swift
[157/516] Compiling i2d_pr.c
[158/516] Compiling t_x509.c
[160/516] Compiling DequeModule Deque+Extras.swift
[161/516] Compiling DequeModule Deque+Hashable.swift
[162/516] Compiling DequeModule Deque+Equatable.swift
[163/516] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[163/516] Compiling rsa_pss.c
[164/516] Compiling t_crl.c
[165/516] Compiling name_print.c
[166/516] Compiling t_req.c
[167/516] Compiling by_file.c
[168/516] Compiling by_dir.c
[169/516] Compiling algorithm.c
[170/516] Compiling policy.c
[171/516] Compiling a_digest.c
[172/516] Compiling a_verify.c
[173/516] Compiling a_sign.c
[174/516] Compiling voprf.c
[175/516] Compiling thread_win.c
[176/516] Compiling trust_token.c
[177/516] Compiling asn1_gen.c
[178/516] Compiling thread_pthread.c
[179/516] Compiling thread_none.c
[180/516] Compiling thread.c
[181/516] Compiling siphash.c
[182/516] Compiling stack.c
[183/516] Compiling rsa_print.c
[184/516] Compiling pmbtoken.c
[185/516] Compiling rc4.c
[186/516] Compiling refcount.c
[187/516] Compiling windows.c
[188/516] Compiling rsa_asn1.c
[189/516] Compiling trusty.c
[190/516] Compiling rsa_crypt.c
[191/516] Compiling rand_extra.c
[193/516] Compiling DequeModule _UnsafeWrappedBuffer.swift
[193/516] Compiling passive.c
[194/516] Compiling ios.c
[195/516] Compiling getentropy.c
[196/516] Compiling forkunsafe.c
[197/516] Compiling deterministic.c
[198/516] Compiling poly1305_vec.c
[199/516] Compiling pool.c
[200/516] Compiling poly1305_arm.c
[201/516] Compiling poly1305_arm_asm.S
[202/516] Compiling poly1305.c
[203/516] Compiling pkcs7.c
[204/516] Compiling p5_pbev2.c
[205/516] Compiling pkcs8.c
[206/516] Compiling pem_x509.c
[207/516] Compiling pem_xaux.c
[208/516] Compiling pkcs7_x509.c
[209/516] Compiling pem_pkey.c
[210/516] Compiling pkcs8_x509.c
[211/516] Compiling pem_pk8.c
[212/516] Compiling pem_oth.c
[213/516] Compiling obj_xref.c
[214/516] Compiling mem.c
[215/516] Compiling lhash.c
[216/516] Compiling keccak.c
[217/516] Compiling pem_info.c
[218/516] Compiling kyber.c
[219/516] Compiling obj.c
[220/516] Compiling pem_lib.c
[221/516] Compiling poly_rq_mul.S
[222/516] Compiling pem_all.c
[223/516] Compiling x86_64-mont5-mac.mac.x86_64.S
[224/516] Compiling hpke.c
[225/516] Compiling x86_64-mont5-linux.linux.x86_64.S
[227/516] Compiling DequeModule Deque._Storage.swift
[228/516] Compiling DequeModule Deque._UnsafeHandle.swift
[228/516] Compiling x86_64-mont-mac.mac.x86_64.S
[229/516] Compiling x86_64-mont-linux.linux.x86_64.S
[230/516] Compiling x86-mont-linux.linux.x86.S
[231/516] Compiling vpaes-x86_64-mac.mac.x86_64.S
[232/516] Compiling vpaes-x86_64-linux.linux.x86_64.S
[233/516] Compiling vpaes-x86-linux.linux.x86.S
[234/516] Compiling vpaes-armv8-linux.linux.aarch64.S
[235/516] Compiling vpaes-armv7-linux.linux.arm.S
[236/516] Compiling vpaes-armv7-ios.ios.arm.S
[237/516] Compiling kdf.c
[238/516] Compiling vpaes-armv8-ios.ios.aarch64.S
[239/516] Compiling sha512-x86_64-mac.mac.x86_64.S
[240/516] Compiling sha512-x86_64-linux.linux.x86_64.S
[241/516] Compiling sha512-armv8-linux.linux.aarch64.S
[242/516] Compiling sha512-armv4-ios.ios.arm.S
[243/516] Compiling sha512-armv4-linux.linux.arm.S
[244/516] Compiling sha512-armv8-ios.ios.aarch64.S
[245/516] Compiling sha256-x86_64-mac.mac.x86_64.S
[246/516] Compiling sha512-586-linux.linux.x86.S
[247/516] Compiling hrss.c
[248/516] Compiling sha256-x86_64-linux.linux.x86_64.S
[249/516] Compiling sha256-armv8-linux.linux.aarch64.S
[250/516] Compiling sha256-armv8-ios.ios.aarch64.S
[251/516] Compiling sha256-armv4-linux.linux.arm.S
[252/516] Compiling sha256-armv4-ios.ios.arm.S
[253/516] Compiling sha256-586-linux.linux.x86.S
[254/516] Compiling sha1-x86_64-mac.mac.x86_64.S
[255/516] Compiling sha1-armv8-linux.linux.aarch64.S
[256/516] Compiling sha1-x86_64-linux.linux.x86_64.S
[257/516] Compiling sha1-armv4-large-linux.linux.arm.S
[258/516] Compiling sha1-armv8-ios.ios.aarch64.S
[259/516] Compiling sha1-armv4-large-ios.ios.arm.S
[261/516] Compiling DequeModule Deque+CustomReflectable.swift
[262/516] Compiling DequeModule Deque+Descriptions.swift
[263/516] Compiling DequeModule Deque+Codable.swift
[264/516] Compiling DequeModule Deque+Collection.swift
[265/516] Emitting module DequeModule
[265/516] Compiling sha512.c
[266/516] Compiling sha1-586-linux.linux.x86.S
[267/516] Compiling sha256.c
[268/516] Compiling sha1.c
[269/516] Compiling fips.c
[270/516] Compiling service_indicator.c
[271/516] Compiling rsaz-avx2-mac.mac.x86_64.S
[272/516] Compiling self_check.c
[273/516] Compiling rsaz-avx2-linux.linux.x86_64.S
[274/516] Compiling blinding.c
[275/516] Compiling rdrand-x86_64-mac.mac.x86_64.S
[276/516] Compiling padding.c
[277/516] Compiling urandom.c
[278/516] Compiling rdrand-x86_64-linux.linux.x86_64.S
[279/516] Compiling rand.c
[280/516] Compiling rsa_impl.c
[281/516] Compiling rsa.c
[282/516] Compiling fork_detect.c
[283/516] Compiling ctrdrbg.c
[284/516] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[285/516] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[286/516] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[287/516] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[288/516] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[289/516] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[290/516] Compiling p256-armv8-asm-linux.linux.aarch64.S
[291/516] Compiling polyval.c
[292/516] Compiling p256-armv8-asm-ios.ios.aarch64.S
[293/516] Compiling ofb.c
[294/516] Compiling gcm_nohw.c
[295/516] Compiling ctr.c
[296/516] Compiling cfb.c
[297/516] Compiling gcm.c
[298/516] Compiling cbc.c
[299/516] Compiling md5-x86_64-mac.mac.x86_64.S
[300/516] Compiling md5.c
[301/516] Compiling md5-x86_64-linux.linux.x86_64.S
[302/516] Compiling md5-586-linux.linux.x86.S
[303/516] Compiling md4.c
[304/516] Compiling hkdf.c
[305/516] Compiling hmac.c
[306/516] Compiling ghashv8-armv8-linux.linux.aarch64.S
[307/516] Compiling ghashv8-armv7-linux.linux.arm.S
[308/516] Compiling ghashv8-armv7-ios.ios.arm.S
[309/516] Compiling ghashv8-armv8-ios.ios.aarch64.S
[310/516] Compiling ghash-x86_64-mac.mac.x86_64.S
[311/516] Compiling ghash-x86_64-linux.linux.x86_64.S
[312/516] Compiling ghash-x86-linux.linux.x86.S
[313/516] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[314/516] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[315/516] Compiling ghash-ssse3-x86-linux.linux.x86.S
[315/516] Compiling fips_shared_support.c
[317/516] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[318/516] Compiling ghash-armv4-linux.linux.arm.S
[319/516] Compiling ghash-armv4-ios.ios.arm.S
[320/516] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[321/516] Compiling ecdsa.c
[322/516] Compiling ecdh.c
[323/516] Compiling wnaf.c
[324/516] Compiling util.c
[325/516] Compiling simple_mul.c
[325/516] Compiling simple.c
[327/516] Compiling scalar.c
[328/516] Compiling felem.c
[329/516] Compiling p224-64.c
[330/516] Compiling oct.c
[331/516] Compiling ec_montgomery.c
[332/516] Compiling p256.c
[333/516] Compiling ec_key.c
[334/516] Compiling digests.c
[335/516] Compiling digestsign.c
[336/516] Compiling co-586-linux.linux.x86.S
[336/516] Compiling digest.c
[338/516] Compiling ec.c
[339/516] Compiling check.c
[340/516] Compiling cmac.c
[341/516] Compiling dh.c
[342/516] Compiling e_aesccm.c
[343/516] Compiling cipher.c
[344/516] Compiling bsaes-armv7-linux.linux.arm.S
[345/516] Compiling bsaes-armv7-ios.ios.arm.S
[346/516] Compiling aead.c
[347/516] Compiling rsaz_exp.c
[348/516] Compiling sqrt.c
[349/516] Compiling shift.c
[350/516] Compiling e_aes.c
[351/516] Compiling random.c
[352/516] Compiling p256-nistz.c
[353/516] Compiling montgomery_inv.c
[354/516] Compiling jacobi.c
[355/516] Compiling prime.c
[356/516] Compiling mul.c
[357/516] Compiling montgomery.c
[358/516] Compiling gcd_extra.c
[359/516] Compiling gcd.c
[360/516] Compiling div_extra.c
[361/516] Compiling exponentiation.c
[362/516] Compiling generic.c
[363/516] Compiling x86_64-gcc.c
[364/516] Compiling div.c
[365/516] Compiling cmp.c
[366/516] Compiling bytes.c
[367/516] Compiling ctx.c
[368/516] Compiling bn.c
[369/516] Compiling add.c
[370/516] Compiling bn-armv8-linux.linux.aarch64.S
[371/516] Compiling bn-armv8-ios.ios.aarch64.S
[372/516] Compiling bn-586-linux.linux.x86.S
[373/516] Compiling armv8-mont-linux.linux.aarch64.S
[374/516] Compiling armv4-mont-ios.ios.arm.S
[375/516] Compiling armv4-mont-linux.linux.arm.S
[376/516] Compiling aesv8-gcm-armv8-linux.linux.aarch64.S
[377/516] Compiling armv8-mont-ios.ios.aarch64.S
[378/516] Compiling aesv8-armv8-linux.linux.aarch64.S
[379/516] Compiling aesv8-gcm-armv8-ios.ios.aarch64.S
[380/516] Compiling aesv8-armv8-ios.ios.aarch64.S
[381/516] Compiling aesv8-armv7-linux.linux.arm.S
[382/516] Compiling aesv8-armv7-ios.ios.arm.S
[383/516] Compiling aesni-x86_64-mac.mac.x86_64.S
[384/516] Compiling aesni-x86_64-linux.linux.x86_64.S
[385/516] Compiling aesni-x86-linux.linux.x86.S
[386/516] Compiling mode_wrappers.c
[387/516] Compiling aesni-gcm-x86_64-mac.mac.x86_64.S
[388/516] Compiling aesni-gcm-x86_64-linux.linux.x86_64.S
[389/516] Compiling key_wrap.c
[390/516] Compiling aes.c
[391/516] Compiling ex_data.c
[392/516] Compiling aes_nohw.c
[393/516] Compiling sign.c
[394/516] Compiling pbkdf.c
[395/516] Compiling scrypt.c
[395/516] Compiling p_x25519.c
[397/516] Compiling p_x25519_asn1.c
[398/516] Compiling p_rsa_asn1.c
[399/516] Compiling print.c
[400/516] Compiling p_hkdf.c
[401/516] Compiling p_rsa.c
[402/516] Compiling p_ed25519.c
[403/516] Compiling p_ed25519_asn1.c
[404/516] Compiling p_ec_asn1.c
[405/516] Compiling p_ec.c
[405/516] Compiling err_data.c
[407/516] Compiling p_dsa_asn1.c
[408/516] Compiling evp_ctx.c
[409/516] Compiling evp_asn1.c
[410/516] Compiling engine.c
[411/516] Compiling evp.c
[412/516] Compiling err.c
[413/516] Compiling ecdsa_asn1.c
[414/516] Compiling ecdh_extra.c
[415/516] Compiling ec_derive.c
[416/516] Compiling dsa_asn1.c
[417/516] Compiling hash_to_curve.c
[418/516] Compiling ec_asn1.c
[419/516] Compiling dh_asn1.c
[420/516] Compiling params.c
[421/516] Compiling digest_extra.c
[422/516] Compiling dsa.c
[423/516] Compiling curve25519_64_adx.c
[424/516] Compiling spake25519.c
[425/516] Compiling des.c
[426/516] Compiling cpu_intel.c
[427/516] Compiling crypto.c
[428/516] Compiling x25519-asm-arm.S
[429/516] Compiling cpu_arm_linux.c
[430/516] Compiling cpu_arm_freebsd.c
[431/516] Compiling cpu_aarch64_win.c
[432/516] Compiling cpu_aarch64_sysreg.c
[433/516] Compiling cpu_aarch64_openbsd.c
[434/516] Compiling cpu_aarch64_linux.c
[435/516] Compiling cpu_aarch64_fuchsia.c
[436/516] Compiling cpu_aarch64_apple.c
[437/516] Compiling e_rc4.c
[438/516] Compiling curve25519.c
[439/516] Compiling tls_cbc.c
[440/516] Compiling conf.c
[441/516] Compiling e_tls.c
[442/516] Compiling e_null.c
[443/516] Compiling e_rc2.c
[444/516] Compiling e_des.c
[445/516] Compiling e_aesgcmsiv.c
[446/516] Compiling e_chacha20poly1305.c
[447/516] Compiling derive_key.c
[448/516] Compiling e_aesctrhmac.c
[449/516] Compiling cipher_extra.c
[450/516] Compiling chacha20_poly1305_x86_64-mac.mac.x86_64.S
[451/516] Compiling chacha20_poly1305_x86_64-linux.linux.x86_64.S
[452/516] Compiling chacha20_poly1305_armv8-linux.linux.aarch64.S
[453/516] Compiling chacha20_poly1305_armv8-ios.ios.aarch64.S
[454/516] Compiling chacha.c
[455/516] Compiling aes128gcmsiv-x86_64-mac.mac.x86_64.S
[456/516] Compiling aes128gcmsiv-x86_64-linux.linux.x86_64.S
[457/516] Compiling chacha-x86_64-mac.mac.x86_64.S
[458/516] Compiling chacha-x86_64-linux.linux.x86_64.S
[459/516] Compiling chacha-x86-linux.linux.x86.S
[460/516] Compiling chacha-armv8-linux.linux.aarch64.S
[461/516] Compiling chacha-armv4-linux.linux.arm.S
[462/516] Compiling unicode.c
[463/516] Compiling chacha-armv8-ios.ios.aarch64.S
[464/516] Compiling chacha-armv4-ios.ios.arm.S
[465/516] Compiling ber.c
[466/516] Compiling cbb.c
[467/516] Compiling asn1_compat.c
[468/516] Compiling buf.c
[469/516] Compiling cbs.c
[470/516] Compiling bn_asn1.c
[471/516] Compiling convert.c
[472/516] Compiling socket.c
[473/516] Compiling blake2.c
[473/516] Compiling socket_helper.c
[475/516] Compiling printf.c
[476/516] Compiling pair.c
[477/516] Compiling errno.c
[478/516] Compiling hexdump.c
[479/516] Compiling fd.c
[480/516] Compiling file.c
[481/516] Compiling connect.c
[482/516] Compiling bio_mem.c
[483/516] Compiling base64.c
[484/516] Compiling bio.c
[485/516] Compiling tasn_utl.c
[486/516] Compiling tasn_fre.c
[487/516] Compiling tasn_typ.c
[488/516] Compiling tasn_new.c
[489/516] Compiling posix_time.c
[490/516] Compiling tasn_enc.c
[491/516] Compiling tasn_dec.c
[492/516] Compiling f_string.c
[493/516] Compiling f_int.c
[494/516] Compiling asn_pack.c
[495/516] Compiling asn1_par.c
[496/516] Compiling asn1_lib.c
[497/516] Compiling a_utctm.c
[498/516] Compiling a_type.c
[499/516] Compiling a_time.c
[500/516] Compiling a_octet.c
[501/516] Compiling a_strnid.c
[502/516] Compiling a_strex.c
[503/516] Compiling a_object.c
[504/516] Compiling a_mbstr.c
[505/516] Write sources
[507/516] Compiling a_int.c
[508/516] Compiling a_i2d_fp.c
[509/516] Compiling a_gentm.c
[510/516] Compiling a_dup.c
[511/516] Compiling a_d2i_fp.c
[512/516] Compiling a_bool.c
[513/516] Compiling a_bitstr.c
[515/535] Compiling Atomics ManagedAtomic.swift
[516/535] Compiling Atomics ManagedAtomicLazyReference.swift
[517/535] Compiling Atomics AtomicMemoryOrderings.swift
[518/535] Compiling Atomics DoubleWord.swift
[519/535] Compiling Atomics AtomicStorage.swift
[520/535] Compiling Atomics AtomicValue.swift
[521/535] Compiling Atomics UnsafeAtomic.swift
[522/535] Compiling Atomics UnsafeAtomicLazyReference.swift
[522/537] Compiling c-nioatomics.c
[524/537] Compiling Atomics AtomicOptionalWrappable.swift
[525/537] Compiling Atomics AtomicReference.swift
[525/537] Compiling c-atomics.c
[527/541] Compiling Atomics IntegerOperations.swift
[528/541] Compiling Atomics Unmanaged extensions.swift
[529/543] Compiling Atomics Primitives.shims.swift
[530/543] Compiling Atomics AtomicInteger.swift
[531/543] Compiling NIOConcurrencyHelpers lock.swift
[532/543] Compiling NIOConcurrencyHelpers atomics.swift
[533/543] Compiling Atomics PointerConformances.swift
[534/543] Compiling Atomics Primitives.native.swift
[535/543] Compiling Atomics AtomicBool.swift
[536/543] Compiling Atomics IntegerConformances.swift
[537/543] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[538/543] Emitting module NIOConcurrencyHelpers
[539/543] Compiling NIOConcurrencyHelpers NIOLock.swift
[540/543] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[541/543] Compiling Atomics OptionalRawRepresentable.swift
[542/543] Compiling Atomics RawRepresentable.swift
[543/543] Emitting module Atomics
[544/603] Compiling NIOCore Interfaces.swift
[545/603] Compiling NIOCore Linux.swift
[546/603] Compiling NIOCore MarkedCircularBuffer.swift
[547/603] Compiling NIOCore MulticastChannel.swift
[548/603] Compiling NIOCore NIOAny.swift
[549/603] Compiling NIOCore NIOCloseOnErrorHandler.swift
[550/609] Compiling NIOCore NIOLoopBound.swift
[551/609] Compiling NIOCore NIOSendable.swift
[552/609] Compiling NIOCore PointerHelpers.swift
[553/609] Compiling NIOCore RecvByteBufferAllocator.swift
[554/609] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[555/609] Compiling NIOCore SocketAddresses.swift
[556/609] Compiling NIOCore AddressedEnvelope.swift
[557/609] Compiling NIOCore AsyncAwaitSupport.swift
[558/609] Compiling NIOCore AsyncChannel.swift
[559/609] Compiling NIOCore AsyncChannelInboundStream.swift
[560/609] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[561/609] Compiling NIOCore AsyncChannelOutboundWriter.swift
[562/609] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[563/609] Compiling NIOCore ConvenienceOptionSupport.swift
[564/609] Compiling NIOCore DeadChannel.swift
[565/609] Compiling NIOCore DispatchQueue+WithFuture.swift
[566/609] Compiling NIOCore EventLoop+Deprecated.swift
[567/609] Compiling NIOCore EventLoop+SerialExecutor.swift
[568/609] Compiling NIOCore EventLoop.swift
[569/609] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[570/609] Compiling NIOCore EventLoopFuture+Deprecated.swift
[571/609] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[572/609] Compiling NIOCore EventLoopFuture.swift
[573/609] Compiling NIOCore FileDescriptor.swift
[574/609] Compiling NIOCore FileHandle.swift
[575/609] Compiling NIOCore FileRegion.swift
[576/609] Compiling NIOCore SocketOptionProvider.swift
[577/609] Compiling NIOCore SystemCallHelpers.swift
[578/609] Compiling NIOCore TimeAmount+Duration.swift
[579/609] Compiling NIOCore TypeAssistedChannelHandler.swift
[580/609] Compiling NIOCore UniversalBootstrapSupport.swift
[581/609] Compiling NIOCore Utilities.swift
[582/609] Compiling NIOCore GlobalSingletons.swift
[583/609] Compiling NIOCore IO.swift
[584/609] Compiling NIOCore IOData.swift
[585/609] Compiling NIOCore IPProtocol.swift
[586/609] Compiling NIOCore IntegerBitPacking.swift
[587/609] Compiling NIOCore IntegerTypes.swift
[588/609] Compiling NIOCore ChannelHandler.swift
[589/609] Compiling NIOCore ChannelHandlers.swift
[590/609] Compiling NIOCore ChannelInvoker.swift
[591/609] Compiling NIOCore ChannelOption.swift
[592/609] Compiling NIOCore ChannelPipeline.swift
[593/609] Compiling NIOCore CircularBuffer.swift
[594/609] Compiling NIOCore Codec.swift
[595/609] Compiling NIOCore ByteBuffer-core.swift
[596/609] Compiling NIOCore ByteBuffer-hexdump.swift
[597/609] Compiling NIOCore ByteBuffer-int.swift
[598/609] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[599/609] Compiling NIOCore ByteBuffer-multi-int.swift
[600/609] Compiling NIOCore ByteBuffer-views.swift
[601/609] Compiling NIOCore Channel.swift
[602/609] Compiling NIOCore NIOAsyncSequenceProducer.swift
[603/609] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[604/609] Compiling NIOCore NIOAsyncWriter.swift
[605/609] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[606/609] Compiling NIOCore BSDSocketAPI.swift
[607/609] Compiling NIOCore ByteBuffer-aux.swift
[608/609] Compiling NIOCore ByteBuffer-conversions.swift
[609/609] Emitting module NIOCore
[610/662] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[611/662] Compiling NIOEmbedded AsyncTestingChannel.swift
[612/662] Emitting module NIOEmbedded
[613/662] Compiling NIOEmbedded Embedded.swift
[614/662] Compiling NIOPosix SocketProtocols.swift
[615/662] Compiling NIOPosix System.swift
[616/662] Compiling NIOPosix Thread.swift
[617/662] Compiling NIOPosix ThreadPosix.swift
[618/662] Compiling NIOPosix ThreadWindows.swift
[619/662] Compiling NIOPosix PendingWritesManager.swift
[620/662] Compiling NIOPosix PipeChannel.swift
[621/662] Compiling NIOPosix PipePair.swift
[622/662] Compiling NIOPosix PointerHelpers.swift
[623/662] Compiling NIOPosix Pool.swift
[624/667] Compiling NIOPosix PooledRecvBufferAllocator.swift
[625/667] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[626/667] Compiling NIOPosix PosixSingletons.swift
[627/667] Compiling NIOPosix RawSocketBootstrap.swift
[628/667] Compiling NIOPosix Resolver.swift
[629/667] Compiling NIOPosix Selectable.swift
[630/667] Compiling NIOPosix SelectableChannel.swift
[631/667] Compiling NIOPosix SelectableEventLoop.swift
[632/667] Compiling NIOPosix SelectorEpoll.swift
[633/667] Compiling NIOPosix SelectorGeneric.swift
[634/667] Compiling NIOPosix BSDSocketAPICommon.swift
[635/667] Compiling NIOPosix BSDSocketAPIPosix.swift
[636/667] Compiling NIOPosix BSDSocketAPIWindows.swift
[637/667] Compiling NIOPosix BaseSocket.swift
[638/667] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[639/667] Compiling NIOPosix BaseSocketChannel.swift
[640/667] Emitting module NIOPosix
[641/667] Compiling NIOPosix BaseStreamSocketChannel.swift
[642/667] Compiling NIOPosix Bootstrap.swift
[643/667] Compiling NIOPosix ControlMessage.swift
[644/667] Compiling NIOPosix DatagramVectorReadManager.swift
[645/667] Compiling NIOPosix FileDescriptor.swift
[646/667] Compiling NIOPosix GetaddrinfoResolver.swift
[647/667] Compiling NIOPosix HappyEyeballs.swift
[648/667] Compiling NIOPosix IO.swift
[649/667] Compiling NIOPosix IntegerBitPacking.swift
[650/667] Compiling NIOPosix IntegerTypes.swift
[651/667] Compiling NIOPosix Linux.swift
[652/667] Compiling NIOPosix LinuxCPUSet.swift
[653/667] Compiling NIOPosix SelectorKqueue.swift
[654/667] Compiling NIOPosix SelectorUring.swift
[655/667] Compiling NIOPosix ServerSocket.swift
[656/667] Compiling NIOPosix Socket.swift
[657/667] Compiling NIOPosix SocketChannel.swift
[658/667] Compiling NIOPosix LinuxUring.swift
[659/667] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[660/667] Compiling NIOPosix NIOThreadPool.swift
[661/667] Compiling NIOPosix NonBlockingFileIO.swift
[662/667] Compiling NIOPosix PendingDatagramWritesManager.swift
[663/667] Compiling NIOPosix UnsafeTransfer.swift
[664/667] Compiling NIOPosix Utilities.swift
[665/667] Compiling NIOPosix VsockAddress.swift
[666/667] Compiling NIOPosix VsockChannelEvents.swift
[667/667] Compiling NIOPosix resource_bundle_accessor.swift
[668/669] Compiling NIO Exports.swift
[669/669] Emitting module NIO
[670/696] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[671/696] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[672/696] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[673/696] Compiling NIOTLS TLSEvents.swift
[674/696] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[675/697] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[676/697] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[677/697] Emitting module NIOTLS
[678/697] Compiling NIOTLS SNIHandler.swift
[679/725] Emitting module NIOFoundationCompat
[680/725] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[681/725] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[682/725] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[683/725] Compiling NIOSSL PosixPort.swift
[684/725] Compiling NIOSSL SSLCallbacks.swift
[685/725] Compiling NIOSSL NIOSSLHandler.swift
[686/725] Compiling NIOSSL NIOSSLServerHandler.swift
[687/725] Compiling NIOSSL CustomPrivateKey.swift
[688/725] Compiling NIOSSL IdentityVerification.swift
[689/725] Compiling NIOSSL LinuxCABundle.swift
[690/725] Compiling NIOSSL NIOSSLClientHandler.swift
[691/725] Compiling NIOSSL SSLConnection.swift
[692/725] Compiling NIOSSL SSLContext.swift
[693/725] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[694/725] Compiling NIOSSL SSLCertificateExtensions.swift
[695/725] Compiling NIOSSL ObjectIdentifier.swift
[696/725] Compiling NIOSSL ByteBufferBIO.swift
[697/725] Emitting module NIOHTTP1
[698/725] Compiling NIOSSL RNG.swift
[699/725] Compiling NIOSSL SafeCompare.swift
[700/725] Compiling NIOSSL Zeroization.swift
[703/734] Compiling NIOSSL SSLCertificate.swift
[704/734] Compiling NIOHTTPCompression HTTPResponseDecompressor.swift
[705/734] Emitting module NIOHTTPCompression
[706/734] Compiling NIOHTTPCompression HTTPRequestCompressor.swift
[707/734] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[708/734] Compiling NIOHTTPCompression HTTPCompression.swift
[709/734] Compiling NIOHTTPCompression HTTPRequestDecompressor.swift
[710/734] Compiling NIOHTTPCompression HTTPDecompression.swift
[711/734] Compiling NIOSSL SSLErrors.swift
[712/734] Compiling NIOSSL SSLInit.swift
[713/734] Compiling NIOSSL SSLPKCS12Bundle.swift
[714/734] Compiling NIOSSL SSLPrivateKey.swift
[715/734] Compiling NIOSSL SSLPublicKey.swift
[716/734] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[717/734] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[718/734] Compiling NIOSSL SubjectAlternativeName.swift
[719/734] Compiling NIOSSL NIOSSLSecureBytes.swift
[726/734] Emitting module NIOSSL
[727/734] Compiling NIOSSL TLSConfiguration.swift
[728/734] Compiling NIOSSL UniversalBootstrapSupport.swift
[735/742] Compiling AsyncHTTPClient RequestValidation.swift
[736/742] Compiling AsyncHTTPClient HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:55:29: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 53 |     var state: State
 54 |     private var tasks = [UUID: TaskProtocol]()
 55 |     private let stateLock = Lock()
    |                             |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                             `- note: use 'NIOLock' instead
 56 |
 57 |     /// Create an `HTTPClient` with specified `EventLoopGroup` provider and configuration.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:561:27: warning: static property 'indifferent' is not concurrency-safe because non-'Sendable' type 'HTTPClient.EventLoopPreference' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 |     /// Specifies how the library will treat event loop passed by the user.
542 |     public struct EventLoopPreference {
    |                   `- note: consider making struct 'EventLoopPreference' conform to the 'Sendable' protocol
543 |         enum Preference {
544 |             /// Event Loop will be selected by the library.
    :
559 |
560 |         /// Event Loop will be selected by the library.
561 |         public static let indifferent = EventLoopPreference(.indifferent)
    |                           |- warning: static property 'indifferent' is not concurrency-safe because non-'Sendable' type 'HTTPClient.EventLoopPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'indifferent' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
562 |
563 |         /// The delegate will be run on the specified EventLoop (and the Channel if possible).
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:648:27: warning: static property 'disallow' is not concurrency-safe because non-'Sendable' type 'HTTPClient.Configuration.RedirectConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
627 |
628 |     /// Specifies redirect processing settings.
629 |     public struct RedirectConfiguration {
    |                   `- note: consider making struct 'RedirectConfiguration' conform to the 'Sendable' protocol
630 |         enum Configuration {
631 |             /// Redirects are not followed.
    :
646 |
647 |         /// Redirects are not followed.
648 |         public static let disallow = RedirectConfiguration(configuration: .disallow)
    |                           |- warning: static property 'disallow' is not concurrency-safe because non-'Sendable' type 'HTTPClient.Configuration.RedirectConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'disallow' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
649 |
650 |         /// Redirects are followed with a specified limit.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:103:32: warning: 'Lock' is deprecated: renamed to 'NIOLock'
101 |             """)
102 |         }
103 |         let errorStorageLock = Lock()
    |                                |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                `- note: use 'NIOLock' instead
104 |         var errorStorage: Error?
105 |         let continuation = DispatchWorkItem {}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:148:74: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
136 |     }
137 |
138 |     private func shutdownEventLoop(queue: DispatchQueue, _ callback: @escaping (Error?) -> Void) {
    |                                                            `- note: parameter 'callback' is implicitly non-sendable
139 |         self.stateLock.withLock {
140 |             switch self.eventLoopGroupProvider {
    :
146 |                 case .shuttingDown:
147 |                     self.state = .shutDown
148 |                     self.eventLoopGroup.shutdownGracefully(queue: queue, callback)
    |                                                                          `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
149 |                 case .shutDown, .upAndRunning:
150 |                     assertionFailure("The only valid state at this point is \(State.shutDown)")
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:172:21: warning: capture of 'tasks' with non-sendable type 'Dictionary<UUID, any TaskProtocol>.Values' in a `@Sendable` closure; this is an error in the Swift 6 language mode
170 |             self.pool.prepareForClose(on: self.eventLoopGroup.next()).whenComplete { _ in
171 |                 var closeError: Error?
172 |                 if !tasks.isEmpty, requiresCleanClose {
    |                     `- warning: capture of 'tasks' with non-sendable type 'Dictionary<UUID, any TaskProtocol>.Values' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 |                     closeError = HTTPClientError.uncleanShutdown
174 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:605:19: note: protocol 'TaskProtocol' does not conform to the 'Sendable' protocol
 603 | internal struct TaskCancelEvent {}
 604 |
 605 | internal protocol TaskProtocol {
     |                   `- note: protocol 'TaskProtocol' does not conform to the 'Sendable' protocol
 606 |     func cancel()
 607 |     var id: UUID { get }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:177:17: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 | ///     try client.syncShutdown()
 47 | /// ```
 48 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 49 |     public let eventLoopGroup: EventLoopGroup
 50 |     let eventLoopGroupProvider: EventLoopGroupProvider
    :
175 |
176 |                 // we ignore errors here
177 |                 self.cancelTasks(tasks).whenComplete { _ in
    |                 `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
178 |                     // we ignore errors here
179 |                     self.pool.close(on: self.eventLoopGroup.next()).whenComplete { _ in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:183:33: 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
181 |                             // we prioritise .uncleanShutdown here
182 |                             if let error = closeError {
183 |                                 callback(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'
184 |                             } else {
185 |                                 callback(eventLoopError)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:179:21: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 | ///     try client.syncShutdown()
 47 | /// ```
 48 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 49 |     public let eventLoopGroup: EventLoopGroup
 50 |     let eventLoopGroupProvider: EventLoopGroupProvider
    :
177 |                 self.cancelTasks(tasks).whenComplete { _ in
178 |                     // we ignore errors here
179 |                     self.pool.close(on: self.eventLoopGroup.next()).whenComplete { _ in
    |                     `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
180 |                         self.shutdownEventLoop(queue: queue) { eventLoopError in
181 |                             // we prioritise .uncleanShutdown here
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:183:33: 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
181 |                             // we prioritise .uncleanShutdown here
182 |                             if let error = closeError {
183 |                                 callback(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'
184 |                             } else {
185 |                                 callback(eventLoopError)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:180:25: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 | ///     try client.syncShutdown()
 47 | /// ```
 48 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 49 |     public let eventLoopGroup: EventLoopGroup
 50 |     let eventLoopGroupProvider: EventLoopGroupProvider
    :
178 |                     // we ignore errors here
179 |                     self.pool.close(on: self.eventLoopGroup.next()).whenComplete { _ in
180 |                         self.shutdownEventLoop(queue: queue) { eventLoopError in
    |                         `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
181 |                             // we prioritise .uncleanShutdown here
182 |                             if let error = closeError {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:183:33: 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
181 |                             // we prioritise .uncleanShutdown here
182 |                             if let error = closeError {
183 |                                 callback(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'
184 |                             } else {
185 |                                 callback(eventLoopError)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:183:33: 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
181 |                             // we prioritise .uncleanShutdown here
182 |                             if let error = closeError {
183 |                                 callback(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'
184 |                             } else {
185 |                                 callback(eventLoopError)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:182:44: warning: reference to captured var 'closeError' in concurrently-executing code; this is an error in the Swift 6 language mode
180 |                         self.shutdownEventLoop(queue: queue) { eventLoopError in
181 |                             // we prioritise .uncleanShutdown here
182 |                             if let error = closeError {
    |                                            `- warning: reference to captured var 'closeError' in concurrently-executing code; this is an error in the Swift 6 language mode
183 |                                 callback(error)
184 |                             } else {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:362:13: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 | ///     try client.syncShutdown()
 47 | /// ```
 48 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 49 |     public let eventLoopGroup: EventLoopGroup
 50 |     let eventLoopGroupProvider: EventLoopGroupProvider
    :
360 |
361 |         promise.futureResult.whenComplete { _ in
362 |             self.stateLock.withLock {
    |             `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
363 |                 self.tasks[task.id] = nil
364 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:363:28: warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 |         promise.futureResult.whenComplete { _ in
362 |             self.stateLock.withLock {
363 |                 self.tasks[task.id] = nil
    |                            `- warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 |             }
365 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:488:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:363:17: warning: capture of 'self' with non-sendable type 'HTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
 46 | ///     try client.syncShutdown()
 47 | /// ```
 48 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 49 |     public let eventLoopGroup: EventLoopGroup
 50 |     let eventLoopGroupProvider: EventLoopGroupProvider
    :
361 |         promise.futureResult.whenComplete { _ in
362 |             self.stateLock.withLock {
363 |                 self.tasks[task.id] = nil
    |                 `- warning: capture of 'self' with non-sendable type 'HTTPClient' in an isolated closure; this is an error in the Swift 6 language mode
364 |             }
365 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:363:28: warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in an isolated closure; this is an error in the Swift 6 language mode
361 |         promise.futureResult.whenComplete { _ in
362 |             self.stateLock.withLock {
363 |                 self.tasks[task.id] = nil
    |                            `- warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in an isolated closure; this is an error in the Swift 6 language mode
364 |             }
365 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:488:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:372:20: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 | ///     try client.syncShutdown()
 47 | /// ```
 48 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 49 |     public let eventLoopGroup: EventLoopGroup
 50 |     let eventLoopGroupProvider: EventLoopGroupProvider
    :
370 |             let channel = connection.channel
371 |             let addedFuture: EventLoopFuture<Void>
372 |             switch self.configuration.decompression {
    |                    `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
373 |             case .disabled:
374 |                 addedFuture = channel.eventLoop.makeSucceededFuture(())
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:387:53: warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |                 }
386 |             }.flatMap {
387 |                 let taskHandler = TaskHandler(task: task,
    |                                                     `- warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |                                               kind: request.kind,
389 |                                               delegate: delegate,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:488:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:388:53: warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 |             }.flatMap {
387 |                 let taskHandler = TaskHandler(task: task,
388 |                                               kind: request.kind,
    |                                                     `- warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
389 |                                               delegate: delegate,
390 |                                               redirectHandler: redirectHandler,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:99:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
  97 |
  98 |     /// Represent HTTP request.
  99 |     public struct Request {
     |                   `- note: consider making struct 'Request' conform to the 'Sendable' protocol
 100 |         /// Represent kind of Request
 101 |         enum Kind {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:389:57: warning: capture of 'delegate' with non-sendable type 'Delegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |     ///     - eventLoop: NIO Event Loop preference.
306 |     ///     - deadline: Point in time by which the request must complete.
307 |     public func execute<Delegate: HTTPClientResponseDelegate>(request: Request,
    |                         `- note: consider making generic parameter 'Delegate' conform to the 'Sendable' protocol
308 |                                                               delegate: Delegate,
309 |                                                               eventLoop eventLoopPreference: EventLoopPreference,
    :
387 |                 let taskHandler = TaskHandler(task: task,
388 |                                               kind: request.kind,
389 |                                               delegate: delegate,
    |                                                         `- warning: capture of 'delegate' with non-sendable type 'Delegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
390 |                                               redirectHandler: redirectHandler,
391 |                                               ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:390:64: warning: capture of 'redirectHandler' with non-sendable type 'RedirectHandler<Delegate.Response>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |                                               kind: request.kind,
389 |                                               delegate: delegate,
390 |                                               redirectHandler: redirectHandler,
    |                                                                `- warning: capture of 'redirectHandler' with non-sendable type 'RedirectHandler<Delegate.Response>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
391 |                                               ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
392 |                 return channel.pipeline.addHandler(taskHandler)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:932:17: note: consider making generic struct 'RedirectHandler' conform to the 'Sendable' protocol
 930 | // MARK: - RedirectHandler
 931 |
 932 | internal struct RedirectHandler<ResponseType> {
     |                 `- note: consider making generic struct 'RedirectHandler' conform to the 'Sendable' protocol
 933 |     let request: HTTPClient.Request
 934 |     let execute: (HTTPClient.Request) -> HTTPClient.Task<ResponseType>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:381:34: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 | ///     try client.syncShutdown()
 47 | /// ```
 48 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 49 |     public let eventLoopGroup: EventLoopGroup
 50 |     let eventLoopGroupProvider: EventLoopGroupProvider
    :
379 |
380 |             return addedFuture.flatMap {
381 |                 if let timeout = self.resolve(timeout: self.configuration.timeout.read, deadline: deadline) {
    |                                  `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
382 |                     return channel.pipeline.addHandler(IdleStateHandler(readTimeout: timeout))
383 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:387:53: warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
385 |                 }
386 |             }.flatMap {
387 |                 let taskHandler = TaskHandler(task: task,
    |                                                     `- warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |                                               kind: request.kind,
389 |                                               delegate: delegate,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:488:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:388:53: warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
386 |             }.flatMap {
387 |                 let taskHandler = TaskHandler(task: task,
388 |                                               kind: request.kind,
    |                                                     `- warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
389 |                                               delegate: delegate,
390 |                                               redirectHandler: redirectHandler,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:99:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
  97 |
  98 |     /// Represent HTTP request.
  99 |     public struct Request {
     |                   `- note: consider making struct 'Request' conform to the 'Sendable' protocol
 100 |         /// Represent kind of Request
 101 |         enum Kind {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:389:57: warning: capture of 'delegate' with non-sendable type 'Delegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
305 |     ///     - eventLoop: NIO Event Loop preference.
306 |     ///     - deadline: Point in time by which the request must complete.
307 |     public func execute<Delegate: HTTPClientResponseDelegate>(request: Request,
    |                         `- note: consider making generic parameter 'Delegate' conform to the 'Sendable' protocol
308 |                                                               delegate: Delegate,
309 |                                                               eventLoop eventLoopPreference: EventLoopPreference,
    :
387 |                 let taskHandler = TaskHandler(task: task,
388 |                                               kind: request.kind,
389 |                                               delegate: delegate,
    |                                                         `- warning: capture of 'delegate' with non-sendable type 'Delegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
390 |                                               redirectHandler: redirectHandler,
391 |                                               ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:390:64: warning: capture of 'redirectHandler' with non-sendable type 'RedirectHandler<Delegate.Response>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
388 |                                               kind: request.kind,
389 |                                               delegate: delegate,
390 |                                               redirectHandler: redirectHandler,
    |                                                                `- warning: capture of 'redirectHandler' with non-sendable type 'RedirectHandler<Delegate.Response>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
391 |                                               ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
392 |                 return channel.pipeline.addHandler(taskHandler)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:932:17: note: consider making generic struct 'RedirectHandler' conform to the 'Sendable' protocol
 930 | // MARK: - RedirectHandler
 931 |
 932 | internal struct RedirectHandler<ResponseType> {
     |                 `- note: consider making generic struct 'RedirectHandler' conform to the 'Sendable' protocol
 933 |     let request: HTTPClient.Request
 934 |     let execute: (HTTPClient.Request) -> HTTPClient.Task<ResponseType>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:391:73: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 | ///     try client.syncShutdown()
 47 | /// ```
 48 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 49 |     public let eventLoopGroup: EventLoopGroup
 50 |     let eventLoopGroupProvider: EventLoopGroupProvider
    :
389 |                                               delegate: delegate,
390 |                                               redirectHandler: redirectHandler,
391 |                                               ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
    |                                                                         `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
392 |                 return channel.pipeline.addHandler(taskHandler)
393 |             }.flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:394:17: warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
392 |                 return channel.pipeline.addHandler(taskHandler)
393 |             }.flatMap {
394 |                 task.setConnection(connection)
    |                 `- warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 |
396 |                 let isCancelled = task.lock.withLock {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:488:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:394:36: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
392 |                 return channel.pipeline.addHandler(taskHandler)
393 |             }.flatMap {
394 |                 task.setConnection(connection)
    |                                    `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
395 |
396 |                 let isCancelled = task.lock.withLock {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:401:50: warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
399 |
400 |                 if !isCancelled {
401 |                     return channel.writeAndFlush(request).flatMapError { _ in
    |                                                  `- warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
402 |                         // At this point the `TaskHandler` will already be present
403 |                         // to handle the failure and pass it to the `promise`
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:99:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
  97 |
  98 |     /// Represent HTTP request.
  99 |     public struct Request {
     |                   `- note: consider making struct 'Request' conform to the 'Sendable' protocol
 100 |         /// Represent kind of Request
 101 |         enum Kind {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:397:21: warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in an isolated closure; this is an error in the Swift 6 language mode
395 |
396 |                 let isCancelled = task.lock.withLock {
397 |                     task.cancelled
    |                     `- warning: capture of 'task' with non-sendable type 'HTTPClient.Task<Delegate.Response>' in an isolated closure; this is an error in the Swift 6 language mode
398 |                 }
399 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:488:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:410:17: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
408 |                 }
409 |             }.flatMapError { error in
410 |                 connection.release()
    |                 `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
411 |                 return channel.eventLoop.makeFailedFuture(error)
412 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:506:54: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
504 |                     ignoreUncleanSSLShutdown: Bool = false,
505 |                     decompression: Decompression = .disabled) {
506 |             self.tlsConfiguration = TLSConfiguration.forClient(certificateVerification: certificateVerification)
    |                                                      |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
    |                                                      `- note: use 'makeClientConfiguration()' instead
507 |             self.redirectConfiguration = redirectConfiguration ?? RedirectConfiguration()
508 |             self.timeout = timeout
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:669:48: warning: capture of 'decoder' with non-sendable type 'ByteToMessageHandler<HTTPResponseDecoder>' (aka 'ByteToMessageHandler<HTTPDecoder<HTTPPart<HTTPResponseHead, ByteBuffer>, HTTPPart<HTTPRequestHead, IOData>>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
667 |             channel.pipeline.removeHandler(encoder, promise: encoderRemovePromise)
668 |             return encoderRemovePromise.futureResult.flatMap {
669 |                 channel.pipeline.removeHandler(decoder)
    |                                                `- warning: capture of 'decoder' with non-sendable type 'ByteToMessageHandler<HTTPResponseDecoder>' (aka 'ByteToMessageHandler<HTTPDecoder<HTTPPart<HTTPResponseHead, ByteBuffer>, HTTPPart<HTTPRequestHead, IOData>>>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
670 |             }
671 |         }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:375:20: note: generic class 'ByteToMessageHandler' does not conform to the 'Sendable' protocol
373 | /// Most importantly, `ByteToMessageHandler` handles the tricky buffer management for you and flattens out all
374 | /// re-entrancy on `channelRead` that may happen in the `ChannelPipeline`.
375 | public final class ByteToMessageHandler<Decoder: ByteToMessageDecoder> {
    |                    `- note: generic class 'ByteToMessageHandler' does not conform to the 'Sendable' protocol
376 |     public typealias InboundIn = ByteBuffer
377 |     public typealias InboundOut = Decoder.InboundOut
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:682:73: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
680 |
681 |         do {
682 |             let tlsConfiguration = tlsConfiguration ?? TLSConfiguration.forClient()
    |                                                                         |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
    |                                                                         `- note: use 'makeClientConfiguration()' instead
683 |             let context = try NIOSSLContext(configuration: tlsConfiguration)
684 |             let handlers: [ChannelHandler] = [
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:37:43: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 35 |     ///
 36 |     /// - Warning: This lock should always be acquired *before* `HTTP1ConnectionProvider`s `stateLock` if used in combination with it.
 37 |     private let connectionProvidersLock = Lock()
    |                                           |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                           `- note: use 'NIOLock' instead
 38 |
 39 |     init(configuration: HTTPClient.Configuration) {
[737/742] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[738/742] Compiling AsyncHTTPClient Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/Utils.swift:56:24: warning: capture of 'configuration' with non-sendable type 'HTTPClient.Configuration' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 |             .channelInitializer { channel in
55 |                 let channelAddedFuture: EventLoopFuture<Void>
56 |                 switch configuration.proxy {
   |                        `- warning: capture of 'configuration' with non-sendable type 'HTTPClient.Configuration' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 |                 case .none:
58 |                     channelAddedFuture = group.next().makeSucceededFuture(())
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:441:19: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
439 |
440 |     /// `HTTPClient` configuration.
441 |     public struct Configuration {
    |                   `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
442 |         /// TLS configuration, defaults to `TLSConfiguration.forClient()`.
443 |         public var tlsConfiguration: TLSConfiguration?
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/Utils.swift:63:21: warning: capture of 'channelInitializer' with non-sendable type '((any Channel) -> EventLoopFuture<Void>)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |                 }
62 |                 return channelAddedFuture.flatMap { (_: Void) -> EventLoopFuture<Void> in
63 |                     channelInitializer?(channel) ?? group.next().makeSucceededFuture(())
   |                     |- warning: capture of 'channelInitializer' with non-sendable type '((any Channel) -> 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'
64 |                 }
65 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/Utils.swift:63:21: warning: capture of 'channelInitializer' with non-sendable type '((any Channel) -> EventLoopFuture<Void>)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |                 }
62 |                 return channelAddedFuture.flatMap { (_: Void) -> EventLoopFuture<Void> in
63 |                     channelInitializer?(channel) ?? group.next().makeSucceededFuture(())
   |                     |- warning: capture of 'channelInitializer' with non-sendable type '((any Channel) -> 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'
64 |                 }
65 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/Utils.swift:94:13: warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
92 |     func removeHandler<Handler: RemovableChannelHandler>(_ type: Handler.Type) -> EventLoopFuture<Void> {
93 |         return self.channel.pipeline.handler(type: type).flatMap { handler in
94 |             self.channel.pipeline.removeHandler(handler)
   |             `- warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
95 |         }.recover { _ in }
96 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
[739/742] Compiling AsyncHTTPClient HTTPHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:107:32: warning: static property 'hostSchemes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 105 |             case unixSocket
 106 |
 107 |             private static var hostSchemes = ["http", "https"]
     |                                |- warning: static property 'hostSchemes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: convert 'hostSchemes' to a 'let' constant to make 'Sendable' shared state immutable
     |                                |- note: annotate 'hostSchemes' with '@MainActor' if property should only be accessed from the main actor
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 108 |             private static var unixSchemes = ["unix"]
 109 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:108:32: warning: static property 'unixSchemes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 106 |
 107 |             private static var hostSchemes = ["http", "https"]
 108 |             private static var unixSchemes = ["unix"]
     |                                |- warning: static property 'unixSchemes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: convert 'unixSchemes' to a 'let' constant to make 'Sendable' shared state immutable
     |                                |- note: annotate 'unixSchemes' with '@MainActor' if property should only be accessed from the main actor
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 109 |
 110 |             init(forScheme scheme: String) throws {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:496:19: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 494 |         var connection: ConnectionPool.Connection?
 495 |         var cancelled: Bool
 496 |         let lock: Lock
     |                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
     |                   `- note: use 'NIOLock' instead
 497 |         let id = UUID()
 498 |         let poolingTimeout: TimeAmount?
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:1028:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
1026 |     typealias InboundIn = NIOAny
1027 |
1028 |     let _hasNotSentClose: NIOAtomic<Bool> = .makeAtomic(value: true)
     |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
1029 |     var hasNotSentClose: Bool {
1030 |         return self._hasNotSentClose.load()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:505:25: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 503 |             self.completion = self.promise.futureResult.map { _ in }
 504 |             self.cancelled = false
 505 |             self.lock = Lock()
     |                         |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
     |                         `- note: use 'NIOLock' instead
 506 |             self.poolingTimeout = poolingTimeout
 507 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:554:17: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Response>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                             `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
     :
 552 |         func succeed<Delegate: HTTPClientResponseDelegate>(promise: EventLoopPromise<Response>?, with value: Response, delegateType: Delegate.Type) {
 553 |             self.releaseAssociatedConnection(delegateType: delegateType).whenSuccess {
 554 |                 promise?.succeed(value)
     |                 `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Response>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 555 |             }
 556 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:554:34: warning: capture of 'value' with non-sendable type 'Response' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                             `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
     :
 552 |         func succeed<Delegate: HTTPClientResponseDelegate>(promise: EventLoopPromise<Response>?, with value: Response, delegateType: Delegate.Type) {
 553 |             self.releaseAssociatedConnection(delegateType: delegateType).whenSuccess {
 554 |                 promise?.succeed(value)
     |                                  `- warning: capture of 'value' with non-sendable type 'Response' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 555 |             }
 556 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:561:21: warning: capture of 'self' with non-sendable type 'HTTPClient.Task<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
     :
 559 |             if let connection = self.connection {
 560 |                 connection.close().whenComplete { _ in
 561 |                     self.releaseAssociatedConnection(delegateType: delegateType).whenComplete { _ in
     |                     `- warning: capture of 'self' with non-sendable type 'HTTPClient.Task<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 562 |                         self.promise.fail(error)
 563 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:562:25: warning: capture of 'self' with non-sendable type 'HTTPClient.Task<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
     :
 560 |                 connection.close().whenComplete { _ in
 561 |                     self.releaseAssociatedConnection(delegateType: delegateType).whenComplete { _ in
 562 |                         self.promise.fail(error)
     |                         `- warning: capture of 'self' with non-sendable type 'HTTPClient.Task<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 563 |                     }
 564 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:571:21: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 569 |             if let connection = self.connection {
 570 |                 return connection.removeHandler(NIOHTTPResponseDecompressor.self).flatMap {
 571 |                     connection.removeHandler(IdleStateHandler.self)
     |                     `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 572 |                 }.flatMap {
 573 |                     connection.removeHandler(TaskHandler<Delegate>.self)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:573:21: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 571 |                     connection.removeHandler(IdleStateHandler.self)
 572 |                 }.flatMap {
 573 |                     connection.removeHandler(TaskHandler<Delegate>.self)
     |                     `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 574 |                 }.flatMap {
 575 |                     let idlePoolConnectionHandler = IdlePoolConnectionHandler()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:576:28: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 574 |                 }.flatMap {
 575 |                     let idlePoolConnectionHandler = IdlePoolConnectionHandler()
 576 |                     return connection.channel.pipeline.addHandler(idlePoolConnectionHandler, position: .last).flatMap {
     |                            `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 577 |                         connection.channel.pipeline.addHandler(IdleStateHandler(writeTimeout: self.poolingTimeout), position: .before(idlePoolConnectionHandler))
 578 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:577:95: warning: capture of 'self' with non-sendable type 'HTTPClient.Task<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
     :
 575 |                     let idlePoolConnectionHandler = IdlePoolConnectionHandler()
 576 |                     return connection.channel.pipeline.addHandler(idlePoolConnectionHandler, position: .last).flatMap {
 577 |                         connection.channel.pipeline.addHandler(IdleStateHandler(writeTimeout: self.poolingTimeout), position: .before(idlePoolConnectionHandler))
     |                                                                                               `- warning: capture of 'self' with non-sendable type 'HTTPClient.Task<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 578 |                     }
 579 |                 }.flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:577:25: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 575 |                     let idlePoolConnectionHandler = IdlePoolConnectionHandler()
 576 |                     return connection.channel.pipeline.addHandler(idlePoolConnectionHandler, position: .last).flatMap {
 577 |                         connection.channel.pipeline.addHandler(IdleStateHandler(writeTimeout: self.poolingTimeout), position: .before(idlePoolConnectionHandler))
     |                         `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 578 |                     }
 579 |                 }.flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:577:95: warning: capture of 'self' with non-sendable type 'HTTPClient.Task<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 486 |     /// Response execution context. Will be created by the library and could be used for obtaining
 487 |     /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
 488 |     public final class Task<Response>: TaskProtocol {
     |                        `- note: generic class 'Task' does not conform to the 'Sendable' protocol
 489 |         /// The `EventLoop` the delegate will be executed on.
 490 |         public let eventLoop: EventLoop
     :
 575 |                     let idlePoolConnectionHandler = IdlePoolConnectionHandler()
 576 |                     return connection.channel.pipeline.addHandler(idlePoolConnectionHandler, position: .last).flatMap {
 577 |                         connection.channel.pipeline.addHandler(IdleStateHandler(writeTimeout: self.poolingTimeout), position: .before(idlePoolConnectionHandler))
     |                                                                                               `- warning: capture of 'self' with non-sendable type 'HTTPClient.Task<Response>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 578 |                     }
 579 |                 }.flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:577:135: warning: capture of 'idlePoolConnectionHandler' with non-sendable type 'IdlePoolConnectionHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 575 |                     let idlePoolConnectionHandler = IdlePoolConnectionHandler()
 576 |                     return connection.channel.pipeline.addHandler(idlePoolConnectionHandler, position: .last).flatMap {
 577 |                         connection.channel.pipeline.addHandler(IdleStateHandler(writeTimeout: self.poolingTimeout), position: .before(idlePoolConnectionHandler))
     |                                                                                                                                       `- warning: capture of 'idlePoolConnectionHandler' with non-sendable type 'IdlePoolConnectionHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 578 |                     }
 579 |                 }.flatMapError { error in
     :
1023 | }
1024 |
1025 | class IdlePoolConnectionHandler: ChannelInboundHandler, RemovableChannelHandler {
     |       `- note: class 'IdlePoolConnectionHandler' does not conform to the 'Sendable' protocol
1026 |     typealias InboundIn = NIOAny
1027 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:583:32: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 581 |                         // We may get this error if channel is released because it is
 582 |                         // closed, it is safe to ignore it
 583 |                         return connection.channel.eventLoop.makeSucceededFuture(())
     |                                `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 584 |                     } else {
 585 |                         return connection.channel.eventLoop.makeFailedFuture(error)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:588:21: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 586 |                     }
 587 |                 }.map {
 588 |                     connection.release()
     |                     `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 589 |                 }.flatMapError { error in
 590 |                     fatalError("Couldn't remove taskHandler: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:164:11: note: class 'Connection' does not conform to the 'Sendable' protocol
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:660:17: warning: capture of 'doIt()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 658 |         } else {
 659 |             self.task.eventLoop.execute {
 660 |                 doIt()
     |                 |- warning: capture of 'doIt()' with non-sendable type '() -> ()' 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'
 661 |             }
 662 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:651:14: warning: concurrently-executed local function 'doIt()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 649 |     func failTaskAndNotifyDelegate<Err: Error>(error: Err,
 650 |                                                _ body: @escaping (HTTPClient.Task<Delegate.Response>, Err) -> Void) {
 651 |         func doIt() {
     |              `- warning: concurrently-executed local function 'doIt()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 652 |             body(self.task, error)
 653 |             self.task.fail(with: error, delegateType: Delegate.self)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:675:17: warning: capture of 'body' with non-sendable type '(HTTPClient.Task<Delegate.Response>, Value) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 673 |         } else {
 674 |             self.task.eventLoop.execute {
 675 |                 body(self.task, value)
     |                 |- warning: capture of 'body' with non-sendable type '(HTTPClient.Task<Delegate.Response>, Value) -> 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'
 676 |             }
 677 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:675:22: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 673 |         } else {
 674 |             self.task.eventLoop.execute {
 675 |                 body(self.task, value)
     |                      `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 676 |             }
 677 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:675:33: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 667 |     }
 668 |
 669 |     func callOutToDelegateFireAndForget<Value>(value: Value,
     |                                         `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 670 |                                                _ body: @escaping (HTTPClient.Task<Delegate.Response>, Value) -> Void) {
 671 |         if self.task.eventLoop.inEventLoop {
     :
 673 |         } else {
 674 |             self.task.eventLoop.execute {
 675 |                 body(self.task, value)
     |                                 `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 676 |             }
 677 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:687:17: warning: capture of 'body' with non-sendable type '(HTTPClient.Task<Delegate.Response>, Value) -> EventLoopFuture<Void>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 685 |         } else {
 686 |             return self.task.eventLoop.submit {
 687 |                 body(self.task, value)
     |                 |- warning: capture of 'body' with non-sendable type '(HTTPClient.Task<Delegate.Response>, Value) -> 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'
 688 |             }.flatMap { $0 }.hop(to: channelEventLoop)
 689 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:687:22: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 685 |         } else {
 686 |             return self.task.eventLoop.submit {
 687 |                 body(self.task, value)
     |                      `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 688 |             }.flatMap { $0 }.hop(to: channelEventLoop)
 689 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:687:33: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 678 |     }
 679 |
 680 |     func callOutToDelegate<Value>(value: Value,
     |                            `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
 681 |                                   channelEventLoop: EventLoop,
 682 |                                   _ body: @escaping (HTTPClient.Task<Delegate.Response>, Value) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
     :
 685 |         } else {
 686 |             return self.task.eventLoop.submit {
 687 |                 body(self.task, value)
     |                                 `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 688 |             }.flatMap { $0 }.hop(to: channelEventLoop)
 689 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:708:17: warning: capture of 'doIt()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 706 |         } else {
 707 |             self.task.eventLoop.submit {
 708 |                 doIt()
     |                 |- warning: capture of 'doIt()' with non-sendable type '() -> ()' 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'
 709 |             }.cascadeFailure(to: promise)
 710 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:694:14: warning: concurrently-executed local function 'doIt()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 692 |     func callOutToDelegate<Response>(promise: EventLoopPromise<Response>? = nil,
 693 |                                      _ body: @escaping (HTTPClient.Task<Delegate.Response>) throws -> Response) where Response == Delegate.Response {
 694 |         func doIt() {
     |              `- warning: concurrently-executed local function 'doIt()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 695 |             do {
 696 |                 let result = try body(self.task)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:763:13: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 761 |
 762 |         context.write(wrapOutboundOut(.head(head))).map {
 763 |             self.callOutToDelegateFireAndForget(value: head, self.delegate.didSendRequestHead)
     |             `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 764 |         }.flatMap {
 765 |             self.writeBody(request: request, context: context)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:763:56: warning: reference to captured var 'head' in concurrently-executing code; this is an error in the Swift 6 language mode
 761 |
 762 |         context.write(wrapOutboundOut(.head(head))).map {
 763 |             self.callOutToDelegateFireAndForget(value: head, self.delegate.didSendRequestHead)
     |                                                        `- warning: reference to captured var 'head' in concurrently-executing code; this is an error in the Swift 6 language mode
 764 |         }.flatMap {
 765 |             self.writeBody(request: request, context: context)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:765:13: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 763 |             self.callOutToDelegateFireAndForget(value: head, self.delegate.didSendRequestHead)
 764 |         }.flatMap {
 765 |             self.writeBody(request: request, context: context)
     |             `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 766 |         }.flatMap {
 767 |             context.eventLoop.assertInEventLoop()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:765:37: warning: capture of 'request' with non-sendable type 'TaskHandler<Delegate>.OutboundIn' (aka 'HTTPClient.Request') in a `@Sendable` closure; this is an error in the Swift 6 language mode
  97 |
  98 |     /// Represent HTTP request.
  99 |     public struct Request {
     |                   `- note: consider making struct 'Request' conform to the 'Sendable' protocol
 100 |         /// Represent kind of Request
 101 |         enum Kind {
     :
 763 |             self.callOutToDelegateFireAndForget(value: head, self.delegate.didSendRequestHead)
 764 |         }.flatMap {
 765 |             self.writeBody(request: request, context: context)
     |                                     `- warning: capture of 'request' with non-sendable type 'TaskHandler<Delegate>.OutboundIn' (aka 'HTTPClient.Request') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 766 |         }.flatMap {
 767 |             context.eventLoop.assertInEventLoop()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:765:55: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 763 |             self.callOutToDelegateFireAndForget(value: head, self.delegate.didSendRequestHead)
 764 |         }.flatMap {
 765 |             self.writeBody(request: request, 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
 766 |         }.flatMap {
 767 |             context.eventLoop.assertInEventLoop()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1456:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1454 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1455 | /// `ChannelHandler`.
1456 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1457 |     // visible for ChannelPipeline to modify
1458 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:767:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 765 |             self.writeBody(request: request, context: context)
 766 |         }.flatMap {
 767 |             context.eventLoop.assertInEventLoop()
     |             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 768 |             return context.writeAndFlush(self.wrapOutboundOut(.end(nil)))
 769 |         }.map {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1456:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1454 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1455 | /// `ChannelHandler`.
1456 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1457 |     // visible for ChannelPipeline to modify
1458 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:768:42: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 766 |         }.flatMap {
 767 |             context.eventLoop.assertInEventLoop()
 768 |             return context.writeAndFlush(self.wrapOutboundOut(.end(nil)))
     |                                          `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 769 |         }.map {
 770 |             context.eventLoop.assertInEventLoop()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:770:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 768 |             return context.writeAndFlush(self.wrapOutboundOut(.end(nil)))
 769 |         }.map {
 770 |             context.eventLoop.assertInEventLoop()
     |             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 771 |             self.state = .sent
 772 |             self.callOutToDelegateFireAndForget(self.delegate.didSendRequest)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1456:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1454 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1455 | /// `ChannelHandler`.
1456 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1457 |     // visible for ChannelPipeline to modify
1458 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:771:13: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 769 |         }.map {
 770 |             context.eventLoop.assertInEventLoop()
 771 |             self.state = .sent
     |             `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 772 |             self.callOutToDelegateFireAndForget(self.delegate.didSendRequest)
 773 |         }.flatMapErrorThrowing { error in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:774:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 772 |             self.callOutToDelegateFireAndForget(self.delegate.didSendRequest)
 773 |         }.flatMapErrorThrowing { error in
 774 |             context.eventLoop.assertInEventLoop()
     |             `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 775 |             self.state = .end
 776 |             self.failTaskAndNotifyDelegate(error: error, self.delegate.didReceiveError)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1456:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1454 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1455 | /// `ChannelHandler`.
1456 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1457 |     // visible for ChannelPipeline to modify
1458 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:775:13: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 773 |         }.flatMapErrorThrowing { error in
 774 |             context.eventLoop.assertInEventLoop()
 775 |             self.state = .end
     |             `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 776 |             self.failTaskAndNotifyDelegate(error: error, self.delegate.didReceiveError)
 777 |             throw error
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:789:17: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 787 |             context.eventLoop.assertInEventLoop()
 788 |             return context.writeAndFlush(self.wrapOutboundOut(.body(part))).map {
 789 |                 self.callOutToDelegateFireAndForget(value: part, self.delegate.didSendRequestPart)
     |                 `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 790 |             }
 791 |         })
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:789:60: warning: capture of 'part' with non-sendable type 'IOData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 787 |             context.eventLoop.assertInEventLoop()
 788 |             return context.writeAndFlush(self.wrapOutboundOut(.body(part))).map {
 789 |                 self.callOutToDelegateFireAndForget(value: part, self.delegate.didSendRequestPart)
     |                                                            `- warning: capture of 'part' with non-sendable type 'IOData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 790 |             }
 791 |         })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/IOData.swift:19:13: note: enum 'IOData' does not conform to the 'Sendable' protocol
17 | /// Many `ChannelHandler`s receive or emit bytes and in most cases this can be either a `ByteBuffer` or a `FileRegion`
18 | /// from disk. To still form a well-typed `ChannelPipeline` such handlers should receive and emit value of type `IOData`.
19 | public enum IOData {
   |             `- note: enum 'IOData' does not conform to the 'Sendable' protocol
20 |     /// A `ByteBuffer`.
21 |     case byteBuffer(ByteBuffer)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:824:25: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 822 |                 self.callOutToDelegate(value: head, channelEventLoop: context.eventLoop, self.delegate.didReceiveHead)
 823 |                     .whenComplete { result in
 824 |                         self.handleBackpressureResult(context: context, result: result)
     |                         `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 825 |                     }
 826 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:824:64: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 822 |                 self.callOutToDelegate(value: head, channelEventLoop: context.eventLoop, self.delegate.didReceiveHead)
 823 |                     .whenComplete { result in
 824 |                         self.handleBackpressureResult(context: context, result: result)
     |                                                                `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 825 |                     }
 826 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1456:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1454 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1455 | /// `ChannelHandler`.
1456 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1457 |     // visible for ChannelPipeline to modify
1458 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:836:25: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 834 |                 self.callOutToDelegate(value: body, channelEventLoop: context.eventLoop, self.delegate.didReceiveBodyPart)
 835 |                     .whenComplete { result in
 836 |                         self.handleBackpressureResult(context: context, result: result)
     |                         `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 837 |                     }
 838 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:836:64: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 834 |                 self.callOutToDelegate(value: body, channelEventLoop: context.eventLoop, self.delegate.didReceiveBodyPart)
 835 |                     .whenComplete { result in
 836 |                         self.handleBackpressureResult(context: context, result: result)
     |                                                                `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 837 |                     }
 838 |             }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1456:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1454 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1455 | /// `ChannelHandler`.
1456 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1457 |     // visible for ChannelPipeline to modify
1458 |     fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:844:21: warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 611 | // MARK: - TaskHandler
 612 |
 613 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate>: RemovableChannelHandler {
     |                `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
 614 |     enum State {
 615 |         case idle
     :
 842 |                 self.state = .end
 843 |                 self.task.releaseAssociatedConnection(delegateType: Delegate.self).whenSuccess {
 844 |                     self.redirectHandler?.redirect(status: head.status, to: redirectURL, promise: self.task.promise)
     |                     `- warning: capture of 'self' with non-sendable type 'TaskHandler<Delegate>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 845 |                 }
 846 |             default:
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:1015:17: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<ResponseType>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 930 | // MARK: - RedirectHandler
 931 |
 932 | internal struct RedirectHandler<ResponseType> {
     |                                 `- note: consider making generic parameter 'ResponseType' conform to the 'Sendable' protocol
 933 |     let request: HTTPClient.Request
 934 |     let execute: (HTTPClient.Request) -> HTTPClient.Task<ResponseType>
     :
1013 |             newRequest.redirectState = nextState
1014 |             self.execute(newRequest).futureResult.whenComplete { result in
1015 |                 promise.futureResult.eventLoop.execute {
     |                 `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<ResponseType>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1016 |                     promise.completeWith(result)
1017 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:1016:21: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<ResponseType>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 930 | // MARK: - RedirectHandler
 931 |
 932 | internal struct RedirectHandler<ResponseType> {
     |                                 `- note: consider making generic parameter 'ResponseType' conform to the 'Sendable' protocol
 933 |     let request: HTTPClient.Request
 934 |     let execute: (HTTPClient.Request) -> HTTPClient.Task<ResponseType>
     :
1014 |             self.execute(newRequest).futureResult.whenComplete { result in
1015 |                 promise.futureResult.eventLoop.execute {
1016 |                     promise.completeWith(result)
     |                     `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<ResponseType>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1017 |                 }
1018 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:1016:42: warning: capture of 'result' with non-sendable type 'Result<ResponseType, any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 930 | // MARK: - RedirectHandler
 931 |
 932 | internal struct RedirectHandler<ResponseType> {
     |                                 `- note: consider making generic parameter 'ResponseType' conform to the 'Sendable' protocol
 933 |     let request: HTTPClient.Request
 934 |     let execute: (HTTPClient.Request) -> HTTPClient.Task<ResponseType>
     :
1014 |             self.execute(newRequest).futureResult.whenComplete { result in
1015 |                 promise.futureResult.eventLoop.execute {
1016 |                     promise.completeWith(result)
     |                                          `- warning: capture of 'result' with non-sendable type 'Result<ResponseType, any Error>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1017 |                 }
1018 |             }
[740/742] Compiling AsyncHTTPClient ConnectionPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:37:43: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 35 |     ///
 36 |     /// - Warning: This lock should always be acquired *before* `HTTP1ConnectionProvider`s `stateLock` if used in combination with it.
 37 |     private let connectionProvidersLock = Lock()
    |                                           |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                           `- note: use 'NIOLock' instead
 38 |
 39 |     init(configuration: HTTPClient.Configuration) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:291:37: warning: 'Lock' is deprecated: renamed to 'NIOLock'
289 |         ///
290 |         /// - Warning: This lock should always be acquired *after* `ConnectionPool`s `connectionProvidersLock` if used in combination with it.
291 |         fileprivate let stateLock = Lock()
    |                                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                     `- note: use 'NIOLock' instead
292 |
293 |         /// The maximum number of concurrent connections to a given (host, scheme, port)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:110:13: warning: capture of 'self' with non-sendable type 'ConnectionPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 22 | ///
 23 | /// - Note: All `internal` methods of this class are thread safe
 24 | final class ConnectionPool {
    |             `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
 25 |     /// The configuration used to bootstrap new HTTP connections
 26 |     private let configuration: HTTPClient.Configuration
    :
108 |
109 |         return EventLoopFuture.andAllComplete(connectionProviders.map { $0.close() }, on: eventLoop).map {
110 |             self.connectionProvidersLock.withLock {
    |             `- warning: capture of 'self' with non-sendable type 'ConnectionPool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 |                 assert(self.connectionProviders.count == 0, "left-overs: \(self.connectionProviders)")
112 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:111:24: warning: capture of 'self' with non-sendable type 'ConnectionPool' in an isolated closure; this is an error in the Swift 6 language mode
 22 | ///
 23 | /// - Note: All `internal` methods of this class are thread safe
 24 | final class ConnectionPool {
    |             `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
 25 |     /// The configuration used to bootstrap new HTTP connections
 26 |     private let configuration: HTTPClient.Configuration
    :
109 |         return EventLoopFuture.andAllComplete(connectionProviders.map { $0.close() }, on: eventLoop).map {
110 |             self.connectionProvidersLock.withLock {
111 |                 assert(self.connectionProviders.count == 0, "left-overs: \(self.connectionProviders)")
    |                        `- warning: capture of 'self' with non-sendable type 'ConnectionPool' in an isolated closure; this is an error in the Swift 6 language mode
112 |             }
113 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:111:24: warning: implicit capture of 'self' requires that 'ConnectionPool' conforms to `Sendable`; this is an error in the Swift 6 language mode
 22 | ///
 23 | /// - Note: All `internal` methods of this class are thread safe
 24 | final class ConnectionPool {
    |             `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
 25 |     /// The configuration used to bootstrap new HTTP connections
 26 |     private let configuration: HTTPClient.Configuration
    :
109 |         return EventLoopFuture.andAllComplete(connectionProviders.map { $0.close() }, on: eventLoop).map {
110 |             self.connectionProvidersLock.withLock {
111 |                 assert(self.connectionProviders.count == 0, "left-overs: \(self.connectionProviders)")
    |                        `- warning: implicit capture of 'self' requires that 'ConnectionPool' conforms to `Sendable`; this is an error in the Swift 6 language mode
112 |             }
113 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:111:76: warning: implicit capture of 'self' requires that 'ConnectionPool' conforms to `Sendable`; this is an error in the Swift 6 language mode
 22 | ///
 23 | /// - Note: All `internal` methods of this class are thread safe
 24 | final class ConnectionPool {
    |             `- note: class 'ConnectionPool' does not conform to the 'Sendable' protocol
 25 |     /// The configuration used to bootstrap new HTTP connections
 26 |     private let configuration: HTTPClient.Configuration
    :
109 |         return EventLoopFuture.andAllComplete(connectionProviders.map { $0.close() }, on: eventLoop).map {
110 |             self.connectionProvidersLock.withLock {
111 |                 assert(self.connectionProviders.count == 0, "left-overs: \(self.connectionProviders)")
    |                                                                            `- warning: implicit capture of 'self' requires that 'ConnectionPool' conforms to `Sendable`; this is an error in the Swift 6 language mode
112 |             }
113 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:233:17: warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
231 |         func removeIdleConnectionHandlersForLease() -> EventLoopFuture<Connection> {
232 |             return self.channel.eventLoop.flatSubmit {
233 |                 self.removeHandler(IdleStateHandler.self).flatMap { () -> EventLoopFuture<Bool> in
    |                 `- warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 |                     self.channel.pipeline.handler(type: IdlePoolConnectionHandler.self).flatMap { idleHandler in
235 |                         self.channel.pipeline.removeHandler(idleHandler).flatMapError { _ in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:234:21: warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
232 |             return self.channel.eventLoop.flatSubmit {
233 |                 self.removeHandler(IdleStateHandler.self).flatMap { () -> EventLoopFuture<Bool> in
234 |                     self.channel.pipeline.handler(type: IdlePoolConnectionHandler.self).flatMap { idleHandler in
    |                     `- warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
235 |                         self.channel.pipeline.removeHandler(idleHandler).flatMapError { _ in
236 |                             self.channel.eventLoop.makeSucceededFuture(())
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:235:25: warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
233 |                 self.removeHandler(IdleStateHandler.self).flatMap { () -> EventLoopFuture<Bool> in
234 |                     self.channel.pipeline.handler(type: IdlePoolConnectionHandler.self).flatMap { idleHandler in
235 |                         self.channel.pipeline.removeHandler(idleHandler).flatMapError { _ in
    |                         `- warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |                             self.channel.eventLoop.makeSucceededFuture(())
237 |                         }.map {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:236:29: warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
234 |                     self.channel.pipeline.handler(type: IdlePoolConnectionHandler.self).flatMap { idleHandler in
235 |                         self.channel.pipeline.removeHandler(idleHandler).flatMapError { _ in
236 |                             self.channel.eventLoop.makeSucceededFuture(())
    |                             `- warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
237 |                         }.map {
238 |                             idleHandler.hasNotSentClose && self.channel.isActive
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:238:29: warning: capture of 'idleHandler' with non-sendable type 'IdlePoolConnectionHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 |                             self.channel.eventLoop.makeSucceededFuture(())
237 |                         }.map {
238 |                             idleHandler.hasNotSentClose && self.channel.isActive
    |                             `- warning: capture of 'idleHandler' with non-sendable type 'IdlePoolConnectionHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |                         }
240 |                     }.flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:1025:7: note: class 'IdlePoolConnectionHandler' does not conform to the 'Sendable' protocol
1023 | }
1024 |
1025 | class IdlePoolConnectionHandler: ChannelInboundHandler, RemovableChannelHandler {
     |       `- note: class 'IdlePoolConnectionHandler' does not conform to the 'Sendable' protocol
1026 |     typealias InboundIn = NIOAny
1027 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:238:60: warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
236 |                             self.channel.eventLoop.makeSucceededFuture(())
237 |                         }.map {
238 |                             idleHandler.hasNotSentClose && self.channel.isActive
    |                                                            `- warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
239 |                         }
240 |                     }.flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:238:60: warning: implicit capture of 'self' requires that 'ConnectionPool.Connection' conforms to `Sendable`; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
236 |                             self.channel.eventLoop.makeSucceededFuture(())
237 |                         }.map {
238 |                             idleHandler.hasNotSentClose && self.channel.isActive
    |                                                            `- warning: implicit capture of 'self' requires that 'ConnectionPool.Connection' conforms to `Sendable`; this is an error in the Swift 6 language mode
239 |                         }
240 |                     }.flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:244:36: warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
242 |                         // when a connection is made to be instantly leased, so we ignore this error
243 |                         if let channelError = error as? ChannelPipelineError, channelError == .notFound {
244 |                             return self.channel.eventLoop.makeSucceededFuture(self.channel.isActive)
    |                                    `- warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
245 |                         } else {
246 |                             return self.channel.eventLoop.makeFailedFuture(error)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:251:32: warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
249 |                 }.flatMap { channelIsUsable in
250 |                     if channelIsUsable {
251 |                         return self.channel.eventLoop.makeSucceededFuture(self)
    |                                `- warning: capture of 'self' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
252 |                     } else {
253 |                         return self.channel.eventLoop.makeFailedFuture(InactiveChannelError())
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:331:21: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
329 |             case .leaseConnection(let connection):
330 |                 return connection.removeIdleConnectionHandlersForLease().flatMapError { _ in
331 |                     connection.closeFuture.flatMap { // We ensure close actions are run first
    |                     `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
332 |                         let defaultEventLoop = self.stateLock.withLock {
333 |                             self.state.defaultEventLoop
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:332:48: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
330 |                 return connection.removeIdleConnectionHandlersForLease().flatMapError { _ in
331 |                     connection.closeFuture.flatMap { // We ensure close actions are run first
332 |                         let defaultEventLoop = self.stateLock.withLock {
    |                                                `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
333 |                             self.state.defaultEventLoop
334 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:335:56: warning: capture of 'preference' with non-sendable type 'HTTPClient.EventLoopPreference' in a `@Sendable` closure; this is an error in the Swift 6 language mode
333 |                             self.state.defaultEventLoop
334 |                         }
335 |                         return self.makeConnection(on: preference.bestEventLoop ?? defaultEventLoop)
    |                                                        `- warning: capture of 'preference' with non-sendable type 'HTTPClient.EventLoopPreference' in a `@Sendable` closure; this is an error in the Swift 6 language mode
336 |                     }
337 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:542:19: note: consider making struct 'EventLoopPreference' conform to the 'Sendable' protocol
540 |
541 |     /// Specifies how the library will treat event loop passed by the user.
542 |     public struct EventLoopPreference {
    |                   `- note: consider making struct 'EventLoopPreference' conform to the 'Sendable' protocol
543 |         enum Preference {
544 |             /// Event Loop will be selected by the library.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:332:48: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
330 |                 return connection.removeIdleConnectionHandlersForLease().flatMapError { _ in
331 |                     connection.closeFuture.flatMap { // We ensure close actions are run first
332 |                         let defaultEventLoop = self.stateLock.withLock {
    |                                                `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
333 |                             self.state.defaultEventLoop
334 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:335:56: warning: capture of 'preference' with non-sendable type 'HTTPClient.EventLoopPreference' in a `@Sendable` closure; this is an error in the Swift 6 language mode
333 |                             self.state.defaultEventLoop
334 |                         }
335 |                         return self.makeConnection(on: preference.bestEventLoop ?? defaultEventLoop)
    |                                                        `- warning: capture of 'preference' with non-sendable type 'HTTPClient.EventLoopPreference' in a `@Sendable` closure; this is an error in the Swift 6 language mode
336 |                     }
337 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:542:19: note: consider making struct 'EventLoopPreference' conform to the 'Sendable' protocol
540 |
541 |     /// Specifies how the library will treat event loop passed by the user.
542 |     public struct EventLoopPreference {
    |                   `- note: consider making struct 'EventLoopPreference' conform to the 'Sendable' protocol
543 |         enum Preference {
544 |             /// Event Loop will be selected by the library.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:333:29: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
331 |                     connection.closeFuture.flatMap { // We ensure close actions are run first
332 |                         let defaultEventLoop = self.stateLock.withLock {
333 |                             self.state.defaultEventLoop
    |                             `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
334 |                         }
335 |                         return self.makeConnection(on: preference.bestEventLoop ?? defaultEventLoop)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:359:21: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
357 |             case .replaceConnection(let eventLoop, let promise):
358 |                 connection.close().flatMap {
359 |                     self.makeConnection(on: eventLoop)
    |                     `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
360 |                 }.whenComplete { result in
361 |                     switch result {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:363:25: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<ConnectionPool.Connection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
361 |                     switch result {
362 |                     case .success(let connection):
363 |                         promise.succeed(connection)
    |                         `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<ConnectionPool.Connection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 |                     case .failure(let error):
365 |                         promise.fail(error)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:389:61: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
387 |
388 |             return channel.flatMap { channel -> EventLoopFuture<ConnectionPool.Connection> in
389 |                 channel.pipeline.addSSLHandlerIfNeeded(for: self.key, tlsConfiguration: self.configuration.tlsConfiguration, handshakePromise: handshakePromise)
    |                                                             `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
390 |                 return handshakePromise.futureResult.flatMap {
391 |                     channel.pipeline.addHTTPClientHandlers(leftOverBytesStrategy: .forwardBytes)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:393:54: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
391 |                     channel.pipeline.addHTTPClientHandlers(leftOverBytesStrategy: .forwardBytes)
392 |                 }.map {
393 |                     let connection = Connection(key: self.key, channel: channel, parentPool: self.parentPool)
    |                                                      `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
394 |                     connection.isLeased = true
395 |                     return connection
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:398:17: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
396 |                 }
397 |             }.map { connection in
398 |                 self.configureCloseCallback(of: connection)
    |                 `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
399 |                 return connection
400 |             }.flatMapError { error in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:404:30: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
402 |                 // so we fail it to avoid any leak
403 |                 handshakePromise.fail(error)
404 |                 let action = self.parentPool.connectionProvidersLock.withLock {
    |                              `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
405 |                     self.stateLock.withLock {
406 |                         self.state.failedConnectionAction()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:405:21: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
403 |                 handshakePromise.fail(error)
404 |                 let action = self.parentPool.connectionProvidersLock.withLock {
405 |                     self.stateLock.withLock {
    |                     `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
406 |                         self.state.failedConnectionAction()
407 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:406:25: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
404 |                 let action = self.parentPool.connectionProvidersLock.withLock {
405 |                     self.stateLock.withLock {
406 |                         self.state.failedConnectionAction()
    |                         `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
407 |                     }
408 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:425:91: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
423 |         private func configureCloseCallback(of connection: Connection) {
424 |             connection.channel.closeFuture.whenComplete { result in
425 |                 let action: HTTP1ConnectionProvider.State.ClosedConnectionRemoveAction? = self.parentPool.connectionProvidersLock.withLock {
    |                                                                                           `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
426 |                     self.stateLock.withLock {
427 |                         guard connection.mustRunDefaultCloseCallback else {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:427:31: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
425 |                 let action: HTTP1ConnectionProvider.State.ClosedConnectionRemoveAction? = self.parentPool.connectionProvidersLock.withLock {
426 |                     self.stateLock.withLock {
427 |                         guard connection.mustRunDefaultCloseCallback else {
    |                               `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
428 |                             return nil
429 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:426:21: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
424 |             connection.channel.closeFuture.whenComplete { result in
425 |                 let action: HTTP1ConnectionProvider.State.ClosedConnectionRemoveAction? = self.parentPool.connectionProvidersLock.withLock {
426 |                     self.stateLock.withLock {
    |                     `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
427 |                         guard connection.mustRunDefaultCloseCallback else {
428 |                             return nil
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:427:31: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in an isolated closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
425 |                 let action: HTTP1ConnectionProvider.State.ClosedConnectionRemoveAction? = self.parentPool.connectionProvidersLock.withLock {
426 |                     self.stateLock.withLock {
427 |                         guard connection.mustRunDefaultCloseCallback else {
    |                               `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in an isolated closure; this is an error in the Swift 6 language mode
428 |                             return nil
429 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:427:31: warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in an isolated closure; this is an error in the Swift 6 language mode
162 |     ///
163 |     /// - Warning: `Connection` properties are not thread-safe and should be used with proper synchronization
164 |     class Connection: CustomStringConvertible {
    |           `- note: class 'Connection' does not conform to the 'Sendable' protocol
165 |         init(key: Key, channel: Channel, parentPool: ConnectionPool) {
166 |             self.key = key
    :
425 |                 let action: HTTP1ConnectionProvider.State.ClosedConnectionRemoveAction? = self.parentPool.connectionProvidersLock.withLock {
426 |                     self.stateLock.withLock {
427 |                         guard connection.mustRunDefaultCloseCallback else {
    |                               `- warning: capture of 'connection' with non-sendable type 'ConnectionPool.Connection' in an isolated closure; this is an error in the Swift 6 language mode
428 |                             return nil
429 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:432:36: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
430 |                         switch result {
431 |                         case .success:
432 |                             return self.state.removeClosedConnection(connection)
    |                                    `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
433 |
434 |                         case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:468:76: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
466 |             return EventLoopFuture<Connection>.andAllComplete(waitersFutures, on: self.eventLoop)
467 |                 .flatMap {
468 |                     EventLoopFuture<Void>.andAllComplete(closeFutures, on: self.eventLoop)
    |                                                                            `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
469 |                 }
470 |                 .map { _ in
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:471:21: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
469 |                 }
470 |                 .map { _ in
471 |                     self.stateLock.withLock {
    |                     `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in a `@Sendable` closure; this is an error in the Swift 6 language mode
472 |                         if self.state.leased == 0, self.state.availableConnections.isEmpty {
473 |                             self.state.activity = .closed
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:472:28: warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
265 |     /// of concurrent requests as it has built-in politeness regarding the maximum number
266 |     /// of concurrent requests to the server.
267 |     class HTTP1ConnectionProvider: CustomStringConvertible {
    |           `- note: class 'HTTP1ConnectionProvider' does not conform to the 'Sendable' protocol
268 |         /// The default `EventLoop` for this provider
269 |         ///
    :
470 |                 .map { _ in
471 |                     self.stateLock.withLock {
472 |                         if self.state.leased == 0, self.state.availableConnections.isEmpty {
    |                            `- warning: capture of 'self' with non-sendable type 'ConnectionPool.HTTP1ConnectionProvider' in an isolated closure; this is an error in the Swift 6 language mode
473 |                             self.state.activity = .closed
474 |                         } else {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:55:29: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 53 |     var state: State
 54 |     private var tasks = [UUID: TaskProtocol]()
 55 |     private let stateLock = Lock()
    |                             |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                             `- note: use 'NIOLock' instead
 56 |
 57 |     /// Create an `HTTPClient` with specified `EventLoopGroup` provider and configuration.
[741/742] Compiling AsyncHTTPClient HTTPClientProxyHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClientProxyHandler.swift:146:13: warning: capture of 'self' with non-sendable type 'HTTPClientProxyHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | internal final class HTTPClientProxyHandler: ChannelDuplexHandler, RemovableChannelHandler {
    |                      `- note: class 'HTTPClientProxyHandler' does not conform to the 'Sendable' protocol
 59 |     typealias InboundIn = HTTPClientResponsePart
 60 |     typealias OutboundIn = HTTPClientRequestPart
    :
144 |     private func handleConnect(context: ChannelHandlerContext) -> EventLoopFuture<Void> {
145 |         return self.onConnect(context.channel).flatMap {
146 |             self.readState = .connected
    |             `- warning: capture of 'self' with non-sendable type 'HTTPClientProxyHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 |
148 |             // forward any buffered reads
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClientProxyHandler.swift:150:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
148 |             // forward any buffered reads
149 |             while !self.readBuffer.isEmpty {
150 |                 context.fireChannelRead(self.readBuffer.removeFirst())
    |                 `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
151 |             }
152 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1456:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1454 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1455 | /// `ChannelHandler`.
1456 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1457 |     // visible for ChannelPipeline to modify
1458 |     fileprivate var next: Optional<ChannelHandlerContext>
[742/742] Emitting module AsyncHTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:37:43: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 35 |     ///
 36 |     /// - Warning: This lock should always be acquired *before* `HTTP1ConnectionProvider`s `stateLock` if used in combination with it.
 37 |     private let connectionProvidersLock = Lock()
    |                                           |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                           `- note: use 'NIOLock' instead
 38 |
 39 |     init(configuration: HTTPClient.Configuration) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:291:37: warning: 'Lock' is deprecated: renamed to 'NIOLock'
289 |         ///
290 |         /// - Warning: This lock should always be acquired *after* `ConnectionPool`s `connectionProvidersLock` if used in combination with it.
291 |         fileprivate let stateLock = Lock()
    |                                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                                     `- note: use 'NIOLock' instead
292 |
293 |         /// The maximum number of concurrent connections to a given (host, scheme, port)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:55:29: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 53 |     var state: State
 54 |     private var tasks = [UUID: TaskProtocol]()
 55 |     private let stateLock = Lock()
    |                             |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                             `- note: use 'NIOLock' instead
 56 |
 57 |     /// Create an `HTTPClient` with specified `EventLoopGroup` provider and configuration.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:561:27: warning: static property 'indifferent' is not concurrency-safe because non-'Sendable' type 'HTTPClient.EventLoopPreference' may have shared mutable state; this is an error in the Swift 6 language mode
540 |
541 |     /// Specifies how the library will treat event loop passed by the user.
542 |     public struct EventLoopPreference {
    |                   `- note: consider making struct 'EventLoopPreference' conform to the 'Sendable' protocol
543 |         enum Preference {
544 |             /// Event Loop will be selected by the library.
    :
559 |
560 |         /// Event Loop will be selected by the library.
561 |         public static let indifferent = EventLoopPreference(.indifferent)
    |                           |- warning: static property 'indifferent' is not concurrency-safe because non-'Sendable' type 'HTTPClient.EventLoopPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'indifferent' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
562 |
563 |         /// The delegate will be run on the specified EventLoop (and the Channel if possible).
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:648:27: warning: static property 'disallow' is not concurrency-safe because non-'Sendable' type 'HTTPClient.Configuration.RedirectConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
627 |
628 |     /// Specifies redirect processing settings.
629 |     public struct RedirectConfiguration {
    |                   `- note: consider making struct 'RedirectConfiguration' conform to the 'Sendable' protocol
630 |         enum Configuration {
631 |             /// Redirects are not followed.
    :
646 |
647 |         /// Redirects are not followed.
648 |         public static let disallow = RedirectConfiguration(configuration: .disallow)
    |                           |- warning: static property 'disallow' is not concurrency-safe because non-'Sendable' type 'HTTPClient.Configuration.RedirectConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'disallow' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
649 |
650 |         /// Redirects are followed with a specified limit.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:107:32: warning: static property 'hostSchemes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 105 |             case unixSocket
 106 |
 107 |             private static var hostSchemes = ["http", "https"]
     |                                |- warning: static property 'hostSchemes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: convert 'hostSchemes' to a 'let' constant to make 'Sendable' shared state immutable
     |                                |- note: annotate 'hostSchemes' with '@MainActor' if property should only be accessed from the main actor
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 108 |             private static var unixSchemes = ["unix"]
 109 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:108:32: warning: static property 'unixSchemes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 106 |
 107 |             private static var hostSchemes = ["http", "https"]
 108 |             private static var unixSchemes = ["unix"]
     |                                |- warning: static property 'unixSchemes' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
     |                                |- note: convert 'unixSchemes' to a 'let' constant to make 'Sendable' shared state immutable
     |                                |- note: annotate 'unixSchemes' with '@MainActor' if property should only be accessed from the main actor
     |                                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 109 |
 110 |             init(forScheme scheme: String) throws {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:496:19: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 494 |         var connection: ConnectionPool.Connection?
 495 |         var cancelled: Bool
 496 |         let lock: Lock
     |                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
     |                   `- note: use 'NIOLock' instead
 497 |         let id = UUID()
 498 |         let poolingTimeout: TimeAmount?
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:1028:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
1026 |     typealias InboundIn = NIOAny
1027 |
1028 |     let _hasNotSentClose: NIOAtomic<Bool> = .makeAtomic(value: true)
     |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
1029 |     var hasNotSentClose: Bool {
1030 |         return self._hasNotSentClose.load()
Build complete! (66.91s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/4833] Fetching swift-nio-extras
[485/17101] Fetching swift-nio-extras, swift-nio-ssl
[5795/82708] Fetching swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.56s)
Fetched https://github.com/apple/swift-nio.git from cache (3.56s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.56s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.22.0 (0.79s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-nio-http2.git
[1/414] Fetching swift-http-types
[415/10647] Fetching swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.54s)
Fetched https://github.com/apple/swift-http-types from cache (1.54s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.1.0 (0.67s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.31.0 (0.53s)
Fetching https://github.com/apple/swift-atomics.git
[1/1563] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.09s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.54s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.65.0 (0.67s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3523] Fetching swift-system
[72/17552] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.77s)
Fetched https://github.com/apple/swift-collections.git from cache (1.77s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.85s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.26.0 (0.73s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.65.0
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.26.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-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.1.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.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.22.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.13.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-nio-extras",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-extras.git"
    }
  ],
  "manifest_display_name" : "async-http-client",
  "name" : "async-http-client",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AsyncHTTPClient",
      "targets" : [
        "AsyncHTTPClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncHTTPClientTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncHTTPClientTests",
      "path" : "Tests/AsyncHTTPClientTests",
      "product_dependencies" : [
        "NIO",
        "NIOConcurrencyHelpers",
        "NIOSSL",
        "NIOFoundationCompat",
        "NIOTestUtils"
      ],
      "sources" : [
        "HTTPClientCookieTests+XCTest.swift",
        "HTTPClientCookieTests.swift",
        "HTTPClientInternalTests+XCTest.swift",
        "HTTPClientInternalTests.swift",
        "HTTPClientTestUtils.swift",
        "HTTPClientTests+XCTest.swift",
        "HTTPClientTests.swift",
        "RequestValidationTests+XCTest.swift",
        "RequestValidationTests.swift"
      ],
      "target_dependencies" : [
        "AsyncHTTPClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncHTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "AsyncHTTPClient",
      "path" : "Sources/AsyncHTTPClient",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOSSL",
        "NIOConcurrencyHelpers",
        "NIOHTTPCompression",
        "NIOFoundationCompat"
      ],
      "product_memberships" : [
        "AsyncHTTPClient"
      ],
      "sources" : [
        "ConnectionPool.swift",
        "HTTPClient+HTTPCookie.swift",
        "HTTPClient.swift",
        "HTTPClientProxyHandler.swift",
        "HTTPHandler.swift",
        "RequestValidation.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.