Build Information
Successful build of Kitura-NIO, reference 3.1.1 (bf7572
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 01:30:13 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
}
]
},
{
"identity": "bluesslservice",
"name": "SSLService",
"url": "https://github.com/Kitura/BlueSSLService.git",
"version": "2.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSSLService",
"dependencies": [
{
"identity": "bluesocket",
"name": "Socket",
"url": "https://github.com/Kitura/BlueSocket.git",
"version": "2.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BlueSocket",
"dependencies": [
]
}
]
},
{
"identity": "loggerapi",
"name": "LoggerAPI",
"url": "https://github.com/Kitura/LoggerAPI.git",
"version": "2.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LoggerAPI",
"dependencies": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.6.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/Kitura/Kitura-NIO.git
[1/3471] Fetching kitura-nio
Fetched https://github.com/Kitura/Kitura-NIO.git from cache (1.10s)
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetching https://github.com/apple/swift-nio-extras.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/Kitura/BlueSSLService.git from cache
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.57s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.73s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.73s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.73s)
Fetched https://github.com/apple/swift-nio.git from cache (0.73s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 2.0.0 (0.02s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.02s)
Fetching https://github.com/Kitura/BlueSocket.git from cache
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.58s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.02s)
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.02s)
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetching https://github.com/apple/swift-http-types from cache
Fetched https://github.com/apple/swift-http-types from cache (0.55s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.55s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.3.1 (0.02s)
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.02s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.02s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Fetched https://github.com/apple/swift-collections.git from cache (0.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.02s)
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.02s)
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.0
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
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-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/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/Kitura/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at 3.1.1 (bf75729)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
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
warning: '.resolve-product-dependencies': dependency 'kitura-nio' is not used by any target
Found 5 product dependencies
- swift-nio
- swift-nio-ssl
- swift-nio-extras
- SSLService
- LoggerAPI
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Kitura/Kitura-NIO.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/446] Write sources
[10/446] Copying PrivacyInfo.xcprivacy
[13/446] Write sources
[22/446] Compiling CNIOWindows shim.c
[23/446] Compiling CNIOWindows WSAStartup.c
[24/446] Compiling CNIOWASI CNIOWASI.c
[25/446] Write swift-version--7754E27361AE5C74.txt
[26/446] Compiling CNIOLinux liburing_shims.c
[27/446] Compiling CNIOLinux shim.c
[28/446] Compiling fiat_p256_adx_sqr.S
[29/456] Compiling _AtomicsShims.c
[30/458] Compiling CNIOLLHTTP c_nio_http.c
[31/458] Compiling CNIOSHA1 c_nio_sha1.c
[32/458] Compiling fiat_p256_adx_mul.S
[33/458] Compiling fiat_curve25519_adx_square.S
[34/458] Compiling fiat_curve25519_adx_mul.S
[35/481] Compiling CNIOLLHTTP c_nio_api.c
[36/481] Compiling CNIOLLHTTP c_nio_llhttp.c
[37/481] Compiling CNIODarwin shim.c
[38/481] Compiling CNIOBoringSSLShims shims.c
[39/481] Compiling tls_method.cc
[40/481] Compiling tls13_server.cc
[41/481] Compiling tls_record.cc
[42/481] Compiling tls13_enc.cc
[43/481] Compiling tls13_client.cc
[44/481] Compiling t1_enc.cc
[45/481] Compiling tls13_both.cc
[46/481] Compiling ssl_x509.cc
[47/481] Compiling ssl_versions.cc
[48/481] Compiling ssl_transcript.cc
[49/481] Compiling ssl_stat.cc
[50/481] Compiling ssl_privkey.cc
[51/481] Compiling ssl_session.cc
[52/481] Compiling ssl_key_share.cc
[53/481] Compiling ssl_lib.cc
[54/481] Compiling ssl_file.cc
[55/481] Compiling ssl_cipher.cc
[56/481] Compiling ssl_credential.cc
[57/481] Compiling ssl_cert.cc
[58/481] Compiling ssl_buffer.cc
[59/481] Compiling ssl_asn1.cc
[60/481] Compiling ssl_aead_ctx.cc
[61/481] Compiling s3_pkt.cc
[62/481] Compiling s3_lib.cc
[63/481] Compiling s3_both.cc
[64/481] Compiling handshake_server.cc
[65/481] Compiling handshake.cc
[66/481] Compiling handshake_client.cc
[67/481] Compiling handoff.cc
[68/481] Compiling extensions.cc
[69/481] Compiling encrypted_client_hello.cc
[70/481] Compiling dtls_method.cc
[71/481] Compiling dtls_record.cc
[72/481] Compiling d1_srtp.cc
[73/481] Compiling md5-x86_64-linux.S
[74/481] Compiling md5-x86_64-apple.S
[75/481] Compiling md5-586-linux.S
[76/481] Compiling md5-586-apple.S
[77/481] Compiling err_data.c
[78/481] Compiling d1_pkt.cc
[79/481] Compiling chacha20_poly1305_x86_64-linux.S
[80/481] Compiling chacha20_poly1305_x86_64-apple.S
[81/481] Compiling chacha20_poly1305_armv8-win.S
[82/481] Compiling chacha20_poly1305_armv8-linux.S
[83/481] Compiling chacha-x86_64-linux.S
[84/481] Compiling chacha20_poly1305_armv8-apple.S
[85/481] Compiling bio_ssl.cc
[86/481] Compiling chacha-x86_64-apple.S
[87/481] Compiling chacha-x86-linux.S
[88/481] Compiling chacha-x86-apple.S
[89/481] Compiling chacha-armv8-win.S
[90/481] Compiling chacha-armv8-linux.S
[91/481] Compiling chacha-armv4-linux.S
[92/481] Compiling chacha-armv8-apple.S
[93/481] Compiling aes128gcmsiv-x86_64-linux.S
[94/481] Compiling aes128gcmsiv-x86_64-apple.S
[95/481] Compiling x86_64-mont5-linux.S
[96/481] Compiling x86_64-mont5-apple.S
[97/481] Compiling x86_64-mont-linux.S
[98/481] Compiling x86_64-mont-apple.S
[99/481] Compiling x86-mont-linux.S
[100/481] Compiling x86-mont-apple.S
[101/481] Compiling vpaes-x86_64-linux.S
[102/481] Compiling vpaes-x86_64-apple.S
[103/481] Compiling vpaes-x86-linux.S
[104/481] Compiling vpaes-x86-apple.S
[105/481] Compiling vpaes-armv8-win.S
[106/481] Compiling vpaes-armv8-linux.S
[107/481] Compiling vpaes-armv8-apple.S
[108/481] Compiling vpaes-armv7-linux.S
[109/481] Compiling sha512-x86_64-linux.S
[110/481] Compiling sha512-x86_64-apple.S
[111/481] Compiling sha512-armv8-win.S
[112/481] Compiling sha512-armv8-linux.S
[113/481] Compiling sha512-armv4-linux.S
[114/481] Compiling sha512-armv8-apple.S
[115/481] Compiling sha512-586-linux.S
[116/481] Compiling sha512-586-apple.S
[117/481] Compiling sha256-x86_64-linux.S
[118/481] Compiling sha256-x86_64-apple.S
[119/481] Compiling sha256-armv8-win.S
[120/481] Compiling sha256-armv8-linux.S
[121/481] Compiling sha256-armv8-apple.S
[122/481] Compiling sha256-armv4-linux.S
[123/481] Compiling sha256-586-linux.S
[124/481] Compiling sha256-586-apple.S
[125/481] Compiling sha1-x86_64-linux.S
[126/481] Compiling sha1-x86_64-apple.S
[127/481] Compiling sha1-armv8-win.S
[128/481] Compiling sha1-armv8-linux.S
[129/481] Compiling sha1-armv4-large-linux.S
[130/481] Compiling sha1-armv8-apple.S
[131/481] Compiling sha1-586-linux.S
[132/481] Compiling sha1-586-apple.S
[133/481] Compiling rsaz-avx2-linux.S
[134/481] Compiling d1_lib.cc
[135/481] Compiling rsaz-avx2-apple.S
[136/481] Compiling rdrand-x86_64-linux.S
[137/481] Compiling rdrand-x86_64-apple.S
[138/481] Compiling p256_beeu-x86_64-asm-linux.S
[139/481] Compiling p256_beeu-x86_64-asm-apple.S
[140/481] Compiling p256_beeu-armv8-asm-win.S
[141/481] Compiling p256_beeu-armv8-asm-linux.S
[142/481] Compiling p256_beeu-armv8-asm-apple.S
[143/481] Compiling p256-x86_64-asm-linux.S
[144/481] Compiling d1_both.cc
[145/481] Compiling p256-x86_64-asm-apple.S
[146/481] Compiling p256-armv8-asm-win.S
[147/481] Compiling p256-armv8-asm-linux.S
[148/481] Compiling ghashv8-armv8-win.S
[149/481] Compiling p256-armv8-asm-apple.S
[150/481] Compiling ghashv8-armv8-linux.S
[151/481] Compiling ghashv8-armv8-apple.S
[152/481] Compiling ghashv8-armv7-linux.S
[153/481] Compiling ghash-x86_64-linux.S
[154/481] Compiling ghash-x86_64-apple.S
[155/481] Compiling ghash-x86-linux.S
[156/481] Compiling ghash-x86-apple.S
[157/481] Compiling ghash-ssse3-x86_64-linux.S
[158/481] Compiling ghash-ssse3-x86_64-apple.S
[159/481] Compiling ghash-ssse3-x86-linux.S
[160/481] Compiling ghash-ssse3-x86-apple.S
[161/481] Compiling ghash-neon-armv8-win.S
[162/481] Compiling ghash-neon-armv8-linux.S
[163/481] Compiling ghash-neon-armv8-apple.S
[164/481] Compiling ghash-armv4-linux.S
[165/481] Compiling co-586-linux.S
[166/481] Compiling co-586-apple.S
[167/481] Compiling bsaes-armv7-linux.S
[168/481] Compiling bn-armv8-win.S
[169/481] Compiling bn-armv8-linux.S
[170/481] Compiling bn-armv8-apple.S
[171/481] Compiling bn-586-linux.S
[172/481] Compiling bn-586-apple.S
[173/481] Compiling armv8-mont-win.S
[174/481] Compiling armv8-mont-linux.S
[175/481] Compiling armv8-mont-apple.S
[176/481] Compiling aesv8-gcm-armv8-win.S
[177/481] Compiling armv4-mont-linux.S
[178/481] Compiling aesv8-gcm-armv8-linux.S
[179/481] Compiling aesv8-gcm-armv8-apple.S
[180/481] Compiling aesv8-armv8-win.S
[181/481] Compiling aesv8-armv8-linux.S
[182/481] Compiling aesv8-armv8-apple.S
[183/481] Compiling aesv8-armv7-linux.S
[184/481] Compiling aesni-x86_64-linux.S
[185/481] Compiling aesni-x86_64-apple.S
[186/481] Compiling aesni-x86-linux.S
[187/481] Compiling aesni-x86-apple.S
[187/481] Compiling aesni-gcm-x86_64-linux.S
[189/481] Compiling aesni-gcm-x86_64-apple.S
[190/481] Compiling x_sig.c
[192/481] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[192/482] Compiling x_val.c
[193/482] Compiling x_spki.c
[194/482] Compiling x_x509a.c
[195/482] Compiling x_x509.c
[197/482] Emitting module _NIOBase64
[198/482] Compiling _NIOBase64 Base64.swift
[199/482] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[200/482] Compiling InternalCollectionsUtilities Specialize.swift
[201/482] Compiling InternalCollectionsUtilities Debugging.swift
[202/482] Compiling InternalCollectionsUtilities Descriptions.swift
[203/482] Compiling InternalCollectionsUtilities _SortedCollection.swift
[204/482] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[204/482] Compiling x_req.c
[205/482] Compiling x_attrib.c
[206/482] Compiling x_exten.c
[207/482] Compiling x_pubkey.c
[208/482] Compiling x_crl.c
[209/482] Compiling x_name.c
[210/482] Compiling x509spki.c
[211/482] Compiling x_algor.c
[212/482] Compiling x509rset.c
[213/482] Compiling x_all.c
[214/482] Compiling x509name.c
[215/482] Compiling x509cset.c
[217/482] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[217/482] Compiling x509_txt.c
[218/482] Compiling x509_vpm.c
[219/482] Compiling x509_v3.c
[220/482] Compiling x509_trs.c
[221/482] Compiling x509_vfy.c
[222/482] Compiling x509_set.c
[223/482] Compiling x509_req.c
[224/482] Compiling x509_obj.c
[225/482] Compiling x509_def.c
[226/482] Compiling x509_ext.c
[227/482] Compiling x509_lu.c
[228/482] Compiling x509_d2.c
[229/482] Compiling x509_cmp.c
[230/482] Compiling x509_att.c
[231/482] Compiling x509.c
[232/482] Compiling v3_skey.c
[233/482] Compiling v3_purp.c
[234/482] Compiling v3_utl.c
[236/482] Compiling InternalCollectionsUtilities UInt+reversed.swift
[237/482] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[238/482] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[239/482] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[240/482] Compiling InternalCollectionsUtilities Integer rank.swift
[241/482] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[242/482] Emitting module InternalCollectionsUtilities
[243/482] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[244/482] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[245/482] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[246/482] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[246/482] Compiling v3_pcons.c
[247/482] Compiling v3_prn.c
[248/482] Compiling v3_ocsp.c
[249/482] Compiling v3_pmaps.c
[250/482] Compiling v3_ncons.c
[251/482] Compiling v3_lib.c
[252/482] Compiling v3_int.c
[254/482] Compiling _NIODataStructures PriorityQueue.swift
[255/482] Compiling _NIODataStructures _TinyArray.swift
[255/498] Compiling v3_ia5.c
[256/498] Compiling v3_info.c
[257/498] Compiling v3_genn.c
[258/498] Compiling v3_extku.c
[259/498] Compiling v3_enum.c
[260/498] Compiling v3_crld.c
[261/498] Compiling v3_bitst.c
[262/498] Compiling v3_conf.c
[263/498] Compiling v3_cpols.c
[265/498] Emitting module _NIODataStructures
[266/498] Compiling _NIODataStructures Heap.swift
[266/498] Compiling v3_bcons.c
[267/498] Compiling v3_akeya.c
[268/498] Compiling v3_alt.c
[269/498] Compiling v3_akey.c
[270/498] Compiling t_x509a.c
[271/498] Compiling t_crl.c
[272/498] Compiling t_req.c
[273/498] Compiling t_x509.c
[274/498] Compiling i2d_pr.c
[275/498] Compiling rsa_pss.c
[276/498] Compiling policy.c
[277/498] Compiling name_print.c
[278/498] Compiling by_file.c
[279/498] Compiling by_dir.c
[280/498] Compiling asn1_gen.c
[281/498] Compiling algorithm.c
[282/498] Compiling a_verify.c
[283/498] Compiling a_sign.c
[284/498] Compiling a_digest.c
[285/498] Compiling thread_win.c
[286/498] Compiling voprf.c
[287/498] Compiling trust_token.c
[288/498] Compiling thread_none.c
[289/498] Compiling thread_pthread.c
[290/498] Compiling thread.c
[291/498] Compiling pmbtoken.c
[292/498] Compiling spx_wots.c
[293/498] Compiling stack.c
[294/498] Compiling spx_util.c
[295/498] Compiling spx_thash.c
[296/498] Compiling spx_merkle.c
[297/498] Compiling spx_fors.c
[298/498] Compiling spx_address.c
[299/498] Compiling spx.c
[300/498] Compiling wots.c
[301/498] Compiling thash.c
[302/498] Compiling slhdsa.c
[303/498] Compiling merkle.c
[304/498] Compiling fors.c
[305/498] Compiling sha512.c
[306/498] Compiling siphash.c
[307/498] Compiling sha256.c
[308/498] Compiling sha1.c
[309/498] Compiling rsa_extra.c
[310/498] Compiling rsa_print.c
[311/498] Compiling refcount.c
[312/498] Compiling rsa_asn1.c
[313/498] Compiling rc4.c
[314/498] Compiling rsa_crypt.c
[315/498] Compiling windows.c
[316/498] Compiling urandom.c
[317/498] Compiling trusty.c
[318/498] Compiling rand_extra.c
[319/498] Compiling ios.c
[320/498] Compiling passive.c
[321/498] Compiling deterministic.c
[322/498] Compiling forkunsafe.c
[323/498] Compiling poly1305_arm_asm.S
[324/498] Compiling poly1305_vec.c
[325/498] Compiling pool.c
[326/498] Compiling getentropy.c
[327/498] Compiling fork_detect.c
[328/498] Compiling poly1305_arm.c
[329/498] Compiling poly1305.c
[330/498] Compiling pkcs7.c
[332/498] Compiling Logging LogHandler.swift
[333/498] Compiling Logging MetadataProvider.swift
[334/498] Compiling Logging Logging.swift
[335/498] Compiling Logging Locks.swift
[336/498] Emitting module Logging
[336/498] Compiling pem_xaux.c
[337/498] Compiling pkcs8.c
[338/498] Compiling p5_pbev2.c
[339/498] Compiling pem_x509.c
[340/498] Compiling pkcs7_x509.c
[341/498] Compiling pem_pkey.c
[342/498] Compiling pkcs8_x509.c
[343/500] Compiling obj_xref.c
[344/500] Compiling pem_pk8.c
[345/500] Compiling pem_oth.c
[346/500] Compiling obj.c
[347/500] Compiling pem_info.c
[348/500] Compiling pem_all.c
[349/500] Compiling pem_lib.c
[350/500] Compiling mem.c
[351/500] Compiling md4.c
[352/500] Compiling md5.c
[352/500] Compiling mldsa.c
[354/500] Compiling lhash.c
[355/500] Compiling poly_rq_mul.S
[356/500] Compiling keccak.c
[357/500] Compiling kyber.c
[358/500] Compiling fips_shared_support.c
[359/500] Compiling ex_data.c
[360/500] Compiling hpke.c
[361/500] Compiling sign.c
[363/500] Compiling DequeModule _DequeBuffer.swift
[364/500] Compiling DequeModule _DequeBufferHeader.swift
[365/500] Compiling DequeModule Deque+Equatable.swift
[366/500] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[367/500] Compiling DequeModule _DequeSlot.swift
[368/500] Compiling DequeModule Deque._UnsafeHandle.swift
[369/500] Compiling DequeModule Deque.swift
[370/500] Compiling DequeModule Deque+Testing.swift
[371/500] Compiling DequeModule Deque._Storage.swift
[372/500] Compiling DequeModule Deque+Extras.swift
[373/500] Compiling DequeModule Deque+Hashable.swift
[373/501] Compiling scrypt.c
[374/501] Compiling pbkdf.c
[375/501] Compiling p_x25519_asn1.c
[376/501] Compiling print.c
[377/501] Compiling p_x25519.c
[379/501] Emitting module LoggerAPI
[379/501] Compiling p_rsa_asn1.c
[380/501] Compiling hrss.c
[381/501] Compiling p_hkdf.c
[382/501] Compiling p_ed25519_asn1.c
[383/501] Compiling p_rsa.c
[384/501] Compiling p_ed25519.c
[385/501] Compiling p_ec_asn1.c
[386/501] Compiling p_ec.c
[387/501] Compiling p_dh_asn1.c
[387/501] Compiling p_dsa_asn1.c
[389/501] Compiling p_dh.c
[390/501] Compiling evp_ctx.c
[391/501] Compiling mlkem.cc
[392/501] Compiling evp.c
[393/501] Compiling engine.c
[394/501] Compiling err.c
[395/501] Compiling evp_asn1.c
[396/501] Compiling ecdsa_asn1.c
[397/501] Compiling ecdh_extra.c
[398/501] Compiling ec_derive.c
[399/501] Compiling dsa_asn1.c
[399/501] Compiling hash_to_curve.c
[401/501] Compiling ec_asn1.c
[402/501] Compiling dsa.c
[404/501] Compiling DequeModule _UnsafeWrappedBuffer.swift
[404/501] Compiling dilithium.c
[405/501] Compiling dh_asn1.c
[406/501] Compiling params.c
[407/501] Compiling digest_extra.c
[408/501] Compiling x25519-asm-arm.S
[409/501] Compiling des.c
[409/501] Compiling spake25519.c
[411/501] Compiling curve25519_64_adx.c
[412/501] Compiling crypto.c
[413/501] Compiling cpu_intel.c
[414/501] Compiling cpu_arm_linux.c
[415/501] Compiling cpu_arm_freebsd.c
[416/501] Compiling cpu_aarch64_win.c
[417/501] Compiling cpu_aarch64_sysreg.c
[418/501] Compiling cpu_aarch64_openbsd.c
[419/501] Compiling curve25519.c
[420/501] Compiling cpu_aarch64_linux.c
[421/501] Compiling cpu_aarch64_fuchsia.c
[422/501] Compiling conf.c
[423/501] Compiling tls_cbc.c
[424/501] Compiling e_tls.c
[425/501] Compiling e_rc4.c
[426/501] Compiling e_rc2.c
[427/501] Compiling e_null.c
[428/501] Compiling e_des.c
[429/501] Compiling e_chacha20poly1305.c
[430/501] Compiling e_aesgcmsiv.c
[431/501] Compiling e_aesctrhmac.c
[432/501] Compiling derive_key.c
[433/501] Compiling unicode.c
[434/501] Compiling cipher_extra.c
[435/501] Compiling chacha.c
[437/501] Compiling DequeModule Deque+CustomReflectable.swift
[438/501] Compiling DequeModule Deque+Descriptions.swift
[439/501] Compiling DequeModule Deque+Codable.swift
[440/501] Compiling DequeModule Deque+Collection.swift
[441/501] Emitting module DequeModule
[441/501] Compiling cbs.c
[442/501] Compiling ber.c
[443/501] Compiling asn1_compat.c
[444/501] Compiling buf.c
[445/501] Compiling cbb.c
[446/501] Compiling bn_asn1.c
[447/501] Compiling convert.c
[448/501] Compiling blake2.c
[449/501] Compiling printf.c
[450/501] Compiling pair.c
[451/501] Compiling cpu_aarch64_apple.c
[452/501] Compiling hexdump.c
[453/501] Compiling socket_helper.c
[454/501] Compiling file.c
[455/501] Compiling socket.c
[456/501] Compiling fd.c
[457/501] Compiling errno.c
[458/501] Compiling bio_mem.c
[459/501] Compiling connect.c
[460/501] Compiling base64.c
[461/501] Compiling bio.c
[462/501] Compiling tasn_utl.c
[463/501] Compiling tasn_typ.c
[464/501] Compiling tasn_new.c
[465/501] Compiling tasn_fre.c
[466/501] Compiling tasn_enc.c
[467/501] Compiling posix_time.c
[468/501] Compiling f_string.c
[469/501] Compiling f_int.c
[470/501] Compiling tasn_dec.c
[471/501] Compiling asn1_par.c
[471/501] Compiling asn_pack.c
[473/501] Compiling a_utctm.c
[474/501] Compiling asn1_lib.c
[475/501] Compiling a_type.c
[476/501] Compiling a_time.c
[477/501] Compiling a_strnid.c
[478/501] Compiling a_octet.c
[479/501] Compiling a_strex.c
[480/501] Compiling a_i2d_fp.c
[481/501] Compiling a_mbstr.c
[482/501] Compiling a_object.c
[483/501] Compiling a_int.c
[484/501] Compiling a_gentm.c
[485/501] Compiling a_dup.c
[486/501] Write sources
[487/501] Compiling a_d2i_fp.c
[488/501] Compiling CLinuxHelpers ProcessorAffinity.c
[489/501] Compiling bcm.c
[490/501] Compiling a_bool.c
[491/501] Compiling a_bitstr.c
[493/520] Compiling Atomics ManagedAtomic.swift
[494/520] Compiling Atomics ManagedAtomicLazyReference.swift
[495/522] Compiling Atomics UnsafeAtomic.swift
[496/522] Compiling Atomics UnsafeAtomicLazyReference.swift
[497/522] Compiling Atomics AtomicStorage.swift
[498/522] Compiling Atomics AtomicValue.swift
[499/522] Compiling Atomics IntegerOperations.swift
[500/522] Compiling Atomics Unmanaged extensions.swift
[501/522] Compiling Atomics AtomicMemoryOrderings.swift
[502/522] Compiling Atomics DoubleWord.swift
[503/522] Compiling Atomics Primitives.shims.swift
[504/522] Compiling Atomics AtomicInteger.swift
[505/522] Compiling Atomics AtomicOptionalWrappable.swift
[506/522] Compiling Atomics AtomicReference.swift
[506/522] Compiling c-nioatomics.c
[507/522] Compiling c-atomics.c
[509/528] Compiling Socket SocketUtils.swift
[510/528] Compiling Socket SocketProtocols.swift
[511/528] Compiling LoggerAPI Logger.swift
[512/528] Compiling Socket Socket+Equatable.swift
[513/528] Emitting module Socket
[514/528] Compiling Socket Socket+Hashable.swift
[515/528] Compiling Socket Socket.swift
[516/531] Emitting module SSLService
[517/531] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[518/531] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[519/531] Compiling NIOConcurrencyHelpers NIOLock.swift
[520/531] Compiling NIOConcurrencyHelpers atomics.swift
[521/531] Compiling NIOConcurrencyHelpers lock.swift
[522/531] Emitting module NIOConcurrencyHelpers
[523/531] Compiling Atomics OptionalRawRepresentable.swift
[524/531] Compiling Atomics RawRepresentable.swift
[525/531] Compiling Atomics PointerConformances.swift
[526/531] Compiling Atomics Primitives.native.swift
[527/531] Compiling Atomics AtomicBool.swift
[528/531] Compiling Atomics IntegerConformances.swift
[529/531] Compiling SSLService SSLService.swift
[530/531] Compiling SSLService SSLPointerTricks.swift
[531/531] Emitting module Atomics
[532/593] Compiling NIOCore Linux.swift
[533/593] Compiling NIOCore MarkedCircularBuffer.swift
[534/593] Compiling NIOCore MulticastChannel.swift
[535/593] Compiling NIOCore NIOAny.swift
[536/593] Compiling NIOCore NIOCloseOnErrorHandler.swift
[537/593] Compiling NIOCore NIOLoopBound.swift
[538/599] Compiling NIOCore GlobalSingletons.swift
[539/599] Compiling NIOCore IO.swift
[540/599] Compiling NIOCore IOData.swift
[541/599] Compiling NIOCore IPProtocol.swift
[542/599] Compiling NIOCore IntegerBitPacking.swift
[543/599] Compiling NIOCore IntegerTypes.swift
[544/599] Compiling NIOCore Interfaces.swift
[545/599] Compiling NIOCore NIOScheduledCallback.swift
[546/599] Compiling NIOCore NIOSendable.swift
[547/599] Compiling NIOCore PointerHelpers.swift
[548/599] Compiling NIOCore RecvByteBufferAllocator.swift
[549/599] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[550/599] Compiling NIOCore SocketAddresses.swift
[551/599] Compiling NIOCore SocketOptionProvider.swift
[552/599] Compiling NIOCore SystemCallHelpers.swift
[553/599] Compiling NIOCore TimeAmount+Duration.swift
[554/599] Compiling NIOCore TypeAssistedChannelHandler.swift
[555/599] Compiling NIOCore UniversalBootstrapSupport.swift
[556/599] Compiling NIOCore Utilities.swift
[557/599] Compiling NIOCore AddressedEnvelope.swift
[558/599] Compiling NIOCore AsyncAwaitSupport.swift
[559/599] Compiling NIOCore AsyncChannel.swift
[560/599] Compiling NIOCore AsyncChannelHandler.swift
[561/599] Compiling NIOCore AsyncChannelInboundStream.swift
[562/599] Compiling NIOCore AsyncChannelOutboundWriter.swift
[563/599] Compiling NIOCore NIOAsyncSequenceProducer.swift
[564/599] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[565/599] Compiling NIOCore EventLoopFuture+Deprecated.swift
[566/599] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[567/599] Compiling NIOCore EventLoopFuture.swift
[568/599] Compiling NIOCore FileDescriptor.swift
[569/599] Compiling NIOCore FileHandle.swift
[570/599] Compiling NIOCore FileRegion.swift
[571/599] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[572/599] Compiling NIOCore NIOAsyncWriter.swift
[573/599] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[574/599] Compiling NIOCore BSDSocketAPI.swift
[575/599] Compiling NIOCore ByteBuffer-aux.swift
[576/599] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[577/599] Compiling NIOCore ByteBuffer-conversions.swift
[578/599] Compiling NIOCore Codec.swift
[579/599] Compiling NIOCore ConvenienceOptionSupport.swift
[580/599] Compiling NIOCore DeadChannel.swift
[581/599] Compiling NIOCore DispatchQueue+WithFuture.swift
[582/599] Compiling NIOCore EventLoop+Deprecated.swift
[583/599] Compiling NIOCore EventLoop+SerialExecutor.swift
[584/599] Compiling NIOCore EventLoop.swift
[585/599] Compiling NIOCore Channel.swift
[586/599] Compiling NIOCore ChannelHandler.swift
[587/599] Compiling NIOCore ChannelHandlers.swift
[588/599] Compiling NIOCore ChannelInvoker.swift
[589/599] Compiling NIOCore ChannelOption.swift
[590/599] Compiling NIOCore ChannelPipeline.swift
[591/599] Compiling NIOCore CircularBuffer.swift
[592/599] Compiling NIOCore ByteBuffer-core.swift
[593/599] Compiling NIOCore ByteBuffer-hex.swift
[594/599] Compiling NIOCore ByteBuffer-int.swift
[595/599] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[596/599] Compiling NIOCore ByteBuffer-multi-int.swift
[597/599] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[598/599] Compiling NIOCore ByteBuffer-views.swift
[599/599] Emitting module NIOCore
[600/653] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[601/653] Compiling NIOEmbedded AsyncTestingChannel.swift
[602/653] Compiling NIOEmbedded Embedded.swift
[603/653] Emitting module NIOEmbedded
[604/653] Compiling NIOPosix GetaddrinfoResolver.swift
[605/653] Compiling NIOPosix HappyEyeballs.swift
[606/653] Compiling NIOPosix IO.swift
[607/653] Compiling NIOPosix IntegerBitPacking.swift
[608/653] Compiling NIOPosix IntegerTypes.swift
[609/653] Compiling NIOPosix Linux.swift
[610/658] Compiling NIOPosix PooledRecvBufferAllocator.swift
[611/658] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[612/658] Compiling NIOPosix PosixSingletons.swift
[613/658] Compiling NIOPosix RawSocketBootstrap.swift
[614/658] Compiling NIOPosix Resolver.swift
[615/658] Compiling NIOPosix SocketProtocols.swift
[616/658] Compiling NIOPosix System.swift
[617/658] Compiling NIOPosix Thread.swift
[618/658] Compiling NIOPosix ThreadPosix.swift
[619/658] Compiling NIOPosix ThreadWindows.swift
[620/658] Compiling NIOPosix Selectable.swift
[621/658] Compiling NIOPosix SelectableChannel.swift
[622/658] Compiling NIOPosix SelectableEventLoop.swift
[623/658] Compiling NIOPosix SelectorEpoll.swift
[624/658] Compiling NIOPosix SelectorGeneric.swift
[625/658] Compiling NIOPosix PendingWritesManager.swift
[626/658] Compiling NIOPosix PipeChannel.swift
[627/658] Compiling NIOPosix PipePair.swift
[628/658] Compiling NIOPosix PointerHelpers.swift
[629/658] Compiling NIOPosix Pool.swift
[630/658] Compiling NIOPosix UnsafeTransfer.swift
[631/658] Compiling NIOPosix Utilities.swift
[632/658] Compiling NIOPosix VsockAddress.swift
[633/658] Compiling NIOPosix VsockChannelEvents.swift
[634/658] Compiling NIOPosix resource_bundle_accessor.swift
[635/658] Compiling NIOPosix BSDSocketAPICommon.swift
[636/658] Compiling NIOPosix BSDSocketAPIPosix.swift
[637/658] Compiling NIOPosix BSDSocketAPIWindows.swift
[638/658] Compiling NIOPosix BaseSocket.swift
[639/658] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[640/658] Compiling NIOPosix BaseSocketChannel.swift
[641/658] Compiling NIOPosix SelectorKqueue.swift
[642/658] Compiling NIOPosix SelectorUring.swift
[643/658] Compiling NIOPosix ServerSocket.swift
[644/658] Compiling NIOPosix Socket.swift
[645/658] Compiling NIOPosix SocketChannel.swift
[646/658] Compiling NIOPosix BaseStreamSocketChannel.swift
[647/658] Compiling NIOPosix Bootstrap.swift
[648/658] Compiling NIOPosix ControlMessage.swift
[649/658] Compiling NIOPosix DatagramVectorReadManager.swift
[650/658] Compiling NIOPosix Errors+Any.swift
[651/658] Compiling NIOPosix FileDescriptor.swift
[652/658] Emitting module NIOPosix
[653/658] Compiling NIOPosix LinuxCPUSet.swift
[654/658] Compiling NIOPosix LinuxUring.swift
[655/658] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[656/658] Compiling NIOPosix NIOThreadPool.swift
[657/658] Compiling NIOPosix NonBlockingFileIO.swift
[658/658] Compiling NIOPosix PendingDatagramWritesManager.swift
[659/660] Compiling NIO Exports.swift
[660/660] Emitting module NIO
[661/688] Emitting module NIOTLS
[662/688] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[663/688] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[664/688] Compiling NIOTLS TLSEvents.swift
[665/688] Compiling NIOTLS SNIHandler.swift
[666/688] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[667/717] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[668/717] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[669/718] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[670/718] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[671/718] Emitting module NIOFoundationCompat
[672/718] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[673/718] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[674/718] Compiling NIOSSL SSLContext.swift
[675/718] Compiling NIOSSL SSLPrivateKey.swift
[676/718] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[677/718] Compiling NIOSSL LinuxCABundle.swift
[678/718] Compiling NIOSSL NIOSSLClientHandler.swift
[679/718] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[680/718] Compiling NIOSSL AndroidCABundle.swift
[681/718] Emitting module NIOHTTP1
[682/718] Compiling NIOSSL SSLCallbacks.swift
[683/718] Compiling NIOSSL SSLCertificate.swift
[684/718] Compiling NIOSSL ByteBufferBIO.swift
[685/718] Compiling NIOSSL CustomPrivateKey.swift
[686/718] Compiling NIOSSL IdentityVerification.swift
[687/718] Compiling NIOSSL PosixPort.swift
[688/718] Compiling NIOSSL SSLCertificateExtensions.swift
[689/718] Compiling NIOSSL SSLConnection.swift
[690/746] Compiling NIOSSL SSLErrors.swift
[691/746] Compiling NIOSSL SSLInit.swift
[692/746] Compiling NIOSSL SSLPKCS12Bundle.swift
[693/746] Compiling NIOSSL RNG.swift
[694/746] Compiling NIOSSL SafeCompare.swift
[695/746] Compiling NIOSSL Zeroization.swift
[696/749] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[697/749] Compiling NIOExtras JSONRPCFraming.swift
[698/749] Compiling NIOExtras FixedLengthFrameDecoder.swift
[699/749] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[700/749] Compiling NIOExtras DebugInboundEventsHandler.swift
[701/749] Compiling NIOExtras DebugOutboundEventsHandler.swift
[702/749] Compiling NIOExtras NIOExtrasError.swift
[703/749] Compiling NIOWebSocket WebSocketOpcode.swift
[704/750] Compiling NIOExtras NIORequestIdentifiable.swift
[705/750] Compiling NIOExtras PCAPRingBuffer.swift
[706/750] Compiling NIOExtras RequestResponseWithIDHandler.swift
[707/751] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[708/751] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[709/751] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[710/751] Compiling NIOSSL NIOSSLHandler.swift
[711/751] Compiling NIOSSL NIOSSLServerHandler.swift
[712/751] Compiling NIOSSL ObjectIdentifier.swift
[714/751] Compiling NIOExtras NIOLengthFieldBitLength.swift
[715/751] Compiling NIOExtras QuiescingHelper.swift
[716/751] Compiling NIOExtras RequestResponseHandler.swift
[717/751] Compiling NIOExtras LineBasedFrameDecoder.swift
[718/751] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[719/751] Compiling NIOExtras LengthFieldPrepender.swift
[722/751] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[723/751] Compiling NIOSSL SubjectAlternativeName.swift
[724/751] Compiling NIOSSL NIOSSLSecureBytes.swift
[725/751] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[731/751] Compiling NIOWebSocket WebSocketErrorCodes.swift
[732/751] Compiling NIOWebSocket SHA1.swift
[733/751] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[734/751] Compiling NIOWebSocket WebSocketFrame.swift
[735/751] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[736/751] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[737/751] Emitting module NIOWebSocket
[738/751] Emitting module NIOSSL
[741/751] Emitting module NIOExtras
[742/751] Compiling NIOSSL TLSConfiguration.swift
[743/751] Compiling NIOSSL UniversalBootstrapSupport.swift
[744/751] Compiling NIOSSL resource_bundle_accessor.swift
[745/751] Compiling NIOExtras WritePCAPHandler.swift
[752/777] Compiling KituraNet ServerLifecycleListener.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
[753/777] Compiling KituraNet ServerMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
[754/777] Compiling KituraNet ServerState.swift
[755/777] Compiling KituraNet ServerRequest.swift
[756/777] Compiling KituraNet SPIUtils.swift
[757/777] Compiling KituraNet Server.swift
[758/777] Compiling KituraNet ServerDelegate.swift
[759/779] Compiling KituraNet ConnectionUpgrader.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' 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
26 |
27 | /// Determine if any upgraders have been registered
[760/779] Compiling KituraNet FastCGI.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' 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
26 |
27 | /// Determine if any upgraders have been registered
[761/779] Compiling KituraNet FastCGIServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' 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
26 |
27 | /// Determine if any upgraders have been registered
[762/779] Compiling KituraNet ServerResponse.swift
[763/779] Compiling KituraNet URLParser.swift
[764/779] Compiling KituraNet FastCGIServerRequest.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:163:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 |
162 | //counter for no of connections
163 | var connectionCount = NIOAtomic.makeAtomic(value: 0)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |
165 | /**
[765/779] Compiling KituraNet FastCGIServerResponse.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:163:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 |
162 | //counter for no of connections
163 | var connectionCount = NIOAtomic.makeAtomic(value: 0)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |
165 | /**
[766/779] Compiling KituraNet HTTP.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:163:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 |
162 | //counter for no of connections
163 | var connectionCount = NIOAtomic.makeAtomic(value: 0)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |
165 | /**
[767/779] Compiling KituraNet HTTPServerResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:293:17: warning: capture of 'task' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
291 | } else {
292 | return self.submit {
293 | task()
| |- warning: capture of 'task' with non-sendable type '() -> 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'
294 | }
295 | }
[768/779] Compiling KituraNet HeadersContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:293:17: warning: capture of 'task' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
291 | } else {
292 | return self.submit {
293 | task()
| |- warning: capture of 'task' with non-sendable type '() -> 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'
294 | }
295 | }
[769/779] Compiling KituraNet KeepAliveState.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:293:17: warning: capture of 'task' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
291 | } else {
292 | return self.submit {
293 | task()
| |- warning: capture of 'task' with non-sendable type '() -> 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'
294 | }
295 | }
[770/779] Compiling KituraNet BufferList.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:153:51: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
151 | didSet {
152 | if disableSSLVerification {
153 | self.sslConfig = TLSConfiguration.forClient(certificateVerification: .none)
| |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
| `- note: use 'makeClientConfiguration()' instead
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:545:46: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
543 | if (percentEncodedURL.scheme)! == "https" {
544 | isHTTPS = true
545 | self.sslConfig = TLSConfiguration.forClient(certificateVerification: .none)
| |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
| `- note: use 'makeClientConfiguration()' instead
546 | }
547 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:655:79: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
653 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
654 | .channelInitializer { channel in
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:657:80: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:657:80: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:668:76: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
666 | .channelInitializer { channel in
667 | channel.pipeline.addHTTPClientHandlers().flatMap {
668 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
669 | }
670 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:668:76: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
666 | .channelInitializer { channel in
667 | channel.pipeline.addHTTPClientHandlers().flatMap {
668 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
669 | }
670 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:747:29: warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
745 | // Because ClientRequest.end() is blocking, we mark the current task complete after the new task also completes.
746 | DispatchQueue.global().async {
747 | request.end()
| `- warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
748 | self.clientRequest.waitSemaphore.signal()
749 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:748:29: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
746 | DispatchQueue.global().async {
747 | request.end()
748 | self.clientRequest.waitSemaphore.signal()
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
749 | }
750 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:754:29: warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
752 | request.maxRedirects = self.clientRequest.maxRedirects - 1
753 | DispatchQueue.global().async {
754 | request.end()
| `- warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
755 | self.clientRequest.waitSemaphore.signal()
756 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:755:29: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
753 | DispatchQueue.global().async {
754 | request.end()
755 | self.clientRequest.waitSemaphore.signal()
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | }
757 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:761:25: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
759 | // The callback may start a new ClientRequest eventually calling wait(), lets invoke the callback on a DispatchQueue
760 | DispatchQueue.global().async {
761 | self.clientRequest.callback(self.clientResponse)
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
762 | self.clientRequest.waitSemaphore.signal()
763 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:767:21: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
765 | } else {
766 | DispatchQueue.global().async {
767 | self.clientRequest.callback(self.clientResponse)
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
768 | self.clientRequest.waitSemaphore.signal()
769 | }
[771/779] Compiling KituraNet ClientRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:153:51: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
151 | didSet {
152 | if disableSSLVerification {
153 | self.sslConfig = TLSConfiguration.forClient(certificateVerification: .none)
| |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
| `- note: use 'makeClientConfiguration()' instead
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:545:46: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
543 | if (percentEncodedURL.scheme)! == "https" {
544 | isHTTPS = true
545 | self.sslConfig = TLSConfiguration.forClient(certificateVerification: .none)
| |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
| `- note: use 'makeClientConfiguration()' instead
546 | }
547 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:655:79: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
653 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
654 | .channelInitializer { channel in
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:657:80: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:657:80: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:668:76: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
666 | .channelInitializer { channel in
667 | channel.pipeline.addHTTPClientHandlers().flatMap {
668 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
669 | }
670 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:668:76: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
666 | .channelInitializer { channel in
667 | channel.pipeline.addHTTPClientHandlers().flatMap {
668 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
669 | }
670 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:747:29: warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
745 | // Because ClientRequest.end() is blocking, we mark the current task complete after the new task also completes.
746 | DispatchQueue.global().async {
747 | request.end()
| `- warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
748 | self.clientRequest.waitSemaphore.signal()
749 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:748:29: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
746 | DispatchQueue.global().async {
747 | request.end()
748 | self.clientRequest.waitSemaphore.signal()
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
749 | }
750 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:754:29: warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
752 | request.maxRedirects = self.clientRequest.maxRedirects - 1
753 | DispatchQueue.global().async {
754 | request.end()
| `- warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
755 | self.clientRequest.waitSemaphore.signal()
756 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:755:29: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
753 | DispatchQueue.global().async {
754 | request.end()
755 | self.clientRequest.waitSemaphore.signal()
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | }
757 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:761:25: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
759 | // The callback may start a new ClientRequest eventually calling wait(), lets invoke the callback on a DispatchQueue
760 | DispatchQueue.global().async {
761 | self.clientRequest.callback(self.clientResponse)
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
762 | self.clientRequest.waitSemaphore.signal()
763 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:767:21: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
765 | } else {
766 | DispatchQueue.global().async {
767 | self.clientRequest.callback(self.clientResponse)
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
768 | self.clientRequest.waitSemaphore.signal()
769 | }
[772/779] Compiling KituraNet ClientResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:153:51: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
151 | didSet {
152 | if disableSSLVerification {
153 | self.sslConfig = TLSConfiguration.forClient(certificateVerification: .none)
| |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
| `- note: use 'makeClientConfiguration()' instead
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:545:46: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
543 | if (percentEncodedURL.scheme)! == "https" {
544 | isHTTPS = true
545 | self.sslConfig = TLSConfiguration.forClient(certificateVerification: .none)
| |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
| `- note: use 'makeClientConfiguration()' instead
546 | }
547 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:655:79: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
653 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
654 | .channelInitializer { channel in
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:657:80: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:657:80: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
655 | channel.pipeline.addHandler(try! NIOSSLClientHandler(context: self.sslContext!, serverHostname: self.hostName)).flatMap {
656 | channel.pipeline.addHTTPClientHandlers().flatMap {
657 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
658 | }
659 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:668:76: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
666 | .channelInitializer { channel in
667 | channel.pipeline.addHTTPClientHandlers().flatMap {
668 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
669 | }
670 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:668:76: warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
666 | .channelInitializer { channel in
667 | channel.pipeline.addHTTPClientHandlers().flatMap {
668 | channel.pipeline.addHandler(HTTPClientHandler(request: self))
| `- warning: capture of 'self' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
669 | }
670 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:747:29: warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
745 | // Because ClientRequest.end() is blocking, we mark the current task complete after the new task also completes.
746 | DispatchQueue.global().async {
747 | request.end()
| `- warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
748 | self.clientRequest.waitSemaphore.signal()
749 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:748:29: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
746 | DispatchQueue.global().async {
747 | request.end()
748 | self.clientRequest.waitSemaphore.signal()
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
749 | }
750 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:754:29: warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | ````
60 | */
61 | public class ClientRequest {
| `- note: class 'ClientRequest' does not conform to the 'Sendable' protocol
62 |
63 | /**
:
752 | request.maxRedirects = self.clientRequest.maxRedirects - 1
753 | DispatchQueue.global().async {
754 | request.end()
| `- warning: capture of 'request' with non-sendable type 'ClientRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
755 | self.clientRequest.waitSemaphore.signal()
756 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:755:29: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
753 | DispatchQueue.global().async {
754 | request.end()
755 | self.clientRequest.waitSemaphore.signal()
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
756 | }
757 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:761:25: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
759 | // The callback may start a new ClientRequest eventually calling wait(), lets invoke the callback on a DispatchQueue
760 | DispatchQueue.global().async {
761 | self.clientRequest.callback(self.clientResponse)
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
762 | self.clientRequest.waitSemaphore.signal()
763 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:767:21: warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
690 |
691 | /// The ChannelInboundHandler for ClientRequest
692 | class HTTPClientHandler: ChannelInboundHandler {
| `- note: class 'HTTPClientHandler' does not conform to the 'Sendable' protocol
693 |
694 | /// The ClientRequest for which we installed this handler
:
765 | } else {
766 | DispatchQueue.global().async {
767 | self.clientRequest.callback(self.clientResponse)
| `- warning: capture of 'self' with non-sendable type 'HTTPClientHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
768 | self.clientRequest.waitSemaphore.signal()
769 | }
[773/779] Emitting module KituraNet
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:153:51: warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
151 | didSet {
152 | if disableSSLVerification {
153 | self.sslConfig = TLSConfiguration.forClient(certificateVerification: .none)
| |- warning: 'forClient(cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:certificateChain:privateKey:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeClientConfiguration()'
| `- note: use 'makeClientConfiguration()' instead
154 | }
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:25:16: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | /// - Note: There a single instance of this struct in a server.
24 | public struct ConnectionUpgrader {
25 | static var instance = ConnectionUpgrader()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' 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
26 |
27 | /// Determine if any upgraders have been registered
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:163:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 |
162 | //counter for no of connections
163 | var connectionCount = NIOAtomic.makeAtomic(value: 0)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |
165 | /**
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:727:23: warning: static property 'eventLoopGroupAlreadyInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
725 | }
726 |
727 | public static var eventLoopGroupAlreadyInitialized = HTTPServerError(value: .eventLoopGroupAlreadyInitialized)
| |- warning: static property 'eventLoopGroupAlreadyInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eventLoopGroupAlreadyInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'eventLoopGroupAlreadyInitialized' 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
728 | }
729 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
[774/779] Compiling KituraNet SSLConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:41: warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| |- warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
| `- note: use 'makeServerConfiguration(certificateChain:privateKey:)' instead
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:71: warning: 'file' is deprecated: Use 'NIOSSLCertificate.fromPEMFile(_:)' to load the certificate(s) and use the '.certificate(NIOSSLCertificate)' case to provide them as a source
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| `- warning: 'file' is deprecated: Use 'NIOSSLCertificate.fromPEMFile(_:)' to load the certificate(s) and use the '.certificate(NIOSSLCertificate)' case to provide them as a source
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:112: warning: 'file' is deprecated: Use 'NIOSSLPrivateKeySource.privateKey(NIOSSLPrivateKey)' to set private key
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| `- warning: 'file' is deprecated: Use 'NIOSSLPrivateKeySource.privateKey(NIOSSLPrivateKey)' to set private key
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:56:45: warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
54 | sslCertificateSource.append(.certificate($0))
55 | }
56 | return TLSConfiguration.forServer(certificateChain: sslCertificateSource, privateKey: .privateKey(pkcs12Bundle.privateKey))
| |- warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
| `- note: use 'makeServerConfiguration(certificateChain:privateKey:)' instead
57 | } catch let error {
58 | Log.error("Error creating the TLS server configuration: \(error)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[775/779] Compiling KituraNet ServerOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:41: warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| |- warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
| `- note: use 'makeServerConfiguration(certificateChain:privateKey:)' instead
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:71: warning: 'file' is deprecated: Use 'NIOSSLCertificate.fromPEMFile(_:)' to load the certificate(s) and use the '.certificate(NIOSSLCertificate)' case to provide them as a source
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| `- warning: 'file' is deprecated: Use 'NIOSSLCertificate.fromPEMFile(_:)' to load the certificate(s) and use the '.certificate(NIOSSLCertificate)' case to provide them as a source
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:112: warning: 'file' is deprecated: Use 'NIOSSLPrivateKeySource.privateKey(NIOSSLPrivateKey)' to set private key
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| `- warning: 'file' is deprecated: Use 'NIOSSLPrivateKeySource.privateKey(NIOSSLPrivateKey)' to set private key
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:56:45: warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
54 | sslCertificateSource.append(.certificate($0))
55 | }
56 | return TLSConfiguration.forServer(certificateChain: sslCertificateSource, privateKey: .privateKey(pkcs12Bundle.privateKey))
| |- warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
| `- note: use 'makeServerConfiguration(certificateChain:privateKey:)' instead
57 | } catch let error {
58 | Log.error("Error creating the TLS server configuration: \(error)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[776/779] Compiling KituraNet ListenerGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:41: warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| |- warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
| `- note: use 'makeServerConfiguration(certificateChain:privateKey:)' instead
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:71: warning: 'file' is deprecated: Use 'NIOSSLCertificate.fromPEMFile(_:)' to load the certificate(s) and use the '.certificate(NIOSSLCertificate)' case to provide them as a source
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| `- warning: 'file' is deprecated: Use 'NIOSSLCertificate.fromPEMFile(_:)' to load the certificate(s) and use the '.certificate(NIOSSLCertificate)' case to provide them as a source
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:46:112: warning: 'file' is deprecated: Use 'NIOSSLPrivateKeySource.privateKey(NIOSSLPrivateKey)' to set private key
44 | // TODO: Consider other configuration options
45 | if let certificateFilePath = certificateFilePath, let keyFilePath = keyFilePath {
46 | return TLSConfiguration.forServer(certificateChain: [.file(certificateFilePath)], privateKey: .file(keyFilePath))
| `- warning: 'file' is deprecated: Use 'NIOSSLPrivateKeySource.privateKey(NIOSSLPrivateKey)' to set private key
47 | } else {
48 | /// TLSConfiguration for PKCS#12 formatted certificate
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/SSLConfiguration.swift:56:45: warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
54 | sslCertificateSource.append(.certificate($0))
55 | }
56 | return TLSConfiguration.forServer(certificateChain: sslCertificateSource, privateKey: .privateKey(pkcs12Bundle.privateKey))
| |- warning: 'forServer(certificateChain:privateKey:cipherSuites:minimumTLSVersion:maximumTLSVersion:certificateVerification:trustRoots:applicationProtocols:shutdownTimeout:keyLogCallback:)' is deprecated: renamed to 'makeServerConfiguration(certificateChain:privateKey:)'
| `- note: use 'makeServerConfiguration(certificateChain:privateKey:)' instead
57 | } catch let error {
58 | Log.error("Error creating the TLS server configuration: \(error)")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
[777/779] Compiling KituraNet HTTPRequestHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:163:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 |
162 | //counter for no of connections
163 | var connectionCount = NIOAtomic.makeAtomic(value: 0)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |
165 | /**
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:145:43: warning: capture of 'self' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
:
143 | //Make sure we use the latest delegate registered with the server
144 | DispatchQueue.global().async {
145 | guard let serverRequest = self.serverRequest, let serverResponse = self.serverResponse else { return }
| `- warning: capture of 'self' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 | let delegate = self.server.delegate ?? HTTPDummyServerDelegate()
147 | Monitor.delegate?.started(request: serverRequest, response: serverResponse)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:727:23: warning: static property 'eventLoopGroupAlreadyInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
725 | }
726 |
727 | public static var eventLoopGroupAlreadyInitialized = HTTPServerError(value: .eventLoopGroupAlreadyInitialized)
| |- warning: static property 'eventLoopGroupAlreadyInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eventLoopGroupAlreadyInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'eventLoopGroupAlreadyInitialized' 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
728 | }
729 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:231:20: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 | return channel.eventLoop.submit {
230 | let request = HTTPServerRequest(channel: channel, requestHead: request, enableSSL: false)
231 | return webSocketHandlerFactory.handler(for: request)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | return channel.pipeline.addHandler(handler).flatMap {
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | return channel.pipeline.addHandler(handler).flatMap {
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
| `- warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
237 | } else {
238 | // No extensions. We must return success.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelHandler.swift:20:17: note: protocol 'ChannelHandler' does not conform to the 'Sendable' protocol
18 | ///
19 | /// You should _never_ implement this protocol directly. Please implement one of its sub-protocols.
20 | public protocol ChannelHandler: AnyObject {
| `- note: protocol 'ChannelHandler' does not conform to the 'Sendable' protocol
21 | /// Called when this `ChannelHandler` is added to the `ChannelPipeline`.
22 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
15 | */
16 |
17 | import NIO
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
18 | import NIOHTTP1
19 | import Dispatch
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:351:17: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
349 | .serverChannelInitializer { channel in
350 | // Adding the quiescing helper will help us do a graceful stop()
351 | self.quiescingHelper = ServerQuiescingHelper(group: self.eventLoopGroup)
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
353 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:355:59: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
353 | }
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
| `- warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:31:17: note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
30 | /// a protocol on a server-side channel.
31 | public protocol HTTPServerProtocolUpgrader {
| `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
32 | /// The protocol this upgrader knows how to support.
33 | var supportedProtocol: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
16 |
17 | import NIO
18 | import NIOHTTP1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
19 | import Dispatch
20 | import NIOSSL
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: reference to captured var 'upgraders' in concurrently-executing code; this is an error in the Swift 6 language mode
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
| `- warning: reference to captured var 'upgraders' in concurrently-executing code; this is an error in the Swift 6 language mode
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:24:16: note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:360:50: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
| `- warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 | }
365 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:24:16: note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:523:13: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
521 | quiescingHelper.initiateShutdown(promise: fullShutdownPromise)
522 | fullShutdownPromise.futureResult.whenComplete { _ in
523 | self.state = .stopped
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
524 | }
525 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:639:146: warning: passing non-sendable parameter 'shouldUpgrade' to function expecting a @Sendable closure
635 |
636 | public init(maxFrameSize: Int, automaticErrorHandling: Bool = true,
637 | shouldUpgrade: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<HTTPHeaders?>,
| `- note: parameter 'shouldUpgrade' is implicitly non-sendable
638 | upgradePipelineHandler: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<Void>) {
639 | _wrappedUpgrader = NIOWebSocketServerUpgrader(maxFrameSize: maxFrameSize, automaticErrorHandling: automaticErrorHandling, shouldUpgrade: shouldUpgrade,
| `- warning: passing non-sendable parameter 'shouldUpgrade' to function expecting a @Sendable closure
640 | upgradePipelineHandler: upgradePipelineHandler)
641 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:640:70: warning: passing non-sendable parameter 'upgradePipelineHandler' to function expecting a @Sendable closure
636 | public init(maxFrameSize: Int, automaticErrorHandling: Bool = true,
637 | shouldUpgrade: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<HTTPHeaders?>,
638 | upgradePipelineHandler: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<Void>) {
| `- note: parameter 'upgradePipelineHandler' is implicitly non-sendable
639 | _wrappedUpgrader = NIOWebSocketServerUpgrader(maxFrameSize: maxFrameSize, automaticErrorHandling: automaticErrorHandling, shouldUpgrade: shouldUpgrade,
640 | upgradePipelineHandler: upgradePipelineHandler)
| `- warning: passing non-sendable parameter 'upgradePipelineHandler' to function expecting a @Sendable closure
641 | }
642 |
[778/779] Compiling KituraNet HTTPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:163:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 |
162 | //counter for no of connections
163 | var connectionCount = NIOAtomic.makeAtomic(value: 0)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |
165 | /**
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:145:43: warning: capture of 'self' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
:
143 | //Make sure we use the latest delegate registered with the server
144 | DispatchQueue.global().async {
145 | guard let serverRequest = self.serverRequest, let serverResponse = self.serverResponse else { return }
| `- warning: capture of 'self' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 | let delegate = self.server.delegate ?? HTTPDummyServerDelegate()
147 | Monitor.delegate?.started(request: serverRequest, response: serverResponse)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:727:23: warning: static property 'eventLoopGroupAlreadyInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
725 | }
726 |
727 | public static var eventLoopGroupAlreadyInitialized = HTTPServerError(value: .eventLoopGroupAlreadyInitialized)
| |- warning: static property 'eventLoopGroupAlreadyInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eventLoopGroupAlreadyInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'eventLoopGroupAlreadyInitialized' 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
728 | }
729 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:231:20: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 | return channel.eventLoop.submit {
230 | let request = HTTPServerRequest(channel: channel, requestHead: request, enableSSL: false)
231 | return webSocketHandlerFactory.handler(for: request)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | return channel.pipeline.addHandler(handler).flatMap {
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | return channel.pipeline.addHandler(handler).flatMap {
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
| `- warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
237 | } else {
238 | // No extensions. We must return success.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelHandler.swift:20:17: note: protocol 'ChannelHandler' does not conform to the 'Sendable' protocol
18 | ///
19 | /// You should _never_ implement this protocol directly. Please implement one of its sub-protocols.
20 | public protocol ChannelHandler: AnyObject {
| `- note: protocol 'ChannelHandler' does not conform to the 'Sendable' protocol
21 | /// Called when this `ChannelHandler` is added to the `ChannelPipeline`.
22 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
15 | */
16 |
17 | import NIO
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
18 | import NIOHTTP1
19 | import Dispatch
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:351:17: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
349 | .serverChannelInitializer { channel in
350 | // Adding the quiescing helper will help us do a graceful stop()
351 | self.quiescingHelper = ServerQuiescingHelper(group: self.eventLoopGroup)
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
353 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:355:59: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
353 | }
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
| `- warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:31:17: note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
30 | /// a protocol on a server-side channel.
31 | public protocol HTTPServerProtocolUpgrader {
| `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
32 | /// The protocol this upgrader knows how to support.
33 | var supportedProtocol: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
16 |
17 | import NIO
18 | import NIOHTTP1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
19 | import Dispatch
20 | import NIOSSL
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: reference to captured var 'upgraders' in concurrently-executing code; this is an error in the Swift 6 language mode
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
| `- warning: reference to captured var 'upgraders' in concurrently-executing code; this is an error in the Swift 6 language mode
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:24:16: note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:360:50: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
| `- warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 | }
365 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:24:16: note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:523:13: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
521 | quiescingHelper.initiateShutdown(promise: fullShutdownPromise)
522 | fullShutdownPromise.futureResult.whenComplete { _ in
523 | self.state = .stopped
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
524 | }
525 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:639:146: warning: passing non-sendable parameter 'shouldUpgrade' to function expecting a @Sendable closure
635 |
636 | public init(maxFrameSize: Int, automaticErrorHandling: Bool = true,
637 | shouldUpgrade: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<HTTPHeaders?>,
| `- note: parameter 'shouldUpgrade' is implicitly non-sendable
638 | upgradePipelineHandler: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<Void>) {
639 | _wrappedUpgrader = NIOWebSocketServerUpgrader(maxFrameSize: maxFrameSize, automaticErrorHandling: automaticErrorHandling, shouldUpgrade: shouldUpgrade,
| `- warning: passing non-sendable parameter 'shouldUpgrade' to function expecting a @Sendable closure
640 | upgradePipelineHandler: upgradePipelineHandler)
641 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:640:70: warning: passing non-sendable parameter 'upgradePipelineHandler' to function expecting a @Sendable closure
636 | public init(maxFrameSize: Int, automaticErrorHandling: Bool = true,
637 | shouldUpgrade: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<HTTPHeaders?>,
638 | upgradePipelineHandler: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<Void>) {
| `- note: parameter 'upgradePipelineHandler' is implicitly non-sendable
639 | _wrappedUpgrader = NIOWebSocketServerUpgrader(maxFrameSize: maxFrameSize, automaticErrorHandling: automaticErrorHandling, shouldUpgrade: shouldUpgrade,
640 | upgradePipelineHandler: upgradePipelineHandler)
| `- warning: passing non-sendable parameter 'upgradePipelineHandler' to function expecting a @Sendable closure
641 | }
642 |
[779/779] Compiling KituraNet HTTPServerRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:163:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
161 |
162 | //counter for no of connections
163 | var connectionCount = NIOAtomic.makeAtomic(value: 0)
| `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
164 |
165 | /**
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:145:43: warning: capture of 'self' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
:
143 | //Make sure we use the latest delegate registered with the server
144 | DispatchQueue.global().async {
145 | guard let serverRequest = self.serverRequest, let serverResponse = self.serverResponse else { return }
| `- warning: capture of 'self' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 | let delegate = self.server.delegate ?? HTTPDummyServerDelegate()
147 | Monitor.delegate?.started(request: serverRequest, response: serverResponse)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/Server/ServerMonitor.swift:36:23: warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | public struct Monitor {
35 | /// The reference to the server wide monitoring delegate.
36 | public static var delegate: ServerMonitor?
| |- warning: static property 'delegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'delegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'delegate' 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
37 | }
38 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:44:23: warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
42 | /// Defines a default response to an over-sized request of HTTP 413: Request Too Long. A message is also
43 | /// logged at debug level.
44 | public static let defaultRequestSizeResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultRequestSizeResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRequestSizeResponseGenerator' 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
45 | Log.debug("Request from \(clientSource) exceeds size limit of \(limit) bytes. Connection will be closed.")
46 | return (.requestTooLong, "")
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/ServerOptions.swift:51:23: warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
49 | /// Defines a default response when refusing a new connection of HTTP 503: Service Unavailable. A message is
50 | /// also logged at debug level.
51 | public static let defaultConnectionResponseGenerator: (Int, String) -> (HTTPStatusCode, String)? = { (limit, clientSource) in
| |- warning: static property 'defaultConnectionResponseGenerator' is not concurrency-safe because non-'Sendable' type '(Int, String) -> (HTTPStatusCode, String)?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultConnectionResponseGenerator' 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
52 | Log.debug("Rejected connection from \(clientSource): Maximum connection limit of \(limit) reached.")
53 | return (.serviceUnavailable, "")
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:727:23: warning: static property 'eventLoopGroupAlreadyInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
725 | }
726 |
727 | public static var eventLoopGroupAlreadyInitialized = HTTPServerError(value: .eventLoopGroupAlreadyInitialized)
| |- warning: static property 'eventLoopGroupAlreadyInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'eventLoopGroupAlreadyInitialized' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'eventLoopGroupAlreadyInitialized' 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
728 | }
729 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:231:20: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 | return channel.eventLoop.submit {
230 | let request = HTTPServerRequest(channel: channel, requestHead: request, enableSSL: false)
231 | return webSocketHandlerFactory.handler(for: request)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | return channel.pipeline.addHandler(handler).flatMap {
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
233 | return channel.pipeline.addHandler(handler).flatMap {
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
| `- warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a `@Sendable` closure; this is an error in the Swift 6 language mode
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/ConnectionUpgrader.swift:57:17: note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
55 | /// to the desired protocol.
56 |
57 | public protocol ProtocolHandlerFactory {
| `- note: protocol 'ProtocolHandlerFactory' does not conform to the 'Sendable' protocol
58 | /// Name of the protocol
59 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
| `- warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
237 | } else {
238 | // No extensions. We must return success.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelHandler.swift:20:17: note: protocol 'ChannelHandler' does not conform to the 'Sendable' protocol
18 | ///
19 | /// You should _never_ implement this protocol directly. Please implement one of its sub-protocols.
20 | public protocol ChannelHandler: AnyObject {
| `- note: protocol 'ChannelHandler' does not conform to the 'Sendable' protocol
21 | /// Called when this `ChannelHandler` is added to the `ChannelPipeline`.
22 | ///
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
15 | */
16 |
17 | import NIO
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
18 | import NIOHTTP1
19 | import Dispatch
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:351:17: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
349 | .serverChannelInitializer { channel in
350 | // Adding the quiescing helper will help us do a graceful stop()
351 | self.quiescingHelper = ServerQuiescingHelper(group: self.eventLoopGroup)
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
353 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:355:59: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
353 | }
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
| `- warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPServerUpgradeHandler.swift:31:17: note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
29 | /// An object that implements `HTTPServerProtocolUpgrader` knows how to handle HTTP upgrade to
30 | /// a protocol on a server-side channel.
31 | public protocol HTTPServerProtocolUpgrader {
| `- note: protocol 'HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
32 | /// The protocol this upgrader knows how to support.
33 | var supportedProtocol: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
16 |
17 | import NIO
18 | import NIOHTTP1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
19 | import Dispatch
20 | import NIOSSL
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: reference to captured var 'upgraders' in concurrently-executing code; this is an error in the Swift 6 language mode
354 | .childChannelInitializer { channel in
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
| `- warning: reference to captured var 'upgraders' in concurrently-executing code; this is an error in the Swift 6 language mode
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:24:16: note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:360:50: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
| `- warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 | }
365 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPRequestHandler.swift:24:16: note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
22 | import Dispatch
23 |
24 | internal class HTTPRequestHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
25 |
26 | /// The HTTPServer instance on which this handler is installed
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:523:13: warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
53 | #endif
54 |
55 | public class HTTPServer: Server {
| `- note: class 'HTTPServer' does not conform to the 'Sendable' protocol
56 |
57 | public typealias ServerType = HTTPServer
:
521 | quiescingHelper.initiateShutdown(promise: fullShutdownPromise)
522 | fullShutdownPromise.futureResult.whenComplete { _ in
523 | self.state = .stopped
| `- warning: capture of 'self' with non-sendable type 'HTTPServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
524 | }
525 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:639:146: warning: passing non-sendable parameter 'shouldUpgrade' to function expecting a @Sendable closure
635 |
636 | public init(maxFrameSize: Int, automaticErrorHandling: Bool = true,
637 | shouldUpgrade: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<HTTPHeaders?>,
| `- note: parameter 'shouldUpgrade' is implicitly non-sendable
638 | upgradePipelineHandler: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<Void>) {
639 | _wrappedUpgrader = NIOWebSocketServerUpgrader(maxFrameSize: maxFrameSize, automaticErrorHandling: automaticErrorHandling, shouldUpgrade: shouldUpgrade,
| `- warning: passing non-sendable parameter 'shouldUpgrade' to function expecting a @Sendable closure
640 | upgradePipelineHandler: upgradePipelineHandler)
641 | }
/Users/admin/builder/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:640:70: warning: passing non-sendable parameter 'upgradePipelineHandler' to function expecting a @Sendable closure
636 | public init(maxFrameSize: Int, automaticErrorHandling: Bool = true,
637 | shouldUpgrade: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<HTTPHeaders?>,
638 | upgradePipelineHandler: @escaping (Channel, HTTPRequestHead) -> EventLoopFuture<Void>) {
| `- note: parameter 'upgradePipelineHandler' is implicitly non-sendable
639 | _wrappedUpgrader = NIOWebSocketServerUpgrader(maxFrameSize: maxFrameSize, automaticErrorHandling: automaticErrorHandling, shouldUpgrade: shouldUpgrade,
640 | upgradePipelineHandler: upgradePipelineHandler)
| `- warning: passing non-sendable parameter 'upgradePipelineHandler' to function expecting a @Sendable closure
641 | }
642 |
Build complete! (39.80s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.33.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"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.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
},
{
"identity" : "bluesslservice",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSSLService.git"
},
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/LoggerAPI.git"
}
],
"manifest_display_name" : "Kitura-NIO",
"name" : "Kitura-NIO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "KituraNet",
"targets" : [
"KituraNet"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KituraNetTests",
"module_type" : "SwiftTarget",
"name" : "KituraNetTests",
"path" : "Tests/KituraNetTests",
"sources" : [
"BufferListTests.swift",
"ChannelQuiescingTests.swift",
"ClientE2ETests.swift",
"ClientRequestTests.swift",
"ConnectionLimitTests.swift",
"HTTPResponseTests.swift",
"HTTPStatusCodeTests.swift",
"KituraNIOTest.swift",
"KituraNetWebSocketUpgrade.swift",
"LargePayloadTests.swift",
"LifecycleListenerTests.swift",
"MiscellaneousTests.swift",
"MonitoringTests.swift",
"ParserTests.swift",
"PipeliningTests.swift",
"RegressionTests.swift",
"SSLConfig/SSLConfig.swift",
"types.swift"
],
"target_dependencies" : [
"KituraNet"
],
"type" : "test"
},
{
"c99name" : "KituraNet",
"module_type" : "SwiftTarget",
"name" : "KituraNet",
"path" : "Sources/KituraNet",
"product_dependencies" : [
"NIO",
"NIOFoundationCompat",
"NIOHTTP1",
"NIOSSL",
"SSLService",
"NIOWebSocket",
"NIOConcurrencyHelpers",
"NIOExtras",
"LoggerAPI"
],
"product_memberships" : [
"KituraNet"
],
"sources" : [
"BufferList.swift",
"ClientRequest.swift",
"ClientResponse.swift",
"ConnectionUpgrader.swift",
"FastCGI/FastCGI.swift",
"FastCGI/FastCGIServer.swift",
"FastCGI/FastCGIServerRequest.swift",
"FastCGI/FastCGIServerResponse.swift",
"HTTP/HTTP.swift",
"HTTP/HTTPRequestHandler.swift",
"HTTP/HTTPServer.swift",
"HTTP/HTTPServerRequest.swift",
"HTTP/HTTPServerResponse.swift",
"HTTP/HeadersContainer.swift",
"HTTP/KeepAliveState.swift",
"HTTP/SSLConfiguration.swift",
"HTTP/ServerOptions.swift",
"ListenerGroup.swift",
"SPIUtils.swift",
"Server/Server.swift",
"Server/ServerDelegate.swift",
"Server/ServerLifecycleListener.swift",
"Server/ServerMonitor.swift",
"Server/ServerState.swift",
"ServerRequest.swift",
"ServerResponse.swift",
"URLParser.swift"
],
"target_dependencies" : [
"CLinuxHelpers"
],
"type" : "library"
},
{
"c99name" : "CLinuxHelpers",
"module_type" : "ClangTarget",
"name" : "CLinuxHelpers",
"path" : "Sources/CLinuxHelpers",
"product_memberships" : [
"KituraNet"
],
"sources" : [
"ProcessorAffinity.c"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.