The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of async-http-client, reference master (3950c9), with Swift 6.0 for Linux on 30 Nov 2024 10:42:28 UTC.

Swift 6 data race errors: 4

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/iainsmith/async-http-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/5177] Fetching swift-nio-extras
[5178/77191] Fetching swift-nio-extras, swift-nio
[9499/90841] Fetching swift-nio-extras, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.07s)
[60628/77191] Fetching swift-nio-extras, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (5.04s)
Fetched https://github.com/apple/swift-nio.git from cache (5.12s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.24.1 (0.51s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-nio-http2.git
[1/671] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.23s)
[1/11159] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.08s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (0.49s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.34.1 (0.53s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.54s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (1.04s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3919] Fetching swift-system
[3920/19522] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.05s)
Fetched https://github.com/apple/swift-collections.git from cache (1.08s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.78s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.0 (0.57s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.24.1
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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.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.34.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.29.0
Building for debugging...
[0/438] Write sources
[14/438] Compiling CNIOLinux liburing_shims.c
[15/438] Compiling CNIOWindows WSAStartup.c
[15/438] Compiling _AtomicsShims.c
[17/438] Compiling CNIOWASI CNIOWASI.c
[17/438] Compiling CNIOWindows shim.c
[19/438] Compiling CNIOExtrasZlib empty.c
[20/438] Compiling CNIOLLHTTP c_nio_http.c
[21/438] Compiling CNIODarwin shim.c
[22/438] Compiling CNIOLinux shim.c
[23/438] Compiling fiat_p256_adx_mul.S
[24/438] Compiling fiat_p256_adx_sqr.S
[25/438] Compiling fiat_curve25519_adx_square.S
[26/438] Compiling CNIOLLHTTP c_nio_api.c
[27/438] Compiling fiat_curve25519_adx_mul.S
[28/438] Write swift-version-24593BA9C3E375BF.txt
[29/438] Compiling CNIOLLHTTP c_nio_llhttp.c
[30/438] Compiling CNIOBoringSSLShims shims.c
[32/444] Emitting module _NIOBase64
[32/444] Compiling tls_method.cc
[33/444] Compiling tls_record.cc
[34/444] Compiling tls13_enc.cc
[35/444] Compiling tls13_client.cc
[36/444] Compiling tls13_server.cc
[37/444] Compiling tls13_both.cc
[39/461] Emitting module InternalCollectionsUtilities
[39/463] Compiling t1_enc.cc
[40/463] Compiling ssl_stat.cc
[41/463] Compiling ssl_versions.cc
[42/463] Compiling ssl_transcript.cc
[43/463] Compiling ssl_x509.cc
[44/463] Compiling ssl_privkey.cc
[45/463] Compiling ssl_key_share.cc
[46/463] Compiling ssl_file.cc
[47/463] Compiling ssl_session.cc
[48/463] Compiling ssl_lib.cc
[49/463] Compiling ssl_credential.cc
[50/463] Compiling ssl_buffer.cc
[51/463] Compiling ssl_cipher.cc
[52/463] Compiling ssl_cert.cc
[53/463] Compiling ssl_asn1.cc
[55/463] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[56/463] Compiling InternalCollectionsUtilities Specialize.swift
[57/463] Compiling InternalCollectionsUtilities Debugging.swift
[58/463] Compiling InternalCollectionsUtilities Descriptions.swift
[59/463] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[60/463] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[61/463] Compiling InternalCollectionsUtilities _SortedCollection.swift
[62/463] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[63/463] Compiling InternalCollectionsUtilities UInt+reversed.swift
[64/463] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[65/463] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[66/463] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[67/463] Compiling _NIOBase64 Base64.swift
[68/463] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[69/463] Compiling InternalCollectionsUtilities Integer rank.swift
[70/463] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[71/463] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[72/463] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[73/463] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[74/465] Compiling _NIODataStructures PriorityQueue.swift
[75/465] Compiling _NIODataStructures _TinyArray.swift
[77/465] Compiling s3_lib.cc
[78/465] Compiling ssl_aead_ctx.cc
[79/465] Compiling s3_pkt.cc
[80/465] Compiling s3_both.cc
[82/480] Compiling _NIODataStructures Heap.swift
[83/480] Emitting module _NIODataStructures
[84/481] Compiling DequeModule _DequeBuffer.swift
[85/481] Compiling DequeModule _DequeBufferHeader.swift
[87/483] Compiling DequeModule Deque+CustomReflectable.swift
[88/483] Compiling DequeModule Deque+Descriptions.swift
[89/483] Compiling DequeModule Deque+Equatable.swift
[90/483] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[90/483] Compiling handshake_server.cc
[92/483] Compiling DequeModule _DequeSlot.swift
[93/483] Compiling DequeModule _UnsafeWrappedBuffer.swift
[94/483] Compiling DequeModule Deque+Extras.swift
[95/483] Compiling DequeModule Deque+Hashable.swift
[96/483] Compiling DequeModule Deque+Testing.swift
[97/483] Compiling DequeModule Deque._Storage.swift
[98/483] Compiling DequeModule Deque._UnsafeHandle.swift
[99/483] Compiling DequeModule Deque.swift
[100/483] Compiling DequeModule Deque+Codable.swift
[101/483] Compiling DequeModule Deque+Collection.swift
[101/483] Compiling handshake.cc
[102/483] Compiling encrypted_client_hello.cc
[103/483] Compiling handshake_client.cc
[104/483] Compiling extensions.cc
[105/483] Compiling handoff.cc
[106/483] Compiling dtls_record.cc
[107/483] Compiling dtls_method.cc
[109/483] Emitting module DequeModule
[109/484] Compiling md5-x86_64-linux.S
[110/484] Compiling md5-x86_64-apple.S
[111/484] Compiling md5-586-linux.S
[112/484] Compiling md5-586-apple.S
[114/484] Compiling err_data.c
[115/484] Compiling chacha20_poly1305_x86_64-apple.S
[116/484] Compiling chacha20_poly1305_x86_64-linux.S
[117/484] Compiling chacha20_poly1305_armv8-win.S
[118/484] Compiling chacha20_poly1305_armv8-linux.S
[119/484] Compiling chacha20_poly1305_armv8-apple.S
[120/484] Compiling chacha-x86_64-linux.S
[121/484] Compiling chacha-x86-linux.S
[122/484] Compiling chacha-x86_64-apple.S
[123/484] Compiling chacha-x86-apple.S
[124/484] Compiling chacha-armv8-win.S
[125/484] Compiling chacha-armv8-apple.S
[126/484] Compiling chacha-armv8-linux.S
[127/484] Compiling chacha-armv4-linux.S
[128/484] Compiling aes128gcmsiv-x86_64-apple.S
[129/484] Compiling aes128gcmsiv-x86_64-linux.S
[130/484] Compiling bio_ssl.cc
[131/484] Compiling x86_64-mont5-linux.S
[132/484] Compiling x86_64-mont5-apple.S
[133/484] Compiling x86_64-mont-linux.S
[134/484] Compiling x86_64-mont-apple.S
[135/484] Compiling vpaes-x86_64-linux.S
[136/484] Compiling x86-mont-apple.S
[137/484] Compiling x86-mont-linux.S
[138/484] Compiling vpaes-x86-linux.S
[139/484] Compiling vpaes-x86_64-apple.S
[140/484] Compiling vpaes-armv8-win.S
[141/484] Compiling vpaes-x86-apple.S
[142/484] Compiling vpaes-armv8-linux.S
[143/484] Compiling vpaes-armv8-apple.S
[144/484] Compiling vpaes-armv7-linux.S
[145/484] Compiling sha512-x86_64-linux.S
[146/484] Compiling sha512-armv8-linux.S
[147/484] Compiling sha512-x86_64-apple.S
[148/484] Compiling sha512-armv8-win.S
[149/484] Compiling sha512-armv8-apple.S
[150/484] Compiling sha512-armv4-linux.S
[151/484] Compiling d1_pkt.cc
[152/484] Compiling sha512-586-linux.S
[153/484] Compiling sha512-586-apple.S
[154/484] Compiling sha256-x86_64-linux.S
[155/484] Compiling sha256-x86_64-apple.S
[156/484] Compiling sha256-armv8-win.S
[157/484] Compiling sha256-armv8-linux.S
[158/484] Compiling sha256-armv8-apple.S
[159/484] Compiling sha256-armv4-linux.S
[160/484] Compiling sha256-586-apple.S
[161/484] Compiling sha256-586-linux.S
[162/484] Compiling sha1-x86_64-apple.S
[163/484] Compiling sha1-x86_64-linux.S
[164/484] Compiling sha1-armv8-win.S
[165/484] Compiling d1_srtp.cc
[166/484] Compiling sha1-armv8-apple.S
[167/484] Compiling sha1-armv8-linux.S
[168/484] Compiling sha1-586-linux.S
[169/484] Compiling sha1-586-apple.S
[170/484] Compiling sha1-armv4-large-linux.S
[171/484] Compiling rsaz-avx2-apple.S
[172/484] Compiling rsaz-avx2-linux.S
[173/484] Compiling d1_lib.cc
[174/484] Compiling rdrand-x86_64-linux.S
[175/484] Compiling p256_beeu-x86_64-asm-linux.S
[176/484] Compiling p256_beeu-armv8-asm-linux.S
[177/484] Compiling p256_beeu-x86_64-asm-apple.S
[178/484] Compiling rdrand-x86_64-apple.S
[179/484] Compiling p256_beeu-armv8-asm-win.S
[180/484] Compiling d1_both.cc
[181/484] Compiling p256_beeu-armv8-asm-apple.S
[182/484] Compiling p256-x86_64-asm-linux.S
[182/484] Compiling p256-x86_64-asm-apple.S
[184/484] Compiling ghashv8-armv8-win.S
[185/484] Compiling p256-armv8-asm-apple.S
[186/484] Compiling p256-armv8-asm-linux.S
[187/484] Compiling p256-armv8-asm-win.S
[188/484] Compiling ghashv8-armv8-linux.S
[189/484] Compiling ghashv8-armv7-linux.S
[190/484] Compiling ghash-x86_64-linux.S
[191/484] Compiling ghashv8-armv8-apple.S
[192/484] Compiling ghash-ssse3-x86_64-apple.S
[193/484] Compiling ghash-x86_64-apple.S
[194/484] Compiling ghash-x86-linux.S
[195/484] Compiling ghash-x86-apple.S
[196/484] Compiling ghash-ssse3-x86_64-linux.S
[197/484] Compiling ghash-ssse3-x86-linux.S
[197/484] Compiling ghash-ssse3-x86-apple.S
[199/484] Compiling ghash-neon-armv8-win.S
[200/484] Compiling ghash-armv4-linux.S
[201/484] Compiling bsaes-armv7-linux.S
[202/484] Compiling ghash-neon-armv8-linux.S
[203/484] Compiling ghash-neon-armv8-apple.S
[204/484] Compiling co-586-linux.S
[205/484] Compiling co-586-apple.S
[206/484] Compiling bn-armv8-win.S
[207/484] Compiling bn-armv8-apple.S
[207/484] Compiling bn-armv8-linux.S
[209/484] Compiling bn-586-linux.S
[210/484] Compiling armv8-mont-linux.S
[211/484] Compiling armv8-mont-win.S
[212/484] Compiling bn-586-apple.S
[213/484] Compiling armv8-mont-apple.S
[214/484] Compiling aesv8-gcm-armv8-linux.S
[215/484] Compiling aesv8-armv8-win.S
[216/484] Compiling aesv8-armv8-apple.S
[217/484] Compiling armv4-mont-linux.S
[218/484] Compiling aesv8-gcm-armv8-apple.S
[219/484] Compiling aesv8-gcm-armv8-win.S
[220/484] Compiling aesv8-armv8-linux.S
[221/484] Compiling aesv8-armv7-linux.S
[222/484] Compiling aesni-gcm-x86_64-linux.S
[223/484] Compiling aesni-x86_64-linux.S
[224/484] Compiling aesni-x86-linux.S
[225/484] Compiling aesni-x86_64-apple.S
[226/484] Compiling aesni-x86-apple.S
[227/484] Compiling aesni-gcm-x86_64-apple.S
[228/484] Compiling x_val.c
[229/484] Compiling x_sig.c
[230/484] Compiling x_x509a.c
[231/484] Compiling x_pubkey.c
[232/484] Compiling x_x509.c
[233/484] Compiling x_req.c
[234/484] Compiling x_spki.c
[235/484] Compiling x_name.c
[236/484] Compiling x_exten.c
[237/484] Compiling x_all.c
[238/484] Compiling x_crl.c
[239/484] Compiling x509spki.c
[240/484] Compiling x_attrib.c
[241/484] Compiling x509rset.c
[242/484] Compiling x_algor.c
[243/484] Compiling x509name.c
[244/484] Compiling x509cset.c
[245/484] Compiling x509_txt.c
[246/484] Compiling x509_vpm.c
[247/484] Compiling x509_trs.c
[248/484] Compiling x509_v3.c
[249/484] Compiling x509_set.c
[250/484] Compiling x509_vfy.c
[251/484] Compiling x509_req.c
[252/484] Compiling x509_obj.c
[253/484] Compiling x509_ext.c
[254/484] Compiling x509_lu.c
[255/484] Compiling x509_def.c
[256/484] Compiling x509_d2.c
[257/484] Compiling x509_cmp.c
[258/484] Compiling x509_att.c
[259/484] Compiling x509.c
[260/484] Compiling v3_utl.c
[261/484] Compiling v3_skey.c
[262/484] Compiling v3_prn.c
[263/484] Compiling v3_purp.c
[264/484] Compiling v3_pmaps.c
[265/484] Compiling v3_pcons.c
[266/484] Compiling v3_ocsp.c
[267/484] Compiling v3_ncons.c
[268/484] Compiling v3_lib.c
[269/484] Compiling v3_int.c
[270/484] Compiling v3_ia5.c
[271/484] Compiling v3_info.c
[272/484] Compiling v3_genn.c
[273/484] Compiling v3_enum.c
[274/484] Compiling v3_extku.c
[275/484] Compiling v3_conf.c
[276/484] Compiling v3_cpols.c
[277/484] Compiling v3_crld.c
[278/484] Compiling v3_bitst.c
[279/484] Compiling v3_bcons.c
[280/484] Compiling v3_alt.c
[281/484] Compiling v3_akey.c
[282/484] Compiling v3_akeya.c
[283/484] Compiling t_crl.c
[284/484] Compiling t_req.c
[285/484] Compiling t_x509.c
[286/484] Compiling t_x509a.c
[287/484] Compiling i2d_pr.c
[288/484] Compiling rsa_pss.c
[289/484] Compiling name_print.c
[290/484] Compiling by_dir.c
[290/484] Compiling by_file.c
[292/484] Compiling policy.c
[293/484] Compiling algorithm.c
[294/484] Compiling asn1_gen.c
[295/484] Compiling trust_token.c
[296/484] Compiling thread_win.c
[297/484] Compiling voprf.c
[298/484] Compiling a_verify.c
[299/484] Compiling a_digest.c
[300/484] Compiling a_sign.c
[301/484] Compiling thread_none.c
[302/484] Compiling thread_pthread.c
[303/484] Compiling thread.c
[304/484] Compiling spx_util.c
[305/484] Compiling spx_thash.c
[305/484] Compiling spx_wots.c
[307/484] Compiling spx_merkle.c
[308/484] Compiling stack.c
[309/484] Compiling pmbtoken.c
[310/484] Compiling spx_address.c
[311/484] Compiling spx_fors.c
[312/484] Compiling spx.c
[313/484] Compiling wots.c
[314/484] Compiling thash.c
[315/484] Compiling sha512.c
[316/484] Compiling siphash.c
[317/484] Compiling sha256.c
[318/484] Compiling fors.c
[319/484] Compiling merkle.c
[320/484] Compiling slhdsa.c
[321/484] Compiling sha1.c
[322/484] Compiling rsa_extra.c
[323/484] Compiling rsa_print.c
[324/484] Compiling rc4.c
[325/484] Compiling refcount.c
[326/484] Compiling trusty.c
[327/484] Compiling windows.c
[328/484] Compiling rand_extra.c
[329/484] Compiling rsa_asn1.c
[330/484] Compiling ios.c
[331/484] Compiling urandom.c
[332/484] Compiling getentropy.c
[333/484] Compiling forkunsafe.c
[334/484] Compiling rsa_crypt.c
[335/484] Compiling poly1305_arm_asm.S
[336/484] Compiling passive.c
[337/484] Compiling deterministic.c
[338/484] Compiling poly1305_arm.c
[339/484] Compiling fork_detect.c
[340/484] Compiling pool.c
[341/484] Compiling poly1305_vec.c
[342/484] Compiling poly1305.c
[343/484] Compiling pkcs7.c
[344/484] Compiling pkcs7_x509.c
[345/484] Compiling p5_pbev2.c
[346/484] Compiling pkcs8.c
[347/484] Compiling pem_xaux.c
[348/484] Compiling pem_x509.c
[348/484] Compiling pkcs8_x509.c
[350/484] Compiling pem_pkey.c
[351/484] Compiling pem_pk8.c
[352/484] Compiling pem_oth.c
[353/484] Compiling obj_xref.c
[354/484] Compiling pem_info.c
[355/484] Compiling md5.c
[356/484] Compiling pem_lib.c
[357/484] Compiling mldsa.c
[358/484] Compiling mem.c
[359/484] Compiling obj.c
[360/484] Compiling pem_all.c
[361/484] Compiling md4.c
[362/484] Compiling lhash.c
[363/484] Compiling fips_shared_support.c
[364/484] Compiling keccak.c
[365/484] Compiling poly_rq_mul.S
[366/484] Compiling sign.c
[367/484] Compiling kyber.c
[368/484] Compiling ex_data.c
[369/484] Compiling mlkem.cc
[370/484] Compiling hrss.c
[371/484] Compiling hpke.c
[372/484] Compiling pbkdf.c
[373/484] Compiling p_x25519_asn1.c
[374/484] Compiling scrypt.c
[375/484] Compiling p_rsa_asn1.c
[375/484] Compiling p_x25519.c
[377/484] Compiling print.c
[378/484] Compiling p_ed25519.c
[379/484] Compiling p_ed25519_asn1.c
[380/484] Compiling p_rsa.c
[381/484] Compiling p_ec_asn1.c
[382/484] Compiling p_hkdf.c
[383/484] Compiling p_ec.c
[384/484] Compiling p_dsa_asn1.c
[385/484] Compiling evp_ctx.c
[386/484] Compiling p_dh.c
[387/484] Compiling p_dh_asn1.c
[388/484] Compiling evp_asn1.c
[389/484] Compiling evp.c
[390/484] Compiling ecdsa_asn1.c
[391/484] Compiling engine.c
[392/484] Compiling err.c
[393/484] Compiling ecdh_extra.c
[394/484] Compiling hash_to_curve.c
[395/484] Compiling ec_derive.c
[396/484] Compiling dsa_asn1.c
[397/484] Compiling dsa.c
[398/484] Compiling params.c
[399/484] Compiling digest_extra.c
[400/484] Compiling ec_asn1.c
[401/484] Compiling dh_asn1.c
[402/484] Compiling spake25519.c
[403/484] Compiling dilithium.c
[404/484] Compiling x25519-asm-arm.S
[405/484] Compiling des.c
[406/484] Compiling cpu_intel.c
[407/484] Compiling cpu_arm_linux.c
[408/484] Compiling cpu_aarch64_win.c
[409/484] Compiling crypto.c
[410/484] Compiling cpu_arm_freebsd.c
[411/484] Compiling cpu_aarch64_sysreg.c
[412/484] Compiling cpu_aarch64_openbsd.c
[413/484] Compiling curve25519.c
[414/484] Compiling cpu_aarch64_linux.c
[415/484] Compiling cpu_aarch64_fuchsia.c
[416/484] Compiling cpu_aarch64_apple.c
[417/484] Compiling e_tls.c
[418/484] Compiling tls_cbc.c
[419/484] Compiling e_rc4.c
[420/484] Compiling conf.c
[421/484] Compiling e_null.c
[422/484] Compiling e_des.c
[423/484] Compiling derive_key.c
[424/484] Compiling e_rc2.c
[425/484] Compiling e_chacha20poly1305.c
[426/484] Compiling e_aesgcmsiv.c
[427/484] Compiling e_aesctrhmac.c
[428/484] Compiling cipher_extra.c
[429/484] Compiling unicode.c
[430/484] Compiling chacha.c
[431/484] Compiling curve25519_64_adx.c
[432/484] Compiling ber.c
[433/484] Compiling asn1_compat.c
[434/484] Compiling bn_asn1.c
[435/484] Compiling buf.c
[436/484] Compiling cbb.c
[437/484] Compiling cbs.c
[438/484] Compiling socket.c
[439/484] Compiling printf.c
[440/484] Compiling convert.c
[441/484] Compiling blake2.c
[442/484] Compiling socket_helper.c
[443/484] Compiling file.c
[444/484] Compiling pair.c
[445/484] Compiling errno.c
[445/484] Compiling hexdump.c
[447/484] Compiling fd.c
[448/484] Compiling bio_mem.c
[449/484] Compiling bio.c
[450/484] Compiling base64.c
[451/484] Compiling connect.c
[452/484] Compiling tasn_fre.c
[453/484] Compiling tasn_dec.c
[454/484] Compiling tasn_new.c
[455/484] Compiling f_string.c
[456/484] Compiling tasn_utl.c
[457/484] Compiling tasn_typ.c
[458/484] Compiling posix_time.c
[459/484] Compiling tasn_enc.c
[460/484] Compiling asn_pack.c
[461/484] Compiling f_int.c
[462/484] Compiling a_utctm.c
[463/484] Compiling asn1_par.c
[464/484] Compiling a_type.c
[465/484] Compiling a_time.c
[466/484] Compiling a_strnid.c
[467/484] Compiling asn1_lib.c
[468/484] Compiling a_octet.c
[469/484] Compiling bcm.c
[470/484] Compiling a_mbstr.c
[471/484] Compiling a_strex.c
[472/484] Compiling a_dup.c
[473/484] Compiling a_int.c
[474/484] Compiling a_d2i_fp.c
[475/484] Write sources
[475/484] Compiling a_i2d_fp.c
[476/484] Write sources
[478/484] Compiling a_object.c
[479/484] Compiling a_bool.c
[480/484] Compiling a_gentm.c
[481/484] Compiling a_bitstr.c
[483/503] Compiling Atomics ManagedAtomic.swift
[484/503] Compiling Atomics ManagedAtomicLazyReference.swift
[485/503] Compiling Atomics AtomicMemoryOrderings.swift
[486/503] Compiling Atomics DoubleWord.swift
[487/503] Compiling Atomics UnsafeAtomic.swift
[488/503] Compiling Atomics UnsafeAtomicLazyReference.swift
[489/505] Compiling Atomics OptionalRawRepresentable.swift
[490/505] Compiling Atomics RawRepresentable.swift
[491/505] Compiling Atomics AtomicBool.swift
[492/505] Compiling Atomics IntegerOperations.swift
[493/505] Compiling Atomics Unmanaged extensions.swift
[494/505] Compiling Atomics AtomicReference.swift
[495/505] Compiling Atomics AtomicStorage.swift
[496/505] Compiling Atomics AtomicValue.swift
[496/505] Compiling c-nioatomics.c
[497/505] Compiling c-atomics.c
[499/511] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[500/511] Compiling NIOConcurrencyHelpers NIOLock.swift
[501/511] Emitting module NIOConcurrencyHelpers
[502/511] Compiling NIOConcurrencyHelpers lock.swift
[503/511] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[504/511] Compiling NIOConcurrencyHelpers atomics.swift
[506/512] Compiling Atomics Primitives.shims.swift
[507/512] Compiling Atomics AtomicInteger.swift
[508/512] Compiling Atomics AtomicOptionalWrappable.swift
[509/512] Compiling Atomics IntegerConformances.swift
[510/512] Compiling Atomics PointerConformances.swift
[511/512] Compiling Atomics Primitives.native.swift
[512/512] Emitting module Atomics
[514/573] Compiling NIOCore MulticastChannel.swift
[515/573] Compiling NIOCore NIOAny.swift
[516/573] Compiling NIOCore NIOCloseOnErrorHandler.swift
[517/573] Compiling NIOCore NIOLoopBound.swift
[518/573] Compiling NIOCore NIOScheduledCallback.swift
[519/573] Compiling NIOCore NIOSendable.swift
[520/573] Compiling NIOCore PointerHelpers.swift
[521/573] Compiling NIOCore RecvByteBufferAllocator.swift
[522/581] Compiling NIOCore IO.swift
[523/581] Compiling NIOCore IOData.swift
[524/581] Compiling NIOCore IPProtocol.swift
[525/581] Compiling NIOCore IntegerBitPacking.swift
[526/581] Compiling NIOCore IntegerTypes.swift
[527/581] Compiling NIOCore Interfaces.swift
[528/581] Compiling NIOCore Linux.swift
[529/581] Compiling NIOCore MarkedCircularBuffer.swift
[530/581] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[531/581] Compiling NIOCore EventLoopFuture+Deprecated.swift
[532/581] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[533/581] Compiling NIOCore EventLoopFuture.swift
[534/581] Compiling NIOCore FileDescriptor.swift
[535/581] Compiling NIOCore FileHandle.swift
[536/581] Compiling NIOCore FileRegion.swift
[537/581] Compiling NIOCore GlobalSingletons.swift
[538/581] Compiling NIOCore CircularBuffer.swift
[539/581] Compiling NIOCore Codec.swift
[540/581] Compiling NIOCore ConvenienceOptionSupport.swift
[541/581] Compiling NIOCore DeadChannel.swift
[542/581] Compiling NIOCore DispatchQueue+WithFuture.swift
[543/581] Compiling NIOCore EventLoop+Deprecated.swift
[544/581] Compiling NIOCore EventLoop+SerialExecutor.swift
[545/581] Compiling NIOCore EventLoop.swift
[546/581] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[547/581] Compiling NIOCore BSDSocketAPI.swift
[548/581] Compiling NIOCore ByteBuffer-aux.swift
[549/581] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[550/581] Compiling NIOCore ByteBuffer-conversions.swift
[551/581] Compiling NIOCore ByteBuffer-core.swift
[552/581] Compiling NIOCore ByteBuffer-hex.swift
[553/581] Compiling NIOCore ByteBuffer-int.swift
[554/581] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[555/581] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[556/581] Compiling NIOCore SocketAddresses.swift
[557/581] Compiling NIOCore SocketOptionProvider.swift
[558/581] Compiling NIOCore SystemCallHelpers.swift
[559/581] Compiling NIOCore TimeAmount+Duration.swift
[560/581] Compiling NIOCore TypeAssistedChannelHandler.swift
[561/581] Compiling NIOCore UniversalBootstrapSupport.swift
[562/581] Compiling NIOCore Utilities.swift
[563/581] Compiling NIOCore AddressedEnvelope.swift
[564/581] Compiling NIOCore AsyncAwaitSupport.swift
[565/581] Compiling NIOCore AsyncChannel.swift
[566/581] Compiling NIOCore AsyncChannelHandler.swift
[567/581] Compiling NIOCore AsyncChannelInboundStream.swift
[568/581] Compiling NIOCore AsyncChannelOutboundWriter.swift
[569/581] Compiling NIOCore NIOAsyncSequenceProducer.swift
[570/581] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[571/581] Compiling NIOCore NIOAsyncWriter.swift
[572/581] Compiling NIOCore ByteBuffer-multi-int.swift
[573/581] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[574/581] Compiling NIOCore ByteBuffer-views.swift
[575/581] Compiling NIOCore Channel.swift
[576/581] Compiling NIOCore ChannelHandler.swift
[577/581] Compiling NIOCore ChannelHandlers.swift
[578/581] Compiling NIOCore ChannelInvoker.swift
[579/581] Compiling NIOCore ChannelOption.swift
[580/581] Compiling NIOCore ChannelPipeline.swift
[581/581] Emitting module NIOCore
[583/634] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[584/634] Emitting module NIOEmbedded
[585/634] Compiling NIOEmbedded AsyncTestingChannel.swift
[586/634] Compiling NIOEmbedded Embedded.swift
[588/635] Emitting module NIOPosix
[589/641] Compiling NIOPosix SelectableChannel.swift
[590/641] Compiling NIOPosix SelectableEventLoop.swift
[591/641] Compiling NIOPosix SelectorEpoll.swift
[592/641] Compiling NIOPosix SelectorGeneric.swift
[593/641] Compiling NIOPosix SelectorKqueue.swift
[594/641] Compiling NIOPosix SelectorUring.swift
[595/641] Compiling NIOPosix Pool.swift
[596/641] Compiling NIOPosix PooledRecvBufferAllocator.swift
[597/641] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[598/641] Compiling NIOPosix PosixSingletons.swift
[599/641] Compiling NIOPosix RawSocketBootstrap.swift
[600/641] Compiling NIOPosix Resolver.swift
[601/641] Compiling NIOPosix Selectable.swift
[602/641] Compiling NIOPosix ServerSocket.swift
[603/641] Compiling NIOPosix Socket.swift
[604/641] Compiling NIOPosix SocketChannel.swift
[605/641] Compiling NIOPosix SocketProtocols.swift
[606/641] Compiling NIOPosix System.swift
[607/641] Compiling NIOPosix Thread.swift
[608/641] Compiling NIOPosix ThreadPosix.swift
[609/641] Compiling NIOPosix ThreadWindows.swift
[610/641] Compiling NIOPosix UnsafeTransfer.swift
[611/641] Compiling NIOPosix Utilities.swift
[612/641] Compiling NIOPosix VsockAddress.swift
[613/641] Compiling NIOPosix VsockChannelEvents.swift
[614/641] Compiling NIOPosix IO.swift
[615/641] Compiling NIOPosix IntegerBitPacking.swift
[616/641] Compiling NIOPosix IntegerTypes.swift
[617/641] Compiling NIOPosix Linux.swift
[618/641] Compiling NIOPosix LinuxCPUSet.swift
[619/641] Compiling NIOPosix LinuxUring.swift
[620/641] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[621/641] Compiling NIOPosix NIOThreadPool.swift
[622/641] Compiling NIOPosix NonBlockingFileIO.swift
[623/641] Compiling NIOPosix PendingDatagramWritesManager.swift
[624/641] Compiling NIOPosix PendingWritesManager.swift
[625/641] Compiling NIOPosix PipeChannel.swift
[626/641] Compiling NIOPosix PipePair.swift
[627/641] Compiling NIOPosix PointerHelpers.swift
[628/641] Compiling NIOPosix BSDSocketAPICommon.swift
[629/641] Compiling NIOPosix BSDSocketAPIPosix.swift
[630/641] Compiling NIOPosix BSDSocketAPIWindows.swift
[631/641] Compiling NIOPosix BaseSocket.swift
[632/641] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[633/641] Compiling NIOPosix BaseSocketChannel.swift
[634/641] Compiling NIOPosix BaseStreamSocketChannel.swift
[635/641] Compiling NIOPosix Bootstrap.swift
[636/641] Compiling NIOPosix ControlMessage.swift
[637/641] Compiling NIOPosix DatagramVectorReadManager.swift
[638/641] Compiling NIOPosix Errors+Any.swift
[639/641] Compiling NIOPosix FileDescriptor.swift
[640/641] Compiling NIOPosix GetaddrinfoResolver.swift
[641/641] Compiling NIOPosix HappyEyeballs.swift
[643/644] Emitting module NIO
[644/644] Compiling NIO Exports.swift
[646/672] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[647/672] Compiling NIOTLS TLSEvents.swift
[648/672] Emitting module NIOTLS
[649/672] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[650/672] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[651/672] Compiling NIOTLS SNIHandler.swift
[653/690] Compiling NIOSSL ObjectIdentifier.swift
[654/690] Compiling NIOSSL PosixPort.swift
[655/703] Emitting module NIOHTTP1
[656/703] Compiling NIOSSL SSLCertificateExtensions.swift
[657/703] Compiling NIOSSL SSLConnection.swift
[658/703] Compiling NIOSSL IdentityVerification.swift
[659/703] Compiling NIOSSL LinuxCABundle.swift
[660/703] Compiling NIOSSL NIOSSLHandler.swift
[661/703] Compiling NIOSSL SSLCertificate.swift
[662/703] Compiling NIOSSL SSLContext.swift
[663/703] Compiling NIOSSL NIOSSLServerHandler.swift
[664/703] Compiling NIOSSL NIOSSLClientHandler.swift
[665/703] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[666/703] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[667/703] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[668/703] Compiling NIOSSL AndroidCABundle.swift
[669/703] Compiling NIOSSL ByteBufferBIO.swift
[670/703] Compiling NIOSSL CustomPrivateKey.swift
[672/705] Compiling NIOSSL NIOSSLSecureBytes.swift
[673/705] Compiling NIOSSL RNG.swift
[674/705] Compiling NIOSSL SafeCompare.swift
[675/705] Compiling NIOSSL SSLPublicKey.swift
[676/705] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[677/705] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[678/705] Compiling NIOSSL SubjectAlternativeName.swift
[680/713] Compiling NIOSSL SSLInit.swift
[681/713] Compiling NIOSSL SSLPKCS12Bundle.swift
[682/713] Compiling NIOSSL SSLPrivateKey.swift
[691/714] Emitting module NIOSSL
[692/714] Compiling NIOHTTPCompression HTTPRequestDecompressor.swift
[693/714] Compiling NIOHTTPCompression HTTPRequestCompressor.swift
[694/714] Compiling NIOHTTPCompression HTTPResponseDecompressor.swift
[695/714] Compiling NIOHTTPCompression HTTPCompression.swift
[696/714] Emitting module NIOHTTPCompression
[697/714] Compiling NIOHTTPCompression HTTPDecompression.swift
[698/714] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[700/715] Compiling NIOSSL Zeroization.swift
[701/715] Compiling NIOSSL TLSConfiguration.swift
[702/715] Compiling NIOSSL UniversalBootstrapSupport.swift
[703/715] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[704/715] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[705/715] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[715/716] Emitting module NIOFoundationCompat
[716/716] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[718/725] Compiling AsyncHTTPClient RequestValidation.swift
[719/725] Compiling AsyncHTTPClient Utils.swift
/host/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(())
/host/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?
/host/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 |             }
/host/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 |             }
/host/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 |     }
/host/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
[720/725] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[721/725] Compiling AsyncHTTPClient ConnectionPool.swift
/host/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) {
/host/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)
/host/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 |             }
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:232:43: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
230 |
231 |         func removeIdleConnectionHandlersForLease() -> EventLoopFuture<Connection> {
232 |             return self.channel.eventLoop.flatSubmit {
    |                                           `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 |                 self.removeHandler(IdleStateHandler.self).flatMap { () -> EventLoopFuture<Bool> in
234 |                     self.channel.pipeline.handler(type: IdlePoolConnectionHandler.self).flatMap { idleHandler in
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:249:19: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
247 |                         }
248 |                     }
249 |                 }.flatMap { channelIsUsable in
    |                   `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
250 |                     if channelIsUsable {
251 |                         return self.channel.eventLoop.makeSucceededFuture(self)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:251:55: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
252 |                     } else {
253 |                         return self.channel.eventLoop.makeFailedFuture(InactiveChannelError())
/host/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
/host/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(())
/host/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 {
/host/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
/host/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
/host/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 |
/host/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
/host/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
/host/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)
/host/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())
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:330:74: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
328 |             switch action {
329 |             case .leaseConnection(let connection):
330 |                 return connection.removeIdleConnectionHandlersForLease().flatMapError { _ in
    |                                                                          `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
331 |                     connection.closeFuture.flatMap { // We ensure close actions are run first
332 |                         let defaultEventLoop = self.stateLock.withLock {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:331:44: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
332 |                         let defaultEventLoop = self.stateLock.withLock {
333 |                             self.state.defaultEventLoop
/host/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
/host/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 |                         }
/host/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 |                 }
/host/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.
/host/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 |                         }
/host/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 |                 }
/host/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.
/host/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)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:352:25: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
350 |             switch action {
351 |             case .succeed(let promise):
352 |                 promise.succeed(connection)
    |                         `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
353 |
354 |             case .makeConnectionAndComplete(let eventLoop, let promise):
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:355:52: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
353 |
354 |             case .makeConnectionAndComplete(let eventLoop, let promise):
355 |                 self.makeConnection(on: eventLoop).cascade(to: promise)
    |                                                    `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
356 |
357 |             case .replaceConnection(let eventLoop, let promise):
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:358:36: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
356 |
357 |             case .replaceConnection(let eventLoop, let promise):
358 |                 connection.close().flatMap {
    |                                    `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
359 |                     self.makeConnection(on: eventLoop)
360 |                 }.whenComplete { result in
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:363:33: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
364 |                     case .failure(let error):
365 |                         promise.fail(error)
/host/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 {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:388:28: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
386 |             }
387 |
388 |             return channel.flatMap { channel -> EventLoopFuture<ConnectionPool.Connection> in
    |                            `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
389 |                 channel.pipeline.addSSLHandlerIfNeeded(for: self.key, tlsConfiguration: self.configuration.tlsConfiguration, handshakePromise: handshakePromise)
390 |                 return handshakePromise.futureResult.flatMap {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:400:15: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
398 |                 self.configureCloseCallback(of: connection)
399 |                 return connection
400 |             }.flatMapError { error in
    |               `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
401 |                 // This promise may not have been completed if we reach this
402 |                 // so we fail it to avoid any leak
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:411:49: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
409 |                 switch action {
410 |                 case .makeConnectionAndComplete(let el, let promise):
411 |                     self.makeConnection(on: el).cascade(to: promise)
    |                                                 `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
412 |                 case .none:
413 |                     break
/host/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)
/host/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
/host/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
/host/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()
/host/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 |                     }
/host/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 |                 }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/ConnectionPool.swift:443:53: warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; 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
    :
441 |                     switch action {
442 |                     case .makeConnectionAndComplete(let el, let promise):
443 |                         self.makeConnection(on: el).cascade(to: promise)
    |                                                     `- warning: type 'ConnectionPool.Connection' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
444 |                     case .none:
445 |                         break
/host/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 {
/host/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 |                         }
/host/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
/host/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 |                         }
/host/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 |                         }
/host/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):
/host/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
/host/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
/host/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 {
/host/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.
[722/725] Compiling AsyncHTTPClient HTTPClient.swift
/host/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.
/host/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).
/host/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.
/host/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 {}
/host/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)")
/host/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 |                 }
/host/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 }
/host/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
/host/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)
/host/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
/host/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)
/host/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 {
/host/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)
/host/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)
/host/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 {
/host/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 |             }
/host/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 |         }
/host/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
/host/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 |         }
/host/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 |         }
/host/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
/host/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(())
/host/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,
/host/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
/host/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,
/host/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 {
/host/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)
/host/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)
/host/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>
/host/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 {
/host/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,
/host/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
/host/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,
/host/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 {
/host/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)
/host/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)
/host/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>
/host/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 {
/host/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 {
/host/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
/host/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 {
/host/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
/host/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`
/host/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 {
/host/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 |
/host/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
/host/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 |             }
/host/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
/host/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
/host/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 |         }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:388:20: note: generic class 'ByteToMessageHandler' does not conform to the 'Sendable' protocol
386 | /// Most importantly, `ByteToMessageHandler` handles the tricky buffer management for you and flattens out all
387 | /// re-entrancy on `channelRead` that may happen in the `ChannelPipeline`.
388 | public final class ByteToMessageHandler<Decoder: ByteToMessageDecoder> {
    |                    `- note: generic class 'ByteToMessageHandler' does not conform to the 'Sendable' protocol
389 |     public typealias InboundIn = ByteBuffer
390 |     public typealias InboundOut = Decoder.InboundOut
/host/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] = [
/host/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) {
[723/725] Emitting module AsyncHTTPClient
/host/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) {
/host/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)
/host/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.
/host/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).
/host/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.
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:107:32: warning: static property 'hostSchemes' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:108:32: warning: static property 'unixSchemes' is not concurrency-safe because it is nonisolated 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 nonisolated 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 {
/host/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?
/host/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()
[724/725] Compiling AsyncHTTPClient HTTPHandler.swift
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:107:32: warning: static property 'hostSchemes' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:108:32: warning: static property 'unixSchemes' is not concurrency-safe because it is nonisolated 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 nonisolated 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 {
/host/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?
/host/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()
/host/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 |         }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:525:50: warning: type 'Response' does not conform to the 'Sendable' protocol; 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
     :
 523 |         /// - throws: The error value of the `EventLoopFuture` if it errors.
 524 |         public func wait() throws -> Response {
 525 |             return try self.promise.futureResult.wait()
     |                                                  `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 526 |         }
 527 |
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:554:26: warning: type 'Response' does not conform to the 'Sendable' protocol; 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: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 555 |             }
 556 |         }
/host/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 |         }
/host/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 |                     }
/host/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 |                 }
/host/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)
/host/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
/host/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()
/host/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
/host/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 |                     }
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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 |
/host/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)
/host/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
/host/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)")
/host/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
/host/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 |         }
/host/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)
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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 |         }
/host/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)
/host/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)
/host/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)
/host/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()
/host/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()
/host/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()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/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 {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/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()
/host/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)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/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
/host/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)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/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
/host/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 |         })
/host/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 |         })
/host/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)
/host/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 |             }
/host/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 |             }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/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 |             }
/host/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 |             }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/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:
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:1016:29: warning: type 'ResponseType' does not conform to the 'Sendable' protocol; 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: type 'ResponseType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1017 |                 }
1018 |             }
/host/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 |             }
[725/725] Compiling AsyncHTTPClient HTTPClientProxyHandler.swift
/host/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
/host/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 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
Build complete! (123.52s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.