Build Information
Successful build of Kitura-NIO, reference master (bf7572
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 01:35:17 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.07s)
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/Kitura/BlueSSLService.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/Kitura/LoggerAPI.git from cache
Fetching https://github.com/apple/swift-nio-extras.git from cache
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.52s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.73s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.73s)
Fetched https://github.com/apple/swift-nio.git from cache (0.73s)
Fetched https://github.com/Kitura/BlueSSLService.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-http-types from cache
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetched https://github.com/apple/swift-http-types from cache (0.57s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.57s)
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.47s)
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.57s)
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
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/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-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/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
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-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/Kitura-NIO.git
Working copy of https://github.com/Kitura/Kitura-NIO.git resolved at master (bf75729)
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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.0
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/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
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
[12/446] Write sources
[22/446] Compiling CNIOWindows WSAStartup.c
[23/446] Compiling CNIOWASI CNIOWASI.c
[23/446] Compiling CNIOWindows shim.c
[25/446] Compiling CNIOLinux shim.c
[25/446] Compiling CNIOLinux liburing_shims.c
[27/446] Write swift-version--7754E27361AE5C74.txt
[28/446] Compiling fiat_p256_adx_mul.S
[29/446] Compiling fiat_p256_adx_sqr.S
[30/446] Compiling fiat_curve25519_adx_square.S
[31/458] Compiling CNIOLLHTTP c_nio_http.c
[32/458] Compiling CNIOSHA1 c_nio_sha1.c
[33/458] Compiling _AtomicsShims.c
[34/458] Compiling fiat_curve25519_adx_mul.S
[35/458] 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_record.cc
[40/481] Compiling tls_method.cc
[41/481] Compiling tls13_server.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_session.cc
[51/481] Compiling ssl_privkey.cc
[52/481] Compiling ssl_key_share.cc
[53/481] Compiling ssl_lib.cc
[54/481] Compiling ssl_file.cc
[55/481] Compiling ssl_credential.cc
[56/481] Compiling ssl_cipher.cc
[57/481] Compiling ssl_cert.cc
[58/481] Compiling ssl_buffer.cc
[59/481] Compiling ssl_asn1.cc
[60/481] Compiling s3_pkt.cc
[61/481] Compiling ssl_aead_ctx.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 d1_pkt.cc
[78/481] Compiling chacha20_poly1305_x86_64-linux.S
[79/481] Compiling chacha20_poly1305_x86_64-apple.S
[80/481] Compiling chacha20_poly1305_armv8-win.S
[81/481] Compiling chacha20_poly1305_armv8-linux.S
[82/481] Compiling err_data.c
[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-armv8-apple.S
[114/481] Compiling sha512-armv4-linux.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 d1_lib.cc
[125/481] Compiling sha256-586-apple.S
[126/481] Compiling sha1-x86_64-linux.S
[127/481] Compiling sha1-x86_64-apple.S
[128/481] Compiling sha1-armv8-win.S
[129/481] Compiling sha1-armv8-linux.S
[130/481] Compiling sha1-armv4-large-linux.S
[131/481] Compiling sha1-armv8-apple.S
[132/481] Compiling sha1-586-linux.S
[133/481] Compiling sha1-586-apple.S
[134/481] Compiling rsaz-avx2-linux.S
[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
[141/481] Compiling d1_both.cc
[143/481] Compiling p256_beeu-armv8-asm-apple.S
[144/481] Compiling p256-x86_64-asm-linux.S
[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-armv7-linux.S
[152/481] Compiling ghashv8-armv8-apple.S
[153/481] Compiling ghash-x86_64-linux.S
[154/481] Compiling ghash-x86-linux.S
[155/481] Compiling ghash-x86_64-apple.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 armv4-mont-linux.S
[176/481] Compiling aesv8-gcm-armv8-win.S
[177/481] Compiling armv8-mont-apple.S
[178/481] Compiling aesv8-gcm-armv8-linux.S
[179/481] Compiling aesv8-armv8-win.S
[180/481] Compiling aesv8-gcm-armv8-apple.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
[188/481] Compiling aesni-gcm-x86_64-linux.S
[189/481] Compiling aesni-gcm-x86_64-apple.S
[191/481] Emitting module _NIOBase64
[192/481] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[193/481] Compiling InternalCollectionsUtilities Specialize.swift
[194/481] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[195/481] Compiling _NIOBase64 Base64.swift
[195/482] Compiling x_sig.c
[196/482] Compiling x_val.c
[197/482] Compiling x_x509a.c
[198/482] Compiling x_spki.c
[199/482] Compiling x_x509.c
[200/482] Compiling x_req.c
[201/482] Compiling x_pubkey.c
[202/482] Compiling x_exten.c
[203/482] Compiling x_attrib.c
[204/482] Compiling x_name.c
[205/482] Compiling x_crl.c
[206/482] Compiling x_algor.c
[207/482] Compiling x_all.c
[208/482] Compiling x509spki.c
[209/482] Compiling x509rset.c
[211/482] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[211/482] Compiling x509name.c
[212/482] Compiling x509cset.c
[213/482] Compiling x509_vpm.c
[214/482] Compiling x509_v3.c
[215/482] Compiling x509_txt.c
[216/482] Compiling x509_vfy.c
[217/482] Compiling x509_set.c
[218/482] Compiling x509_trs.c
[219/482] Compiling x509_req.c
[220/482] Compiling x509_obj.c
[221/482] Compiling x509_lu.c
[222/482] Compiling x509_def.c
[223/482] Compiling x509_ext.c
[224/482] Compiling x509_d2.c
[225/482] Compiling x509_cmp.c
[226/482] Compiling x509_att.c
[227/482] Compiling x509.c
[228/482] Compiling v3_skey.c
[230/482] Compiling _NIODataStructures _TinyArray.swift
[230/482] Compiling v3_purp.c
[232/482] Compiling InternalCollectionsUtilities Debugging.swift
[233/482] Compiling InternalCollectionsUtilities Descriptions.swift
[234/482] Compiling InternalCollectionsUtilities UInt+reversed.swift
[235/482] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[236/482] Compiling InternalCollectionsUtilities Integer rank.swift
[237/482] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[238/482] Compiling InternalCollectionsUtilities _SortedCollection.swift
[239/482] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[240/482] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[241/482] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[242/482] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[243/482] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[244/482] Emitting module InternalCollectionsUtilities
[245/482] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[246/482] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[246/482] Compiling v3_prn.c
[247/482] Compiling v3_utl.c
[248/482] Compiling v3_pmaps.c
[249/482] Compiling v3_pcons.c
[250/482] Compiling v3_ocsp.c
[251/482] Compiling v3_int.c
[252/482] Compiling v3_ncons.c
[253/488] Compiling v3_lib.c
[255/498] Emitting module _NIODataStructures
[256/498] Compiling _NIODataStructures PriorityQueue.swift
[257/498] Compiling _NIODataStructures Heap.swift
[257/498] Compiling v3_ia5.c
[258/498] Compiling v3_enum.c
[258/498] Compiling v3_info.c
[260/498] Compiling v3_genn.c
[261/498] Compiling v3_extku.c
[262/498] Compiling v3_crld.c
[263/498] Compiling v3_bcons.c
[264/498] Compiling v3_bitst.c
[265/498] Compiling v3_cpols.c
[266/498] Compiling v3_conf.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_x509.c
[273/498] Compiling t_req.c
[274/498] Compiling i2d_pr.c
[275/498] Compiling rsa_pss.c
[276/498] Compiling name_print.c
[278/498] Compiling DequeModule Deque+Extras.swift
[279/498] Compiling DequeModule Deque+Hashable.swift
[279/499] Compiling policy.c
[280/499] Compiling by_file.c
[281/499] Compiling by_dir.c
[282/499] Compiling a_verify.c
[283/499] Compiling algorithm.c
[284/499] Compiling a_sign.c
[285/499] Compiling asn1_gen.c
[286/499] Compiling a_digest.c
[287/499] Compiling voprf.c
[288/499] Compiling trust_token.c
[289/499] Compiling thread_win.c
[290/499] Compiling thread_pthread.c
[291/499] Compiling thread.c
[292/499] Compiling thread_none.c
[293/499] Compiling pmbtoken.c
[294/499] Compiling spx_util.c
[295/499] Compiling spx_wots.c
[296/499] Compiling stack.c
[297/499] Compiling spx_thash.c
[298/499] Compiling spx_merkle.c
[299/499] Compiling spx_fors.c
[300/499] Compiling spx.c
[301/499] Compiling spx_address.c
[302/499] Compiling wots.c
[303/499] Compiling thash.c
[304/499] Compiling slhdsa.c
[305/499] Compiling merkle.c
[306/499] Compiling fors.c
[307/499] Compiling sha512.c
[308/499] Compiling siphash.c
[309/499] Compiling sha256.c
[310/499] Compiling sha1.c
[311/499] Compiling rsa_extra.c
[312/499] Compiling rsa_print.c
[313/499] Compiling rsa_crypt.c
[314/499] Compiling rc4.c
[315/499] Compiling refcount.c
[316/499] Compiling windows.c
[317/499] Compiling rsa_asn1.c
[318/499] Compiling urandom.c
[319/499] Compiling trusty.c
[320/499] Compiling rand_extra.c
[321/499] Compiling ios.c
[322/499] Compiling passive.c
[324/499] Compiling Logging Locks.swift
[325/499] Emitting module Logging
[326/499] Compiling Logging MetadataProvider.swift
[327/499] Compiling Logging LogHandler.swift
[328/499] Compiling Logging Logging.swift
[328/499] Compiling deterministic.c
[329/499] Compiling forkunsafe.c
[330/499] Compiling poly1305_arm_asm.S
[331/499] Compiling poly1305_vec.c
[332/499] Compiling getentropy.c
[333/499] Compiling pool.c
[334/499] Compiling poly1305_arm.c
[335/499] Compiling fork_detect.c
[336/499] Compiling poly1305.c
[337/501] Compiling pkcs7.c
[339/501] Compiling DequeModule _UnsafeWrappedBuffer.swift
[339/501] Compiling pkcs8.c
[340/501] Compiling pem_x509.c
[341/501] Compiling pem_xaux.c
[342/501] Compiling p5_pbev2.c
[343/501] Compiling pkcs8_x509.c
[344/501] Compiling pkcs7_x509.c
[345/501] Compiling pem_pkey.c
[346/501] Compiling obj_xref.c
[347/501] Compiling pem_oth.c
[348/501] Compiling pem_pk8.c
[350/501] Compiling DequeModule _DequeSlot.swift
[351/501] Compiling DequeModule _DequeBufferHeader.swift
[352/501] Compiling DequeModule _DequeBuffer.swift
[353/501] Compiling DequeModule Deque._UnsafeHandle.swift
[354/501] Compiling DequeModule Deque.swift
[354/501] Compiling obj.c
[355/501] Compiling pem_info.c
[356/501] Compiling pem_lib.c
[357/501] Compiling pem_all.c
[358/501] Compiling mem.c
[359/501] Compiling mldsa.c
[360/501] Compiling md5.c
[361/501] Compiling md4.c
[362/501] Compiling poly_rq_mul.S
[363/501] Compiling lhash.c
[364/501] Compiling keccak.c
[365/501] Compiling kyber.c
[366/501] Compiling fips_shared_support.c
[367/501] Compiling hpke.c
[368/501] Compiling ex_data.c
[369/501] Compiling sign.c
[370/501] Compiling scrypt.c
[371/501] Compiling print.c
[372/501] Compiling pbkdf.c
[373/501] Compiling p_x25519_asn1.c
[374/501] Compiling p_x25519.c
[375/501] Compiling hrss.c
[377/501] Compiling DequeModule Deque+Equatable.swift
[378/501] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[379/501] Compiling DequeModule Deque+CustomReflectable.swift
[380/501] Compiling DequeModule Deque+Descriptions.swift
[381/501] Compiling DequeModule Deque+Codable.swift
[382/501] Compiling DequeModule Deque+Collection.swift
[383/501] Compiling DequeModule Deque+Testing.swift
[384/501] Compiling DequeModule Deque._Storage.swift
[384/501] Compiling p_rsa_asn1.c
[385/501] Compiling p_rsa.c
[386/501] Compiling p_hkdf.c
[387/501] Compiling p_ed25519_asn1.c
[388/501] Compiling p_ed25519.c
[389/501] Compiling p_ec_asn1.c
[390/501] Compiling mlkem.cc
[391/501] Compiling p_ec.c
[392/501] Compiling p_dsa_asn1.c
[393/501] Compiling p_dh_asn1.c
[394/501] Compiling p_dh.c
[395/501] Compiling evp_ctx.c
[396/501] Compiling evp_asn1.c
[397/501] Compiling evp.c
[398/501] Compiling engine.c
[399/501] Compiling err.c
[400/501] Compiling ecdsa_asn1.c
[401/501] Compiling ecdh_extra.c
[402/501] Compiling ec_derive.c
[403/501] Compiling hash_to_curve.c
[404/501] Compiling ec_asn1.c
[405/501] Compiling dsa_asn1.c
[406/501] Compiling dsa.c
[407/501] Compiling params.c
[408/501] Compiling dh_asn1.c
[409/501] Compiling dilithium.c
[410/501] Compiling digest_extra.c
[411/501] Compiling spake25519.c
[412/501] Compiling x25519-asm-arm.S
[413/501] Compiling des.c
[414/501] Compiling curve25519_64_adx.c
[415/501] Compiling cpu_intel.c
[416/501] Compiling crypto.c
[417/501] Compiling cpu_arm_linux.c
[418/501] Compiling cpu_arm_freebsd.c
[419/501] Compiling cpu_aarch64_win.c
[420/501] Compiling cpu_aarch64_openbsd.c
[421/501] Compiling cpu_aarch64_sysreg.c
[422/501] Compiling cpu_aarch64_linux.c
[423/501] Compiling curve25519.c
[424/501] Compiling cpu_aarch64_fuchsia.c
[425/501] Compiling tls_cbc.c
[426/501] Compiling conf.c
[427/501] Compiling e_rc4.c
[428/501] Compiling e_rc2.c
[429/501] Compiling e_tls.c
[430/501] Compiling e_null.c
[431/501] Compiling e_des.c
[432/501] Compiling e_chacha20poly1305.c
[433/501] Compiling e_aesgcmsiv.c
[434/501] Compiling e_aesctrhmac.c
[435/501] Compiling derive_key.c
[436/501] Compiling cipher_extra.c
[437/501] Compiling chacha.c
[438/501] Compiling unicode.c
[439/501] Compiling cbs.c
[440/501] Compiling cbb.c
[441/501] Compiling ber.c
[442/501] Compiling asn1_compat.c
[443/501] Compiling buf.c
[445/501] Emitting module DequeModule
[445/501] Compiling bn_asn1.c
[446/501] Compiling convert.c
[447/501] Compiling blake2.c
[448/501] Compiling printf.c
[449/501] Compiling socket.c
[450/501] Compiling cpu_aarch64_apple.c
[451/501] Compiling hexdump.c
[452/501] Compiling pair.c
[453/501] Compiling file.c
[454/501] Compiling socket_helper.c
[455/501] Compiling fd.c
[456/501] Compiling errno.c
[457/501] Compiling connect.c
[458/501] Compiling bio_mem.c
[459/501] Compiling base64.c
[460/501] Compiling bio.c
[461/501] Compiling tasn_utl.c
[462/501] Compiling tasn_typ.c
[463/501] Compiling tasn_new.c
[464/501] Compiling tasn_fre.c
[465/501] Compiling tasn_enc.c
[466/501] Compiling posix_time.c
[467/501] Compiling tasn_dec.c
[468/501] Compiling f_string.c
[469/501] Compiling f_int.c
[470/501] Compiling asn_pack.c
[471/501] Compiling asn1_par.c
[472/501] Compiling asn1_lib.c
[473/501] Compiling a_utctm.c
[474/501] Compiling a_type.c
[475/501] Compiling a_time.c
[476/501] Compiling a_octet.c
[477/501] Compiling a_strnid.c
[478/501] Compiling a_strex.c
[479/501] Compiling bcm.c
[480/501] Compiling a_mbstr.c
[481/501] Compiling a_object.c
[482/501] Compiling a_i2d_fp.c
[483/501] Compiling a_int.c
[484/501] Compiling a_dup.c
[485/501] Write sources
[486/501] Compiling a_gentm.c
[487/501] Compiling a_bool.c
[488/501] Compiling a_d2i_fp.c
[489/501] Compiling CLinuxHelpers ProcessorAffinity.c
[490/501] Compiling a_bitstr.c
[492/520] Compiling Atomics AtomicMemoryOrderings.swift
[493/520] Compiling Atomics DoubleWord.swift
[494/520] Compiling Atomics UnsafeAtomic.swift
[495/520] Compiling Atomics UnsafeAtomicLazyReference.swift
[496/520] Compiling Atomics ManagedAtomic.swift
[497/520] Compiling Atomics ManagedAtomicLazyReference.swift
[498/522] Compiling Atomics IntegerOperations.swift
[499/522] Compiling Atomics Unmanaged extensions.swift
[499/522] Compiling c-nioatomics.c
[500/522] Compiling c-atomics.c
[502/528] Compiling LoggerAPI Logger.swift
[503/528] Emitting module LoggerAPI
[504/528] Compiling Socket SocketUtils.swift
[505/528] Compiling Socket SocketProtocols.swift
[506/528] Compiling Socket Socket+Hashable.swift
[507/528] Compiling Socket Socket.swift
[508/528] Compiling Socket Socket+Equatable.swift
[509/528] Emitting module Socket
[510/528] Compiling NIOConcurrencyHelpers lock.swift
[511/531] Compiling NIOConcurrencyHelpers NIOLock.swift
[512/531] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[513/531] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[514/531] Compiling NIOConcurrencyHelpers atomics.swift
[515/531] Emitting module NIOConcurrencyHelpers
[516/531] Compiling Atomics AtomicStorage.swift
[517/531] Compiling Atomics AtomicValue.swift
[518/531] Compiling Atomics Primitives.shims.swift
[519/531] Compiling Atomics AtomicInteger.swift
[520/531] Compiling Atomics AtomicOptionalWrappable.swift
[521/531] Compiling Atomics AtomicReference.swift
[522/531] Compiling Atomics OptionalRawRepresentable.swift
[523/531] Compiling Atomics RawRepresentable.swift
[524/531] Compiling Atomics PointerConformances.swift
[525/531] Compiling Atomics Primitives.native.swift
[526/531] Compiling SSLService SSLService.swift
[527/531] Emitting module SSLService
[528/531] Compiling SSLService SSLPointerTricks.swift
[529/531] Emitting module Atomics
[530/531] Compiling Atomics AtomicBool.swift
[531/531] Compiling Atomics IntegerConformances.swift
[532/593] Compiling NIOCore Codec.swift
[533/593] Compiling NIOCore ConvenienceOptionSupport.swift
[534/593] Compiling NIOCore DeadChannel.swift
[535/593] Compiling NIOCore DispatchQueue+WithFuture.swift
[536/593] Compiling NIOCore EventLoop+Deprecated.swift
[537/593] Compiling NIOCore EventLoop+SerialExecutor.swift
[538/593] Compiling NIOCore EventLoop.swift
[539/599] Compiling NIOCore GlobalSingletons.swift
[540/599] Compiling NIOCore IO.swift
[541/599] Compiling NIOCore IOData.swift
[542/599] Compiling NIOCore IPProtocol.swift
[543/599] Compiling NIOCore IntegerBitPacking.swift
[544/599] Compiling NIOCore IntegerTypes.swift
[545/599] Compiling NIOCore Interfaces.swift
[546/599] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[547/599] Compiling NIOCore EventLoopFuture+Deprecated.swift
[548/599] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[549/599] Compiling NIOCore EventLoopFuture.swift
[550/599] Compiling NIOCore FileDescriptor.swift
[551/599] Compiling NIOCore FileHandle.swift
[552/599] Compiling NIOCore FileRegion.swift
[553/599] Compiling NIOCore AddressedEnvelope.swift
[554/599] Compiling NIOCore AsyncAwaitSupport.swift
[555/599] Compiling NIOCore AsyncChannel.swift
[556/599] Compiling NIOCore AsyncChannelHandler.swift
[557/599] Compiling NIOCore AsyncChannelInboundStream.swift
[558/599] Compiling NIOCore AsyncChannelOutboundWriter.swift
[559/599] Compiling NIOCore NIOAsyncSequenceProducer.swift
[560/599] Compiling NIOCore SocketOptionProvider.swift
[561/599] Compiling NIOCore SystemCallHelpers.swift
[562/599] Compiling NIOCore TimeAmount+Duration.swift
[563/599] Compiling NIOCore TypeAssistedChannelHandler.swift
[564/599] Compiling NIOCore UniversalBootstrapSupport.swift
[565/599] Compiling NIOCore Utilities.swift
[566/599] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[567/599] Compiling NIOCore NIOAsyncWriter.swift
[568/599] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[569/599] Compiling NIOCore BSDSocketAPI.swift
[570/599] Compiling NIOCore ByteBuffer-aux.swift
[571/599] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[572/599] Compiling NIOCore ByteBuffer-conversions.swift
[573/599] Compiling NIOCore NIOScheduledCallback.swift
[574/599] Compiling NIOCore NIOSendable.swift
[575/599] Compiling NIOCore PointerHelpers.swift
[576/599] Compiling NIOCore RecvByteBufferAllocator.swift
[577/599] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[578/599] Compiling NIOCore SocketAddresses.swift
[579/599] Compiling NIOCore Linux.swift
[580/599] Compiling NIOCore MarkedCircularBuffer.swift
[581/599] Compiling NIOCore MulticastChannel.swift
[582/599] Compiling NIOCore NIOAny.swift
[583/599] Compiling NIOCore NIOCloseOnErrorHandler.swift
[584/599] Compiling NIOCore NIOLoopBound.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] Emitting module NIOEmbedded
[601/653] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[602/653] Compiling NIOEmbedded Embedded.swift
[603/653] Compiling NIOEmbedded AsyncTestingChannel.swift
[604/653] Compiling NIOPosix PooledRecvBufferAllocator.swift
[605/653] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[606/653] Compiling NIOPosix PosixSingletons.swift
[607/653] Compiling NIOPosix RawSocketBootstrap.swift
[608/653] Compiling NIOPosix Resolver.swift
[609/658] Compiling NIOPosix GetaddrinfoResolver.swift
[610/658] Compiling NIOPosix HappyEyeballs.swift
[611/658] Compiling NIOPosix IO.swift
[612/658] Compiling NIOPosix IntegerBitPacking.swift
[613/658] Compiling NIOPosix IntegerTypes.swift
[614/658] Compiling NIOPosix Linux.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 UnsafeTransfer.swift
[621/658] Compiling NIOPosix Utilities.swift
[622/658] Compiling NIOPosix VsockAddress.swift
[623/658] Compiling NIOPosix VsockChannelEvents.swift
[624/658] Compiling NIOPosix resource_bundle_accessor.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 Selectable.swift
[631/658] Compiling NIOPosix SelectableChannel.swift
[632/658] Compiling NIOPosix SelectableEventLoop.swift
[633/658] Compiling NIOPosix SelectorEpoll.swift
[634/658] Compiling NIOPosix SelectorGeneric.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] Emitting module NIOPosix
[642/658] Compiling NIOPosix BaseStreamSocketChannel.swift
[643/658] Compiling NIOPosix Bootstrap.swift
[644/658] Compiling NIOPosix ControlMessage.swift
[645/658] Compiling NIOPosix DatagramVectorReadManager.swift
[646/658] Compiling NIOPosix Errors+Any.swift
[647/658] Compiling NIOPosix FileDescriptor.swift
[648/658] Compiling NIOPosix SelectorKqueue.swift
[649/658] Compiling NIOPosix SelectorUring.swift
[650/658] Compiling NIOPosix ServerSocket.swift
[651/658] Compiling NIOPosix Socket.swift
[652/658] Compiling NIOPosix SocketChannel.swift
[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] Emitting module NIO
[660/660] Compiling NIO Exports.swift
[661/688] Compiling NIOTLS TLSEvents.swift
[662/688] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[663/688] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[664/688] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[665/688] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[666/688] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[667/688] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[668/688] Emitting module NIOTLS
[669/688] Compiling NIOTLS SNIHandler.swift
[670/688] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[671/688] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[672/718] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[673/718] Emitting module NIOFoundationCompat
[674/718] Compiling NIOSSL SSLPKCS12Bundle.swift
[675/718] Compiling NIOSSL NIOSSLHandler.swift
[676/718] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[677/718] Compiling NIOSSL NIOSSLClientHandler.swift
[678/718] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[679/718] Compiling NIOSSL SSLContext.swift
[680/718] Compiling NIOSSL LinuxCABundle.swift
[681/718] Compiling NIOSSL SSLCertificateExtensions.swift
[682/718] Compiling NIOSSL SSLConnection.swift
[683/718] Compiling NIOSSL CustomPrivateKey.swift
[684/718] Compiling NIOSSL IdentityVerification.swift
[685/718] Compiling NIOSSL AndroidCABundle.swift
[686/718] Compiling NIOSSL ByteBufferBIO.swift
[687/718] Emitting module NIOHTTP1
[688/718] Compiling NIOSSL SSLErrors.swift
[689/718] Compiling NIOSSL SSLInit.swift
[690/718] Compiling NIOSSL RNG.swift
[691/718] Compiling NIOSSL SafeCompare.swift
[692/718] Compiling NIOSSL Zeroization.swift
[693/749] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[694/749] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[695/749] Compiling NIOWebSocket WebSocketOpcode.swift
[696/750] Compiling NIOExtras RequestResponseWithIDHandler.swift
[697/750] Compiling NIOExtras NIORequestIdentifiable.swift
[698/750] Compiling NIOExtras PCAPRingBuffer.swift
[699/750] Compiling NIOExtras QuiescingHelper.swift
[700/750] Compiling NIOExtras RequestResponseHandler.swift
[701/750] Compiling NIOExtras NIOExtrasError.swift
[702/750] Compiling NIOExtras NIOLengthFieldBitLength.swift
[703/751] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[704/751] Compiling NIOSSL SSLPrivateKey.swift
[705/751] Compiling NIOSSL SSLPublicKey.swift
[706/751] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[707/751] Compiling NIOSSL PosixPort.swift
[708/751] Compiling NIOSSL SSLCallbacks.swift
[709/751] Compiling NIOSSL SSLCertificate.swift
[710/751] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[711/751] Compiling NIOSSL SubjectAlternativeName.swift
[712/751] Compiling NIOSSL NIOSSLSecureBytes.swift
[713/751] Compiling NIOExtras LineBasedFrameDecoder.swift
[714/751] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[717/751] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[718/751] Compiling NIOExtras JSONRPCFraming.swift
[720/751] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[721/751] Compiling NIOExtras LengthFieldPrepender.swift
[723/751] Compiling NIOWebSocket WebSocketErrorCodes.swift
[725/751] Compiling NIOExtras FixedLengthFrameDecoder.swift
[726/751] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[727/751] Compiling NIOWebSocket SHA1.swift
[731/751] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[733/751] Compiling NIOWebSocket WebSocketFrame.swift
[734/751] Compiling NIOExtras DebugInboundEventsHandler.swift
[735/751] Compiling NIOExtras DebugOutboundEventsHandler.swift
[736/751] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[737/751] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[738/751] Emitting module NIOWebSocket
[739/751] Emitting module NIOExtras
[740/751] Emitting module NIOSSL
[741/751] Compiling NIOSSL TLSConfiguration.swift
[742/751] Compiling NIOSSL UniversalBootstrapSupport.swift
[743/751] Compiling NIOSSL resource_bundle_accessor.swift
[744/751] Compiling NIOExtras WritePCAPHandler.swift
[752/777] Compiling KituraNet ServerState.swift
[753/777] Compiling KituraNet ServerRequest.swift
[754/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, "")
[755/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, "")
[756/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, "")
[757/779] Compiling KituraNet SPIUtils.swift
[758/779] Compiling KituraNet Server.swift
[759/779] Compiling KituraNet ServerDelegate.swift
[760/779] Compiling KituraNet ServerResponse.swift
[761/779] Compiling KituraNet URLParser.swift
[762/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 | /**
[763/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 | /**
[764/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 | /**
[765/779] 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 |
[766/779] 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 |
[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] 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 |
[771/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
[772/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
[773/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
[774/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 | }
[775/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 | }
[776/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 | }
[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.06s)
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.