Build Information
Successful build of async-http-client, reference 1.1.1 (037b70
), with Swift 6.0 for Linux on 30 Nov 2024 10:42:24 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iainsmith/async-http-client.git
Reference: 1.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/iainsmith/async-http-client
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at 037b702 fix location header lookup
Cloned https://github.com/iainsmith/async-http-client.git
Revision (git rev-parse @):
037b70291941fe43de668066eb6fb802c5e181d2
SUCCESS checkout https://github.com/iainsmith/async-http-client.git at 1.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/iainsmith/async-http-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/5177] Fetching swift-nio-extras
[5178/77191] Fetching swift-nio-extras, swift-nio
[9499/90841] Fetching swift-nio-extras, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.07s)
[60628/77191] Fetching swift-nio-extras, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (5.11s)
Fetched https://github.com/apple/swift-nio.git from cache (5.21s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.24.1 (0.74s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-http-types
[1/671] Fetching swift-http-types
[672/11830] Fetching swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-http-types from cache (1.19s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.20s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (0.71s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.34.1 (0.95s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.36s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.69s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/3919] Fetching swift-system
[3920/19522] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.16s)
Fetched https://github.com/apple/swift-collections.git from cache (1.18s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (2.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.07s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.29.0 (0.54s)
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.34.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.24.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.29.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.0
Building for debugging...
[0/438] Write sources
[10/438] Compiling CNIOLLHTTP c_nio_http.c
[11/438] Write sources
[13/438] Compiling CNIOLLHTTP c_nio_api.c
[14/438] Write sources
[16/438] Compiling derive_key.c
[17/438] Compiling CNIOWindows shim.c
[18/438] Compiling _AtomicsShims.c
[19/438] Compiling e_aesctrhmac.c
[20/438] Compiling CNIOWindows WSAStartup.c
[21/438] Compiling CNIOWASI CNIOWASI.c
[22/438] Compiling CNIOLinux liburing_shims.c
[23/438] Compiling CNIOExtrasZlib empty.c
[24/438] Compiling CNIODarwin shim.c
[25/438] Compiling ec_asn1.c
[26/438] Compiling mldsa.c
[27/438] Compiling CNIOLinux shim.c
[28/438] Compiling fiat_p256_adx_sqr.S
[29/438] Compiling fiat_p256_adx_mul.S
[30/438] Compiling fiat_curve25519_adx_mul.S
[31/438] Compiling fiat_curve25519_adx_square.S
[32/438] Compiling CNIOLLHTTP c_nio_llhttp.c
[32/438] Write swift-version-24593BA9C3E375BF.txt
[34/438] Compiling CNIOBoringSSLShims shims.c
[36/444] Emitting module _NIOBase64
[36/444] Compiling tls13_both.cc
[37/444] Compiling tls_record.cc
[38/444] Compiling tls_method.cc
[39/445] Compiling tls13_server.cc
[40/461] Compiling tls13_client.cc
[41/461] Compiling tls13_enc.cc
[42/461] Compiling t1_enc.cc
[43/461] Compiling ssl_versions.cc
[44/461] Compiling ssl_x509.cc
[45/461] Compiling ssl_stat.cc
[46/461] Compiling ssl_transcript.cc
[47/461] Compiling ssl_session.cc
[48/461] Compiling ssl_privkey.cc
[49/461] Compiling ssl_file.cc
[50/461] Compiling ssl_key_share.cc
[51/461] Compiling ssl_lib.cc
[52/461] Compiling ssl_cipher.cc
[53/461] Compiling ssl_credential.cc
[54/461] Compiling ssl_cert.cc
[56/461] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[57/461] Compiling InternalCollectionsUtilities Specialize.swift
[58/463] Compiling InternalCollectionsUtilities Debugging.swift
[59/463] Compiling InternalCollectionsUtilities Descriptions.swift
[60/463] Emitting module InternalCollectionsUtilities
[60/463] Compiling ssl_buffer.cc
[62/463] Compiling _NIODataStructures _TinyArray.swift
[63/463] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[64/463] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[65/463] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[66/463] Compiling _NIODataStructures PriorityQueue.swift
[67/463] Compiling InternalCollectionsUtilities UInt+reversed.swift
[68/463] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[69/463] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[70/463] Compiling InternalCollectionsUtilities Integer rank.swift
[71/463] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[72/463] Compiling _NIOBase64 Base64.swift
[73/463] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[74/464] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[75/464] Compiling InternalCollectionsUtilities _SortedCollection.swift
[76/464] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[78/464] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[79/464] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[80/465] Compiling ssl_asn1.cc
[82/480] Compiling DequeModule Deque+CustomReflectable.swift
[83/480] Compiling DequeModule Deque+Descriptions.swift
[84/482] Emitting module _NIODataStructures
[85/482] Compiling _NIODataStructures Heap.swift
[86/483] Compiling DequeModule Deque+Equatable.swift
[87/483] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[89/483] Compiling DequeModule _DequeBuffer.swift
[90/483] Compiling DequeModule _DequeBufferHeader.swift
[90/483] Compiling ssl_aead_ctx.cc
[91/483] Compiling s3_pkt.cc
[92/483] Compiling s3_lib.cc
[94/483] Compiling DequeModule Deque+Extras.swift
[95/483] Compiling DequeModule Deque+Hashable.swift
[95/483] Compiling s3_both.cc
[97/483] Compiling DequeModule _DequeSlot.swift
[98/483] Compiling DequeModule _UnsafeWrappedBuffer.swift
[99/483] Compiling DequeModule Deque+Testing.swift
[100/483] Compiling DequeModule Deque._Storage.swift
[101/483] Compiling DequeModule Deque._UnsafeHandle.swift
[102/483] Compiling DequeModule Deque.swift
[102/483] Compiling handshake_server.cc
[103/483] Compiling handshake_client.cc
[105/483] Compiling DequeModule Deque+Codable.swift
[106/483] Compiling DequeModule Deque+Collection.swift
[107/483] Emitting module DequeModule
[108/484] Compiling handshake.cc
[109/484] Compiling encrypted_client_hello.cc
[110/484] Compiling handoff.cc
[111/484] Compiling dtls_record.cc
[112/484] Compiling md5-x86_64-linux.S
[113/484] Compiling md5-x86_64-apple.S
[114/484] Compiling d1_srtp.cc
[115/484] Compiling extensions.cc
[116/484] Compiling md5-586-linux.S
[117/484] Compiling err_data.c
[118/484] Compiling dtls_method.cc
[119/484] Compiling md5-586-apple.S
[120/484] Compiling chacha20_poly1305_x86_64-apple.S
[121/484] Compiling chacha20_poly1305_x86_64-linux.S
[122/484] Compiling chacha20_poly1305_armv8-win.S
[123/484] Compiling bio_ssl.cc
[124/484] Compiling chacha20_poly1305_armv8-linux.S
[125/484] Compiling chacha20_poly1305_armv8-apple.S
[126/484] Compiling chacha-x86_64-apple.S
[127/484] Compiling chacha-x86_64-linux.S
[128/484] Compiling chacha-x86-apple.S
[129/484] Compiling chacha-x86-linux.S
[130/484] Compiling chacha-armv8-win.S
[131/484] Compiling chacha-armv8-linux.S
[131/484] Compiling chacha-armv8-apple.S
[133/484] Compiling aes128gcmsiv-x86_64-linux.S
[134/484] Compiling chacha-armv4-linux.S
[135/484] Compiling aes128gcmsiv-x86_64-apple.S
[136/484] Compiling d1_lib.cc
[137/484] Compiling x86_64-mont5-apple.S
[138/484] Compiling x86-mont-linux.S
[139/484] Compiling x86_64-mont5-linux.S
[140/484] Compiling x86_64-mont-apple.S
[141/484] Compiling x86-mont-apple.S
[142/484] Compiling vpaes-x86_64-linux.S
[143/484] Compiling x86_64-mont-linux.S
[144/484] Compiling d1_pkt.cc
[145/484] Compiling vpaes-x86_64-apple.S
[146/484] Compiling vpaes-armv8-win.S
[147/484] Compiling vpaes-x86-linux.S
[148/484] Compiling vpaes-x86-apple.S
[149/484] Compiling vpaes-armv8-apple.S
[150/484] Compiling vpaes-armv8-linux.S
[151/484] Compiling vpaes-armv7-linux.S
[152/484] Compiling sha512-x86_64-linux.S
[153/484] Compiling sha512-armv8-apple.S
[154/484] Compiling sha512-armv8-win.S
[154/484] Compiling sha512-x86_64-apple.S
[154/484] Compiling sha512-armv8-linux.S
[157/484] Compiling sha512-armv4-linux.S
[158/484] Compiling sha512-586-linux.S
[159/484] Compiling d1_both.cc
[160/484] Compiling sha512-586-apple.S
[161/484] Compiling sha256-armv8-apple.S
[162/484] Compiling sha256-armv8-win.S
[163/484] Compiling sha256-x86_64-apple.S
[164/484] Compiling sha256-armv8-linux.S
[165/484] Compiling sha256-armv4-linux.S
[166/484] Compiling sha256-586-linux.S
[167/484] Compiling sha256-x86_64-linux.S
[168/484] Compiling sha256-586-apple.S
[169/484] Compiling sha1-x86_64-apple.S
[170/484] Compiling sha1-armv8-apple.S
[171/484] Compiling sha1-armv8-win.S
[172/484] Compiling sha1-x86_64-linux.S
[173/484] Compiling sha1-armv4-large-linux.S
[174/484] Compiling sha1-armv8-linux.S
[175/484] Compiling sha1-586-apple.S
[176/484] Compiling sha1-586-linux.S
[177/484] Compiling rsaz-avx2-apple.S
[178/484] Compiling rsaz-avx2-linux.S
[179/484] Compiling p256_beeu-x86_64-asm-linux.S
[180/484] Compiling p256_beeu-armv8-asm-win.S
[181/484] Compiling rdrand-x86_64-linux.S
[182/484] Compiling rdrand-x86_64-apple.S
[183/484] Compiling p256_beeu-x86_64-asm-apple.S
[184/484] Compiling p256_beeu-armv8-asm-linux.S
[185/484] Compiling p256_beeu-armv8-asm-apple.S
[186/484] Compiling p256-x86_64-asm-apple.S
[187/484] Compiling p256-x86_64-asm-linux.S
[188/484] Compiling p256-armv8-asm-linux.S
[189/484] Compiling p256-armv8-asm-apple.S
[190/484] Compiling p256-armv8-asm-win.S
[191/484] Compiling ghashv8-armv8-linux.S
[192/484] Compiling ghashv8-armv8-win.S
[193/484] Compiling ghashv8-armv8-apple.S
[194/484] Compiling ghashv8-armv7-linux.S
[195/484] Compiling ghash-x86_64-linux.S
[196/484] Compiling ghash-x86_64-apple.S
[197/484] Compiling ghash-x86-apple.S
[198/484] Compiling ghash-x86-linux.S
[198/484] Compiling ghash-ssse3-x86_64-linux.S
[200/484] Compiling ghash-ssse3-x86-linux.S
[201/484] Compiling ghash-ssse3-x86_64-apple.S
[202/484] Compiling ghash-ssse3-x86-apple.S
[203/484] Compiling ghash-neon-armv8-win.S
[204/484] Compiling ghash-neon-armv8-linux.S
[205/484] Compiling co-586-linux.S
[206/484] Compiling co-586-apple.S
[207/484] Compiling ghash-neon-armv8-apple.S
[208/484] Compiling ghash-armv4-linux.S
[209/484] Compiling bsaes-armv7-linux.S
[210/484] Compiling bn-armv8-win.S
[211/484] Compiling bn-armv8-apple.S
[212/484] Compiling bn-586-linux.S
[213/484] Compiling bn-armv8-linux.S
[214/484] Compiling bn-586-apple.S
[215/484] Compiling armv8-mont-apple.S
[216/484] Compiling armv8-mont-win.S
[217/484] Compiling armv8-mont-linux.S
[218/484] Compiling armv4-mont-linux.S
[219/484] Compiling aesv8-gcm-armv8-linux.S
[220/484] Compiling aesv8-gcm-armv8-win.S
[221/484] Compiling aesv8-armv8-apple.S
[222/484] Compiling aesv8-armv8-win.S
[223/484] Compiling aesv8-armv7-linux.S
[224/484] Compiling aesv8-gcm-armv8-apple.S
[225/484] Compiling aesv8-armv8-linux.S
[226/484] Compiling aesni-x86_64-apple.S
[227/484] Compiling aesni-x86_64-linux.S
[228/484] Compiling aesni-gcm-x86_64-linux.S
[229/484] Compiling aesni-x86-apple.S
[230/484] Compiling aesni-x86-linux.S
[231/484] Compiling aesni-gcm-x86_64-apple.S
[232/484] Compiling x_sig.c
[233/484] Compiling x_x509a.c
[234/484] Compiling x_spki.c
[235/484] Compiling x_x509.c
[236/484] Compiling x_val.c
[237/484] Compiling x_name.c
[238/484] Compiling x_req.c
[239/484] Compiling x_pubkey.c
[240/484] Compiling x_exten.c
[241/484] Compiling x_attrib.c
[242/484] Compiling x_algor.c
[243/484] Compiling x_crl.c
[244/484] Compiling x509spki.c
[245/484] Compiling x_all.c
[246/484] Compiling x509rset.c
[247/484] Compiling x509name.c
[248/484] Compiling x509_txt.c
[249/484] Compiling x509cset.c
[250/484] Compiling x509_vpm.c
[251/484] Compiling x509_v3.c
[252/484] Compiling x509_trs.c
[253/484] Compiling x509_vfy.c
[254/484] Compiling x509_set.c
[255/484] Compiling x509_req.c
[256/484] Compiling x509_obj.c
[257/484] Compiling x509_def.c
[258/484] Compiling x509_d2.c
[259/484] Compiling x509_att.c
[260/484] Compiling x509_ext.c
[261/484] Compiling x509.c
[262/484] Compiling x509_lu.c
[263/484] Compiling x509_cmp.c
[264/484] Compiling v3_skey.c
[265/484] Compiling v3_ocsp.c
[266/484] Compiling v3_utl.c
[267/484] Compiling v3_pmaps.c
[268/484] Compiling v3_lib.c
[268/484] Compiling v3_prn.c
[270/484] Compiling v3_int.c
[271/484] Compiling v3_pcons.c
[272/484] Compiling v3_purp.c
[273/484] Compiling v3_info.c
[274/484] Compiling v3_ncons.c
[275/484] Compiling v3_extku.c
[276/484] Compiling v3_ia5.c
[277/484] Compiling v3_enum.c
[278/484] Compiling v3_genn.c
[279/484] Compiling v3_cpols.c
[280/484] Compiling v3_crld.c
[280/484] Compiling v3_bitst.c
[282/484] Compiling v3_conf.c
[283/484] Compiling v3_bcons.c
[284/484] Compiling v3_alt.c
[285/484] Compiling t_x509.c
[286/484] Compiling t_crl.c
[287/484] Compiling t_x509a.c
[287/484] Compiling v3_akeya.c
[289/484] Compiling t_req.c
[290/484] Compiling v3_akey.c
[291/484] Compiling rsa_pss.c
[292/484] Compiling i2d_pr.c
[293/484] Compiling asn1_gen.c
[294/484] Compiling name_print.c
[295/484] Compiling policy.c
[296/484] Compiling algorithm.c
[297/484] Compiling a_verify.c
[298/484] Compiling by_file.c
[299/484] Compiling trust_token.c
[300/484] Compiling thread_win.c
[301/484] Compiling a_digest.c
[302/484] Compiling by_dir.c
[303/484] Compiling thread_pthread.c
[304/484] Compiling voprf.c
[305/484] Compiling thread.c
[306/484] Compiling thread_none.c
[307/484] Compiling a_sign.c
[308/484] Compiling spx_util.c
[309/484] Compiling spx_wots.c
[310/484] Compiling stack.c
[310/484] Compiling pmbtoken.c
[312/484] Compiling spx_fors.c
[312/484] Compiling spx_address.c
[314/484] Compiling spx_thash.c
[315/484] Compiling spx.c
[316/484] Compiling spx_merkle.c
[317/484] Compiling slhdsa.c
[318/484] Compiling sha512.c
[319/484] Compiling thash.c
[320/484] Compiling sha1.c
[321/484] Compiling siphash.c
[322/484] Compiling merkle.c
[323/484] Compiling wots.c
[324/484] Compiling fors.c
[325/484] Compiling sha256.c
[326/484] Compiling rsa_extra.c
[327/484] Compiling rsa_print.c
[328/484] Compiling rc4.c
[329/484] Compiling windows.c
[330/484] Compiling refcount.c
[331/484] Compiling trusty.c
[332/484] Compiling rand_extra.c
[333/484] Compiling rsa_asn1.c
[334/484] Compiling getentropy.c
[335/484] Compiling passive.c
[335/484] Compiling rsa_crypt.c
[337/484] Compiling ios.c
[338/484] Compiling urandom.c
[339/484] Compiling deterministic.c
[340/484] Compiling forkunsafe.c
[341/484] Compiling poly1305_arm_asm.S
[342/484] Compiling fork_detect.c
[343/484] Compiling poly1305.c
[344/484] Compiling poly1305_arm.c
[345/484] Compiling pool.c
[346/484] Compiling poly1305_vec.c
[347/484] Compiling pkcs7.c
[348/484] Compiling pem_x509.c
[349/484] Compiling pkcs8.c
[350/484] Compiling p5_pbev2.c
[351/484] Compiling pem_xaux.c
[352/484] Compiling pkcs8_x509.c
[353/484] Compiling pkcs7_x509.c
[354/484] Compiling pem_pk8.c
[355/484] Compiling pem_pkey.c
[356/484] Compiling pem_oth.c
[357/484] Compiling obj_xref.c
[358/484] Compiling mem.c
[359/484] Compiling md5.c
[360/484] Compiling pem_info.c
[361/484] Compiling pem_lib.c
[362/484] Compiling md4.c
[363/484] Compiling obj.c
[364/484] Compiling lhash.c
[365/484] Compiling pem_all.c
[366/484] Compiling keccak.c
[367/484] Compiling fips_shared_support.c
[368/484] Compiling kyber.c
[369/484] Compiling poly_rq_mul.S
[370/484] Compiling sign.c
[371/484] Compiling ex_data.c
[372/484] Compiling hpke.c
[373/484] Compiling pbkdf.c
[374/484] Compiling mlkem.cc
[375/484] Compiling scrypt.c
[376/484] Compiling hrss.c
[377/484] Compiling p_x25519.c
[378/484] Compiling print.c
[379/484] Compiling p_x25519_asn1.c
[380/484] Compiling p_rsa_asn1.c
[381/484] Compiling p_rsa.c
[382/484] Compiling p_ed25519_asn1.c
[383/484] Compiling p_ed25519.c
[384/484] Compiling p_hkdf.c
[385/484] Compiling p_dsa_asn1.c
[386/484] Compiling p_ec_asn1.c
[387/484] Compiling p_ec.c
[388/484] Compiling p_dh.c
[389/484] Compiling p_dh_asn1.c
[390/484] Compiling evp_ctx.c
[391/484] Compiling evp.c
[392/484] Compiling evp_asn1.c
[393/484] Compiling engine.c
[394/484] Compiling err.c
[395/484] Compiling ecdh_extra.c
[396/484] Compiling ecdsa_asn1.c
[397/484] Compiling ec_derive.c
[398/484] Compiling hash_to_curve.c
[398/484] Compiling dsa_asn1.c
[400/484] Compiling dsa.c
[401/484] Compiling digest_extra.c
[402/484] Compiling params.c
[403/484] Compiling dilithium.c
[404/484] Compiling dh_asn1.c
[405/484] Compiling x25519-asm-arm.S
[406/484] Compiling spake25519.c
[407/484] Compiling cpu_arm_linux.c
[408/484] Compiling cpu_arm_freebsd.c
[409/484] Compiling des.c
[410/484] Compiling crypto.c
[411/484] Compiling cpu_intel.c
[412/484] Compiling cpu_aarch64_openbsd.c
[413/484] Compiling cpu_aarch64_sysreg.c
[414/484] Compiling cpu_aarch64_win.c
[415/484] Compiling cpu_aarch64_fuchsia.c
[416/484] Compiling cpu_aarch64_linux.c
[417/484] Compiling cpu_aarch64_apple.c
[418/484] Compiling e_tls.c
[419/484] Compiling curve25519.c
[420/484] Compiling conf.c
[421/484] Compiling tls_cbc.c
[422/484] Compiling e_rc4.c
[423/484] Compiling e_rc2.c
[424/484] Compiling e_null.c
[425/484] Compiling unicode.c
[426/484] Compiling e_chacha20poly1305.c
[427/484] Compiling e_des.c
[428/484] Compiling e_aesgcmsiv.c
[429/484] Compiling chacha.c
[430/484] Compiling cipher_extra.c
[431/484] Compiling ber.c
[432/484] Compiling asn1_compat.c
[433/484] Compiling curve25519_64_adx.c
[434/484] Compiling buf.c
[435/484] Compiling bn_asn1.c
[436/484] Compiling cbb.c
[436/484] Compiling cbs.c
[438/484] Compiling convert.c
[439/484] Compiling blake2.c
[440/484] Compiling printf.c
[441/484] Compiling socket.c
[442/484] Compiling socket_helper.c
[443/484] Compiling pair.c
[443/484] Compiling hexdump.c
[445/484] Compiling errno.c
[446/484] Compiling file.c
[447/484] Compiling fd.c
[448/484] Compiling connect.c
[449/484] Compiling bio_mem.c
[450/484] Compiling base64.c
[451/484] Compiling tasn_utl.c
[452/484] Compiling tasn_typ.c
[453/484] Compiling tasn_new.c
[454/484] Compiling bio.c
[455/484] Compiling tasn_fre.c
[456/484] Compiling posix_time.c
[457/484] Compiling f_string.c
[458/484] Compiling asn_pack.c
[459/484] Compiling tasn_enc.c
[460/484] Compiling tasn_dec.c
[461/484] Compiling asn1_par.c
[462/484] Compiling f_int.c
[463/484] Compiling a_utctm.c
[464/484] Compiling asn1_lib.c
[465/484] Compiling a_type.c
[466/484] Compiling a_time.c
[467/484] Compiling a_octet.c
[468/484] Compiling a_strnid.c
[469/484] Compiling a_strex.c
[470/484] Compiling a_object.c
[471/484] Compiling a_i2d_fp.c
[472/484] Compiling a_mbstr.c
[473/484] Compiling a_gentm.c
[474/484] Compiling a_int.c
[474/484] Write sources
[477/484] Compiling a_dup.c
[478/484] Compiling a_d2i_fp.c
[479/484] Compiling a_bool.c
[480/484] Compiling a_bitstr.c
[481/503] Compiling bcm.c
[483/503] Compiling Atomics UnsafeAtomic.swift
[484/503] Compiling Atomics UnsafeAtomicLazyReference.swift
[485/503] Compiling Atomics ManagedAtomic.swift
[486/503] Compiling Atomics ManagedAtomicLazyReference.swift
[487/505] Compiling Atomics AtomicMemoryOrderings.swift
[488/505] Compiling Atomics DoubleWord.swift
[489/505] Compiling Atomics IntegerOperations.swift
[490/505] Compiling Atomics Unmanaged extensions.swift
[491/505] Compiling Atomics Primitives.shims.swift
[492/505] Compiling Atomics AtomicInteger.swift
[493/505] Compiling Atomics AtomicOptionalWrappable.swift
[494/505] Compiling Atomics AtomicReference.swift
[495/505] Compiling Atomics AtomicStorage.swift
[496/505] Compiling Atomics AtomicValue.swift
[496/505] Compiling c-nioatomics.c
[497/505] Compiling c-atomics.c
[499/511] Compiling NIOConcurrencyHelpers lock.swift
[500/511] Emitting module NIOConcurrencyHelpers
[501/511] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[502/511] Compiling NIOConcurrencyHelpers atomics.swift
[503/511] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[504/511] Compiling NIOConcurrencyHelpers NIOLock.swift
[505/511] Compiling Atomics OptionalRawRepresentable.swift
[506/511] Compiling Atomics RawRepresentable.swift
[507/511] Compiling Atomics AtomicBool.swift
[508/511] Compiling Atomics IntegerConformances.swift
[509/511] Compiling Atomics PointerConformances.swift
[510/511] Compiling Atomics Primitives.native.swift
[511/512] Emitting module Atomics
[514/573] Compiling NIOCore MulticastChannel.swift
[515/573] Compiling NIOCore NIOAny.swift
[516/573] Compiling NIOCore NIOCloseOnErrorHandler.swift
[517/573] Compiling NIOCore NIOLoopBound.swift
[518/573] Compiling NIOCore NIOScheduledCallback.swift
[519/573] Compiling NIOCore NIOSendable.swift
[520/573] Compiling NIOCore PointerHelpers.swift
[521/573] Compiling NIOCore RecvByteBufferAllocator.swift
[522/581] Compiling NIOCore IO.swift
[523/581] Compiling NIOCore IOData.swift
[524/581] Compiling NIOCore IPProtocol.swift
[525/581] Compiling NIOCore IntegerBitPacking.swift
[526/581] Compiling NIOCore IntegerTypes.swift
[527/581] Compiling NIOCore Interfaces.swift
[528/581] Compiling NIOCore Linux.swift
[529/581] Compiling NIOCore MarkedCircularBuffer.swift
[530/581] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[531/581] Compiling NIOCore EventLoopFuture+Deprecated.swift
[532/581] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[533/581] Compiling NIOCore EventLoopFuture.swift
[534/581] Compiling NIOCore FileDescriptor.swift
[535/581] Compiling NIOCore FileHandle.swift
[536/581] Compiling NIOCore FileRegion.swift
[537/581] Compiling NIOCore GlobalSingletons.swift
[538/581] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[539/581] Compiling NIOCore SocketAddresses.swift
[540/581] Compiling NIOCore SocketOptionProvider.swift
[541/581] Compiling NIOCore SystemCallHelpers.swift
[542/581] Compiling NIOCore TimeAmount+Duration.swift
[543/581] Compiling NIOCore TypeAssistedChannelHandler.swift
[544/581] Compiling NIOCore UniversalBootstrapSupport.swift
[545/581] Compiling NIOCore Utilities.swift
[546/581] Compiling NIOCore CircularBuffer.swift
[547/581] Compiling NIOCore Codec.swift
[548/581] Compiling NIOCore ConvenienceOptionSupport.swift
[549/581] Compiling NIOCore DeadChannel.swift
[550/581] Compiling NIOCore DispatchQueue+WithFuture.swift
[551/581] Compiling NIOCore EventLoop+Deprecated.swift
[552/581] Compiling NIOCore EventLoop+SerialExecutor.swift
[553/581] Compiling NIOCore EventLoop.swift
[554/581] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[555/581] Compiling NIOCore BSDSocketAPI.swift
[556/581] Compiling NIOCore ByteBuffer-aux.swift
[557/581] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[558/581] Compiling NIOCore ByteBuffer-conversions.swift
[559/581] Compiling NIOCore ByteBuffer-core.swift
[560/581] Compiling NIOCore ByteBuffer-hex.swift
[561/581] Compiling NIOCore ByteBuffer-int.swift
[562/581] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[563/581] Compiling NIOCore AddressedEnvelope.swift
[564/581] Compiling NIOCore AsyncAwaitSupport.swift
[565/581] Compiling NIOCore AsyncChannel.swift
[566/581] Compiling NIOCore AsyncChannelHandler.swift
[567/581] Compiling NIOCore AsyncChannelInboundStream.swift
[568/581] Compiling NIOCore AsyncChannelOutboundWriter.swift
[569/581] Compiling NIOCore NIOAsyncSequenceProducer.swift
[570/581] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[571/581] Compiling NIOCore NIOAsyncWriter.swift
[572/581] Compiling NIOCore ByteBuffer-multi-int.swift
[573/581] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[574/581] Compiling NIOCore ByteBuffer-views.swift
[575/581] Compiling NIOCore Channel.swift
[576/581] Compiling NIOCore ChannelHandler.swift
[577/581] Compiling NIOCore ChannelHandlers.swift
[578/581] Compiling NIOCore ChannelInvoker.swift
[579/581] Compiling NIOCore ChannelOption.swift
[580/581] Compiling NIOCore ChannelPipeline.swift
[581/581] Emitting module NIOCore
[583/634] Compiling NIOEmbedded AsyncTestingChannel.swift
[584/634] Emitting module NIOEmbedded
[585/634] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[586/634] Compiling NIOEmbedded Embedded.swift
[588/635] Emitting module NIOPosix
[589/641] Compiling NIOPosix ServerSocket.swift
[590/641] Compiling NIOPosix Socket.swift
[591/641] Compiling NIOPosix SocketChannel.swift
[592/641] Compiling NIOPosix SocketProtocols.swift
[593/641] Compiling NIOPosix System.swift
[594/641] Compiling NIOPosix Thread.swift
[595/641] Compiling NIOPosix Pool.swift
[596/641] Compiling NIOPosix PooledRecvBufferAllocator.swift
[597/641] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[598/641] Compiling NIOPosix PosixSingletons.swift
[599/641] Compiling NIOPosix RawSocketBootstrap.swift
[600/641] Compiling NIOPosix Resolver.swift
[601/641] Compiling NIOPosix Selectable.swift
[602/641] Compiling NIOPosix SelectableChannel.swift
[603/641] Compiling NIOPosix SelectableEventLoop.swift
[604/641] Compiling NIOPosix SelectorEpoll.swift
[605/641] Compiling NIOPosix SelectorGeneric.swift
[606/641] Compiling NIOPosix SelectorKqueue.swift
[607/641] Compiling NIOPosix SelectorUring.swift
[608/641] Compiling NIOPosix NIOThreadPool.swift
[609/641] Compiling NIOPosix NonBlockingFileIO.swift
[610/641] Compiling NIOPosix PendingDatagramWritesManager.swift
[611/641] Compiling NIOPosix PendingWritesManager.swift
[612/641] Compiling NIOPosix PipeChannel.swift
[613/641] Compiling NIOPosix PipePair.swift
[614/641] Compiling NIOPosix PointerHelpers.swift
[615/641] Compiling NIOPosix IO.swift
[616/641] Compiling NIOPosix IntegerBitPacking.swift
[617/641] Compiling NIOPosix IntegerTypes.swift
[618/641] Compiling NIOPosix Linux.swift
[619/641] Compiling NIOPosix LinuxCPUSet.swift
[620/641] Compiling NIOPosix LinuxUring.swift
[621/641] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[622/641] Compiling NIOPosix ThreadPosix.swift
[623/641] Compiling NIOPosix ThreadWindows.swift
[624/641] Compiling NIOPosix UnsafeTransfer.swift
[625/641] Compiling NIOPosix Utilities.swift
[626/641] Compiling NIOPosix VsockAddress.swift
[627/641] Compiling NIOPosix VsockChannelEvents.swift
[628/641] Compiling NIOPosix BSDSocketAPICommon.swift
[629/641] Compiling NIOPosix BSDSocketAPIPosix.swift
[630/641] Compiling NIOPosix BSDSocketAPIWindows.swift
[631/641] Compiling NIOPosix BaseSocket.swift
[632/641] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[633/641] Compiling NIOPosix BaseSocketChannel.swift
[634/641] Compiling NIOPosix BaseStreamSocketChannel.swift
[635/641] Compiling NIOPosix Bootstrap.swift
[636/641] Compiling NIOPosix ControlMessage.swift
[637/641] Compiling NIOPosix DatagramVectorReadManager.swift
[638/641] Compiling NIOPosix Errors+Any.swift
[639/641] Compiling NIOPosix FileDescriptor.swift
[640/641] Compiling NIOPosix GetaddrinfoResolver.swift
[641/641] Compiling NIOPosix HappyEyeballs.swift
[643/644] Emitting module NIO
[644/644] Compiling NIO Exports.swift
[646/672] Compiling NIOTLS TLSEvents.swift
[647/672] Emitting module NIOTLS
[648/672] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[649/672] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[650/672] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[651/672] Compiling NIOTLS SNIHandler.swift
[653/673] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[654/673] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[655/703] Compiling NIOSSL ByteBufferBIO.swift
[656/703] Compiling NIOSSL CustomPrivateKey.swift
[657/703] Compiling NIOSSL ObjectIdentifier.swift
[658/703] Compiling NIOSSL PosixPort.swift
[659/703] Compiling NIOSSL NIOSSLHandler.swift
[660/703] Compiling NIOSSL NIOSSLServerHandler.swift
[661/703] Compiling NIOSSL SSLCallbacks.swift
[662/703] Compiling NIOSSL AndroidCABundle.swift
[663/703] Compiling NIOSSL IdentityVerification.swift
[664/703] Compiling NIOSSL SSLCertificate.swift
[665/703] Emitting module NIOHTTP1
[666/703] Compiling NIOSSL LinuxCABundle.swift
[667/703] Compiling NIOSSL NIOSSLClientHandler.swift
[668/703] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[669/703] Compiling NIOSSL SSLContext.swift
[670/703] Compiling NIOSSL SSLErrors.swift
[672/711] Compiling NIOSSL NIOSSLSecureBytes.swift
[673/711] Compiling NIOSSL RNG.swift
[674/711] Compiling NIOSSL SafeCompare.swift
[675/714] Compiling NIOHTTPCompression HTTPResponseDecompressor.swift
[676/714] Emitting module NIOHTTPCompression
[677/714] Compiling NIOSSL SSLPublicKey.swift
[678/714] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[679/714] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[680/714] Compiling NIOSSL SubjectAlternativeName.swift
[681/714] Compiling NIOHTTPCompression HTTPDecompression.swift
[682/714] Compiling NIOHTTPCompression HTTPCompression.swift
[684/714] Compiling NIOSSL SSLInit.swift
[685/714] Compiling NIOSSL SSLPKCS12Bundle.swift
[686/714] Compiling NIOSSL SSLPrivateKey.swift
[687/714] Compiling NIOHTTPCompression HTTPRequestDecompressor.swift
[688/714] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[689/714] Compiling NIOHTTPCompression HTTPRequestCompressor.swift
[690/715] Emitting module NIOSSL
[696/715] Compiling NIOSSL Zeroization.swift
[697/715] Compiling NIOSSL TLSConfiguration.swift
[698/715] Compiling NIOSSL UniversalBootstrapSupport.swift
[699/715] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[703/715] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[709/715] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[711/715] Compiling NIOSSL SSLCertificateExtensions.swift
[712/715] Compiling NIOSSL SSLConnection.swift
[714/716] Emitting module NIOFoundationCompat
[715/716] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[718/724] Compiling AsyncHTTPClient Utils.swift
[719/724] Compiling AsyncHTTPClient RequestValidation.swift
[720/724] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[721/724] Emitting module AsyncHTTPClient
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:51:22: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
49 | let eventLoopGroupProvider: EventLoopGroupProvider
50 | let configuration: Configuration
51 | let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
52 |
53 | /// Create an `HTTPClient` with specified `EventLoopGroup` provider and configuration.
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:406: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
385 |
386 | /// Specifies how the library will treat event loop passed by the user.
387 | public struct EventLoopPreference {
| `- note: consider making struct 'EventLoopPreference' conform to the 'Sendable' protocol
388 | enum Preference {
389 | /// Event Loop will be selected by the library.
:
404 |
405 | /// Event Loop will be selected by the library.
406 | 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
407 |
408 | /// The delegate will be run on the specified EventLoop (and the Channel if possible).
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:474: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
453 |
454 | /// Specifies redirect processing settings.
455 | public struct RedirectConfiguration {
| `- note: consider making struct 'RedirectConfiguration' conform to the 'Sendable' protocol
456 | enum Configuration {
457 | /// Redirects are not followed.
:
472 |
473 | /// Redirects are not followed.
474 | 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
475 |
476 | /// Redirects are followed with a specified limit.
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:106: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
104 | case unixSocket
105 |
106 | 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
107 | private static var unixSchemes = ["unix"]
108 |
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:107: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
105 |
106 | private static var hostSchemes = ["http", "https"]
107 | 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
108 |
109 | init(forScheme scheme: String) throws {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:496:27: warning: 'Lock' is deprecated: renamed to 'NIOLock'
494 | var channel: Channel?
495 | private var cancelled: Bool
496 | private let lock: Lock
| |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
| `- note: use 'NIOLock' instead
497 |
498 | init(eventLoop: EventLoop) {
[722/724] Compiling AsyncHTTPClient HTTPClientProxyHandler.swift
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClientProxyHandler.swift:142: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
:
140 | private func handleConnect(context: ChannelHandlerContext) -> EventLoopFuture<Void> {
141 | return self.onConnect(context.channel).flatMap {
142 | 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
143 |
144 | // forward any buffered reads
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClientProxyHandler.swift:146:17: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 | // forward any buffered reads
145 | while !self.readBuffer.isEmpty {
146 | 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
147 | }
148 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
[723/724] Compiling AsyncHTTPClient HTTPClient.swift
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:51:22: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
49 | let eventLoopGroupProvider: EventLoopGroupProvider
50 | let configuration: Configuration
51 | let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
52 |
53 | /// Create an `HTTPClient` with specified `EventLoopGroup` provider and configuration.
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:406: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
385 |
386 | /// Specifies how the library will treat event loop passed by the user.
387 | public struct EventLoopPreference {
| `- note: consider making struct 'EventLoopPreference' conform to the 'Sendable' protocol
388 | enum Preference {
389 | /// Event Loop will be selected by the library.
:
404 |
405 | /// Event Loop will be selected by the library.
406 | 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
407 |
408 | /// The delegate will be run on the specified EventLoop (and the Channel if possible).
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:474: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
453 |
454 | /// Specifies redirect processing settings.
455 | public struct RedirectConfiguration {
| `- note: consider making struct 'RedirectConfiguration' conform to the 'Sendable' protocol
456 | enum Configuration {
457 | /// Redirects are not followed.
:
472 |
473 | /// Redirects are not followed.
474 | 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
475 |
476 | /// Redirects are followed with a specified limit.
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:255:28: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | /// try client.syncShutdown()
46 | /// ```
47 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
48 | public let eventLoopGroup: EventLoopGroup
49 | let eventLoopGroupProvider: EventLoopGroupProvider
:
253 | let decoder = ByteToMessageHandler(HTTPResponseDecoder(leftOverBytesStrategy: .forwardBytes))
254 | return channel.pipeline.addHandlers([encoder, decoder], position: .first).flatMap {
255 | switch self.configuration.proxy {
| `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
256 | case .none:
257 | return channel.pipeline.addSSLHandlerIfNeeded(for: request, tlsConfiguration: self.configuration.tlsConfiguration)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:257:76: warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
255 | switch self.configuration.proxy {
256 | case .none:
257 | return channel.pipeline.addSSLHandlerIfNeeded(for: request, tlsConfiguration: self.configuration.tlsConfiguration)
| `- warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
258 | case .some(let proxy):
259 | return channel.pipeline.addProxyHandler(for: request, decoder: decoder, encoder: encoder, tlsConfiguration: self.configuration.tlsConfiguration, proxy: proxy)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:98:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
96 |
97 | /// Represent HTTP request.
98 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
99 | /// Represent kind of Request
100 | enum Kind {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:275:57: 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
273 | }
274 | }.flatMap {
275 | let taskHandler = TaskHandler(task: task, delegate: delegate, redirectHandler: redirectHandler, ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
| `- 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
276 | return channel.pipeline.addHandler(taskHandler)
277 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:489:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
487 | /// Response execution context. Will be created by the library and could be used for obtaining
488 | /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
489 | public final class Task<Response> {
| `- note: generic class 'Task' does not conform to the 'Sendable' protocol
490 | /// The `EventLoop` the delegate will be executed on.
491 | public let eventLoop: EventLoop
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:275:73: warning: capture of 'delegate' with non-sendable type 'Delegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | }
223 |
224 | private func execute<Delegate: HTTPClientResponseDelegate>(request: Request,
| `- note: consider making generic parameter 'Delegate' conform to the 'Sendable' protocol
225 | delegate: Delegate,
226 | eventLoop delegateEL: EventLoop,
:
273 | }
274 | }.flatMap {
275 | let taskHandler = TaskHandler(task: task, delegate: delegate, redirectHandler: redirectHandler, ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
| `- warning: capture of 'delegate' with non-sendable type 'Delegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
276 | return channel.pipeline.addHandler(taskHandler)
277 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:275:100: 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
273 | }
274 | }.flatMap {
275 | let taskHandler = TaskHandler(task: task, delegate: delegate, redirectHandler: redirectHandler, ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
| `- 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
276 | return channel.pipeline.addHandler(taskHandler)
277 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:834:17: note: consider making generic struct 'RedirectHandler' conform to the 'Sendable' protocol
832 | // MARK: - RedirectHandler
833 |
834 | internal struct RedirectHandler<ResponseType> {
| `- note: consider making generic struct 'RedirectHandler' conform to the 'Sendable' protocol
835 | let request: HTTPClient.Request
836 | let execute: (HTTPClient.Request) -> HTTPClient.Task<ResponseType>
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:255:28: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | /// try client.syncShutdown()
46 | /// ```
47 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
48 | public let eventLoopGroup: EventLoopGroup
49 | let eventLoopGroupProvider: EventLoopGroupProvider
:
253 | let decoder = ByteToMessageHandler(HTTPResponseDecoder(leftOverBytesStrategy: .forwardBytes))
254 | return channel.pipeline.addHandlers([encoder, decoder], position: .first).flatMap {
255 | switch self.configuration.proxy {
| `- warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
256 | case .none:
257 | return channel.pipeline.addSSLHandlerIfNeeded(for: request, tlsConfiguration: self.configuration.tlsConfiguration)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:257:76: warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
255 | switch self.configuration.proxy {
256 | case .none:
257 | return channel.pipeline.addSSLHandlerIfNeeded(for: request, tlsConfiguration: self.configuration.tlsConfiguration)
| `- warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
258 | case .some(let proxy):
259 | return channel.pipeline.addProxyHandler(for: request, decoder: decoder, encoder: encoder, tlsConfiguration: self.configuration.tlsConfiguration, proxy: proxy)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:98:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
96 |
97 | /// Represent HTTP request.
98 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
99 | /// Represent kind of Request
100 | enum Kind {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:259:88: 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
257 | return channel.pipeline.addSSLHandlerIfNeeded(for: request, tlsConfiguration: self.configuration.tlsConfiguration)
258 | case .some(let proxy):
259 | return channel.pipeline.addProxyHandler(for: request, decoder: decoder, encoder: encoder, tlsConfiguration: self.configuration.tlsConfiguration, proxy: proxy)
| `- 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
260 | }
261 | }.flatMap {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:388:20: note: generic class 'ByteToMessageHandler' does not conform to the 'Sendable' protocol
386 | /// Most importantly, `ByteToMessageHandler` handles the tricky buffer management for you and flattens out all
387 | /// re-entrancy on `channelRead` that may happen in the `ChannelPipeline`.
388 | public final class ByteToMessageHandler<Decoder: ByteToMessageDecoder> {
| `- note: generic class 'ByteToMessageHandler' does not conform to the 'Sendable' protocol
389 | public typealias InboundIn = ByteBuffer
390 | public typealias InboundOut = Decoder.InboundOut
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:259:106: warning: capture of 'encoder' with non-sendable type 'HTTPRequestEncoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
257 | return channel.pipeline.addSSLHandlerIfNeeded(for: request, tlsConfiguration: self.configuration.tlsConfiguration)
258 | case .some(let proxy):
259 | return channel.pipeline.addProxyHandler(for: request, decoder: decoder, encoder: encoder, tlsConfiguration: self.configuration.tlsConfiguration, proxy: proxy)
| `- warning: capture of 'encoder' with non-sendable type 'HTTPRequestEncoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
260 | }
261 | }.flatMap {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPEncoder.swift:169:20: note: class 'HTTPRequestEncoder' does not conform to the 'Sendable' protocol
167 | /// This channel handler is used to translate messages from a series of
168 | /// `HTTPClientRequestPart` into the HTTP/1.1 wire format.
169 | public final class HTTPRequestEncoder: ChannelOutboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestEncoder' does not conform to the 'Sendable' protocol
170 | public typealias OutboundIn = HTTPClientRequestPart
171 | public typealias OutboundOut = IOData
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:262:28: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | /// try client.syncShutdown()
46 | /// ```
47 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
48 | public let eventLoopGroup: EventLoopGroup
49 | let eventLoopGroupProvider: EventLoopGroupProvider
:
260 | }
261 | }.flatMap {
262 | 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
263 | case .disabled:
264 | return channel.eventLoop.makeSucceededFuture(())
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:269:38: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | /// try client.syncShutdown()
46 | /// ```
47 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
48 | public let eventLoopGroup: EventLoopGroup
49 | let eventLoopGroupProvider: EventLoopGroupProvider
:
267 | }
268 | }.flatMap {
269 | 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
270 | return channel.pipeline.addHandler(IdleStateHandler(readTimeout: timeout))
271 | } else {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:275:57: 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
273 | }
274 | }.flatMap {
275 | let taskHandler = TaskHandler(task: task, delegate: delegate, redirectHandler: redirectHandler, ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
| `- 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
276 | return channel.pipeline.addHandler(taskHandler)
277 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:489:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
487 | /// Response execution context. Will be created by the library and could be used for obtaining
488 | /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
489 | public final class Task<Response> {
| `- note: generic class 'Task' does not conform to the 'Sendable' protocol
490 | /// The `EventLoop` the delegate will be executed on.
491 | public let eventLoop: EventLoop
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:275:73: warning: capture of 'delegate' with non-sendable type 'Delegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
222 | }
223 |
224 | private func execute<Delegate: HTTPClientResponseDelegate>(request: Request,
| `- note: consider making generic parameter 'Delegate' conform to the 'Sendable' protocol
225 | delegate: Delegate,
226 | eventLoop delegateEL: EventLoop,
:
273 | }
274 | }.flatMap {
275 | let taskHandler = TaskHandler(task: task, delegate: delegate, redirectHandler: redirectHandler, ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
| `- warning: capture of 'delegate' with non-sendable type 'Delegate' in a `@Sendable` closure; this is an error in the Swift 6 language mode
276 | return channel.pipeline.addHandler(taskHandler)
277 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:275:100: 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
273 | }
274 | }.flatMap {
275 | let taskHandler = TaskHandler(task: task, delegate: delegate, redirectHandler: redirectHandler, ignoreUncleanSSLShutdown: self.configuration.ignoreUncleanSSLShutdown)
| `- 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
276 | return channel.pipeline.addHandler(taskHandler)
277 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:834:17: note: consider making generic struct 'RedirectHandler' conform to the 'Sendable' protocol
832 | // MARK: - RedirectHandler
833 |
834 | internal struct RedirectHandler<ResponseType> {
| `- note: consider making generic struct 'RedirectHandler' conform to the 'Sendable' protocol
835 | let request: HTTPClient.Request
836 | let execute: (HTTPClient.Request) -> HTTPClient.Task<ResponseType>
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:275:143: warning: capture of 'self' with non-sendable type 'HTTPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | /// try client.syncShutdown()
46 | /// ```
47 | public class HTTPClient {
| `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
48 | public let eventLoopGroup: EventLoopGroup
49 | let eventLoopGroupProvider: EventLoopGroupProvider
:
273 | }
274 | }.flatMap {
275 | let taskHandler = TaskHandler(task: task, delegate: delegate, redirectHandler: redirectHandler, 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
276 | return channel.pipeline.addHandler(taskHandler)
277 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:293:13: 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
291 |
292 | eventLoopChannel.map { channel in
293 | task.setChannel(channel)
| `- 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
294 | }
295 | .flatMap { channel in
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:489:24: note: generic class 'Task' does not conform to the 'Sendable' protocol
487 | /// Response execution context. Will be created by the library and could be used for obtaining
488 | /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
489 | public final class Task<Response> {
| `- note: generic class 'Task' does not conform to the 'Sendable' protocol
490 | /// The `EventLoop` the delegate will be executed on.
491 | public let eventLoop: EventLoop
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:296:35: warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
294 | }
295 | .flatMap { channel in
296 | channel.writeAndFlush(request)
| `- warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
297 | }
298 | .cascadeFailure(to: task.promise)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:98:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
96 |
97 | /// Represent HTTP request.
98 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
99 | /// Represent kind of Request
100 | enum Kind {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:369:54: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
367 | ignoreUncleanSSLShutdown: Bool = false,
368 | decompression: Decompression = .disabled) {
369 | 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
370 | self.redirectConfiguration = redirectConfiguration ?? RedirectConfiguration()
371 | self.timeout = timeout
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:493:38: warning: capture of 'encoder' with non-sendable type 'HTTPRequestEncoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
491 | channel.pipeline.addHandler(
492 | ByteToMessageHandler(HTTPResponseDecoder(leftOverBytesStrategy: .forwardBytes)),
493 | position: .after(encoder)
| `- warning: capture of 'encoder' with non-sendable type 'HTTPRequestEncoder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
494 | )
495 | }.flatMap {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPEncoder.swift:169:20: note: class 'HTTPRequestEncoder' does not conform to the 'Sendable' protocol
167 | /// This channel handler is used to translate messages from a series of
168 | /// `HTTPClientRequestPart` into the HTTP/1.1 wire format.
169 | public final class HTTPRequestEncoder: ChannelOutboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestEncoder' does not conform to the 'Sendable' protocol
170 | public typealias OutboundIn = HTTPClientRequestPart
171 | public typealias OutboundOut = IOData
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:496:61: warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
494 | )
495 | }.flatMap {
496 | channel.pipeline.addSSLHandlerIfNeeded(for: request, tlsConfiguration: tlsConfiguration)
| `- warning: capture of 'request' with non-sendable type 'HTTPClient.Request' in a `@Sendable` closure; this is an error in the Swift 6 language mode
497 | }
498 | })
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:98:19: note: consider making struct 'Request' conform to the 'Sendable' protocol
96 |
97 | /// Represent HTTP request.
98 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
99 | /// Represent kind of Request
100 | enum Kind {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPClient.swift:508:73: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
506 |
507 | do {
508 | 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
509 | let context = try NIOSSLContext(configuration: tlsConfiguration)
510 | return self.addHandler(try NIOSSLClientHandler(context: context, serverHostname: request.host.isIPAddress ? nil : request.host),
[724/724] Compiling AsyncHTTPClient HTTPHandler.swift
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:106: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
104 | case unixSocket
105 |
106 | 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
107 | private static var unixSchemes = ["unix"]
108 |
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:107: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
105 |
106 | private static var hostSchemes = ["http", "https"]
107 | 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
108 |
109 | init(forScheme scheme: String) throws {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:496:27: warning: 'Lock' is deprecated: renamed to 'NIOLock'
494 | var channel: Channel?
495 | private var cancelled: Bool
496 | private let lock: Lock
| |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
| `- note: use 'NIOLock' instead
497 |
498 | init(eventLoop: EventLoop) {
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:502:25: warning: 'Lock' is deprecated: renamed to 'NIOLock'
500 | self.promise = eventLoop.makePromise()
501 | self.cancelled = false
502 | self.lock = Lock()
| |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
| `- note: use 'NIOLock' instead
503 | }
504 |
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:515:50: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
487 | /// Response execution context. Will be created by the library and could be used for obtaining
488 | /// `EventLoopFuture<Response>` of the execution or cancellation of the execution.
489 | public final class Task<Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
490 | /// The `EventLoop` the delegate will be executed on.
491 | public let eventLoop: EventLoop
:
513 | /// - throws: The error value of the `EventLoopFuture` if it errors.
514 | public func wait() throws -> Response {
515 | 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
516 | }
517 |
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:585:17: warning: capture of 'doIt()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
583 | } else {
584 | self.task.eventLoop.execute {
585 | 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'
586 | }
587 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:576:14: warning: concurrently-executed local function 'doIt()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
574 | func failTaskAndNotifyDelegate<Err: Error>(error: Err,
575 | _ body: @escaping (HTTPClient.Task<Delegate.Response>, Err) -> Void) {
576 | func doIt() {
| `- warning: concurrently-executed local function 'doIt()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
577 | body(self.task, error)
578 | self.task.promise.fail(error)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:600: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
598 | } else {
599 | self.task.eventLoop.execute {
600 | 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'
601 | }
602 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:600: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
598 | } else {
599 | self.task.eventLoop.execute {
600 | 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
601 | }
602 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:600:33: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
592 | }
593 |
594 | func callOutToDelegateFireAndForget<Value>(value: Value,
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
595 | _ body: @escaping (HTTPClient.Task<Delegate.Response>, Value) -> Void) {
596 | if self.task.eventLoop.inEventLoop {
:
598 | } else {
599 | self.task.eventLoop.execute {
600 | 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
601 | }
602 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:612: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
610 | } else {
611 | return self.task.eventLoop.submit {
612 | 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'
613 | }.flatMap { $0 }.hop(to: channelEventLoop)
614 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:612: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
610 | } else {
611 | return self.task.eventLoop.submit {
612 | 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
613 | }.flatMap { $0 }.hop(to: channelEventLoop)
614 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:612:33: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
603 | }
604 |
605 | func callOutToDelegate<Value>(value: Value,
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
606 | channelEventLoop: EventLoop,
607 | _ body: @escaping (HTTPClient.Task<Delegate.Response>, Value) -> EventLoopFuture<Void>) -> EventLoopFuture<Void> {
:
610 | } else {
611 | return self.task.eventLoop.submit {
612 | 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
613 | }.flatMap { $0 }.hop(to: channelEventLoop)
614 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:622:26: warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
615 | }
616 |
617 | func callOutToDelegate<Response>(promise: EventLoopPromise<Response>? = nil,
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
618 | _ body: @escaping (HTTPClient.Task<Delegate.Response>) throws -> Response) {
619 | func doIt() {
620 | do {
621 | let result = try body(self.task)
622 | promise?.succeed(result)
| `- warning: type 'Response' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
623 | } catch {
624 | promise?.fail(error)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:632:17: warning: capture of 'doIt()' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
630 | } else {
631 | self.task.eventLoop.submit {
632 | 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'
633 | }.cascadeFailure(to: promise)
634 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:619:14: warning: concurrently-executed local function 'doIt()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
617 | func callOutToDelegate<Response>(promise: EventLoopPromise<Response>? = nil,
618 | _ body: @escaping (HTTPClient.Task<Delegate.Response>) throws -> Response) {
619 | func doIt() {
| `- warning: concurrently-executed local function 'doIt()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
620 | do {
621 | let result = try body(self.task)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:677: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
675 |
676 | context.write(wrapOutboundOut(.head(head))).map {
677 | 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
678 | }.flatMap {
679 | self.writeBody(request: request, context: context)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:677:56: warning: reference to captured var 'head' in concurrently-executing code; this is an error in the Swift 6 language mode
675 |
676 | context.write(wrapOutboundOut(.head(head))).map {
677 | 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
678 | }.flatMap {
679 | self.writeBody(request: request, context: context)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:679: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
677 | self.callOutToDelegateFireAndForget(value: head, self.delegate.didSendRequestHead)
678 | }.flatMap {
679 | 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
680 | }.flatMap {
681 | context.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:679: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
96 |
97 | /// Represent HTTP request.
98 | public struct Request {
| `- note: consider making struct 'Request' conform to the 'Sendable' protocol
99 | /// Represent kind of Request
100 | enum Kind {
:
677 | self.callOutToDelegateFireAndForget(value: head, self.delegate.didSendRequestHead)
678 | }.flatMap {
679 | 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
680 | }.flatMap {
681 | context.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:679:55: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
677 | self.callOutToDelegateFireAndForget(value: head, self.delegate.didSendRequestHead)
678 | }.flatMap {
679 | 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
680 | }.flatMap {
681 | context.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:681:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
679 | self.writeBody(request: request, context: context)
680 | }.flatMap {
681 | 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
682 | return context.writeAndFlush(self.wrapOutboundOut(.end(nil)))
683 | }.map {
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:682: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
680 | }.flatMap {
681 | context.eventLoop.assertInEventLoop()
682 | 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
683 | }.map {
684 | context.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:684:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
682 | return context.writeAndFlush(self.wrapOutboundOut(.end(nil)))
683 | }.map {
684 | 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
685 | self.state = .sent
686 | self.callOutToDelegateFireAndForget(self.delegate.didSendRequest)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:685: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
683 | }.map {
684 | context.eventLoop.assertInEventLoop()
685 | 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
686 | self.callOutToDelegateFireAndForget(self.delegate.didSendRequest)
687 |
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:693:13: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
691 | }
692 | }.flatMapErrorThrowing { error in
693 | 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
694 | self.state = .end
695 | self.failTaskAndNotifyDelegate(error: error, self.delegate.didReceiveError)
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:694: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
692 | }.flatMapErrorThrowing { error in
693 | context.eventLoop.assertInEventLoop()
694 | 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
695 | self.failTaskAndNotifyDelegate(error: error, self.delegate.didReceiveError)
696 | context.close(promise: nil)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:709: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
707 | context.eventLoop.assertInEventLoop()
708 | return context.writeAndFlush(self.wrapOutboundOut(.body(part))).map {
709 | 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
710 | }
711 | })
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:709:60: warning: capture of 'part' with non-sendable type 'IOData' in a `@Sendable` closure; this is an error in the Swift 6 language mode
707 | context.eventLoop.assertInEventLoop()
708 | return context.writeAndFlush(self.wrapOutboundOut(.body(part))).map {
709 | 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
710 | }
711 | })
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/IOData.swift:19:13: note: enum 'IOData' does not conform to the 'Sendable' protocol
17 | /// Many `ChannelHandler`s receive or emit bytes and in most cases this can be either a `ByteBuffer` or a `FileRegion`
18 | /// from disk. To still form a well-typed `ChannelPipeline` such handlers should receive and emit value of type `IOData`.
19 | public enum IOData {
| `- note: enum 'IOData' does not conform to the 'Sendable' protocol
20 | /// A `ByteBuffer`.
21 | case byteBuffer(ByteBuffer)
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:734: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
732 | self.callOutToDelegate(value: head, channelEventLoop: context.eventLoop, self.delegate.didReceiveHead)
733 | .whenComplete { result in
734 | 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
735 | }
736 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:734:64: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
732 | self.callOutToDelegate(value: head, channelEventLoop: context.eventLoop, self.delegate.didReceiveHead)
733 | .whenComplete { result in
734 | 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
735 | }
736 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:746: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
542 | // MARK: - TaskHandler
543 |
544 | internal class TaskHandler<Delegate: HTTPClientResponseDelegate> {
| `- note: generic class 'TaskHandler' does not conform to the 'Sendable' protocol
545 | enum State {
546 | case idle
:
744 | self.callOutToDelegate(value: body, channelEventLoop: context.eventLoop, self.delegate.didReceiveBodyPart)
745 | .whenComplete { result in
746 | 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
747 | }
748 | }
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:746:64: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
744 | self.callOutToDelegate(value: body, channelEventLoop: context.eventLoop, self.delegate.didReceiveBodyPart)
745 | .whenComplete { result in
746 | 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
747 | }
748 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 | // visible for ChannelPipeline to modify
1509 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/AsyncHTTPClient/HTTPHandler.swift:916:58: warning: type 'ResponseType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
832 | // MARK: - RedirectHandler
833 |
834 | internal struct RedirectHandler<ResponseType> {
| `- note: consider making generic parameter 'ResponseType' conform to the 'Sendable' protocol
835 | let request: HTTPClient.Request
836 | let execute: (HTTPClient.Request) -> HTTPClient.Task<ResponseType>
:
914 | var newRequest = try HTTPClient.Request(url: redirectURL, method: method, headers: headers, body: body)
915 | newRequest.redirectState = nextState
916 | return self.execute(newRequest).futureResult.cascade(to: promise)
| `- warning: type 'ResponseType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
917 | } catch {
918 | return promise.fail(error)
Build complete! (122.63s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.13.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
}
],
"manifest_display_name" : "async-http-client",
"name" : "async-http-client",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AsyncHTTPClient",
"targets" : [
"AsyncHTTPClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncHTTPClientTests",
"module_type" : "SwiftTarget",
"name" : "AsyncHTTPClientTests",
"path" : "Tests/AsyncHTTPClientTests",
"product_dependencies" : [
"NIO",
"NIOConcurrencyHelpers",
"NIOSSL",
"NIOFoundationCompat",
"NIOTestUtils"
],
"sources" : [
"HTTPClientCookieTests+XCTest.swift",
"HTTPClientCookieTests.swift",
"HTTPClientInternalTests+XCTest.swift",
"HTTPClientInternalTests.swift",
"HTTPClientTestUtils.swift",
"HTTPClientTests+XCTest.swift",
"HTTPClientTests.swift"
],
"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" : [
"HTTPClient+HTTPCookie.swift",
"HTTPClient.swift",
"HTTPClientProxyHandler.swift",
"HTTPHandler.swift",
"RequestValidation.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.