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 macOS (SPM) on 30 Nov 2024 10:46:25 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

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