Build Information
Successful build of Kitura-NIO, reference master (bf7572
), with Swift 6.1 for Linux on 27 Apr 2025 05:10:35 UTC.
Swift 6 data race errors: 5
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
314 | ASN1_BIT_STRING *reasons;
315 | GENERAL_NAMES *CRLissuer;
316 | int dp_reasons;
| `- error: 'DIST_POINT_st::dp_reasons' from module 'OpenSSL' is not present in definition of 'struct DIST_POINT_st' in module 'CNIOBoringSSL'
317 | };
318 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:2357:8: note: definition has no member 'dp_reasons'
2355 | // A DIST_POINT_st, aka |DIST_POINT|, represents a DistributionPoint structure
2356 | // (RFC 5280).
2357 | struct DIST_POINT_st {
| `- note: definition has no member 'dp_reasons'
2358 | DIST_POINT_NAME *distpoint;
2359 | ASN1_BIT_STRING *reasons;
/usr/include/openssl/rand.h:45:11: error: 'rand_meth_st::pseudorand' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
45 | int (*pseudorand) (unsigned char *buf, int num);
| `- error: 'rand_meth_st::pseudorand' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
46 | int (*status) (void);
47 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:117:9: note: declaration of 'pseudorand' does not match
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
117 | int (*pseudorand) (uint8_t *buf, size_t num);
| `- note: declaration of 'pseudorand' does not match
118 | int (*status) (void);
119 | };
/usr/include/openssl/rand.h:44:11: error: 'rand_meth_st::add' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
42 | int (*bytes) (unsigned char *buf, int num);
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
| `- error: 'rand_meth_st::add' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
45 | int (*pseudorand) (unsigned char *buf, int num);
46 | int (*status) (void);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:116:10: note: declaration of 'add' does not match
114 | int (*bytes) (uint8_t *buf, size_t num);
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
| `- note: declaration of 'add' does not match
117 | int (*pseudorand) (uint8_t *buf, size_t num);
118 | int (*status) (void);
/usr/include/openssl/rand.h:42:11: error: 'rand_meth_st::bytes' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
40 | struct rand_meth_st {
41 | int (*seed) (const void *buf, int num);
42 | int (*bytes) (unsigned char *buf, int num);
| `- error: 'rand_meth_st::bytes' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:114:9: note: declaration of 'bytes' does not match
112 | struct rand_meth_st {
113 | void (*seed) (const void *buf, int num);
114 | int (*bytes) (uint8_t *buf, size_t num);
| `- note: declaration of 'bytes' does not match
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
/usr/include/openssl/rand.h:41:11: error: 'rand_meth_st::seed' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
39 | # ifndef OPENSSL_NO_DEPRECATED_3_0
40 | struct rand_meth_st {
41 | int (*seed) (const void *buf, int num);
| `- error: 'rand_meth_st::seed' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
42 | int (*bytes) (unsigned char *buf, int num);
43 | void (*cleanup) (void);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:113:10: note: declaration of 'seed' does not match
111 | // external so that variables of this type can be initialized.
112 | struct rand_meth_st {
113 | void (*seed) (const void *buf, int num);
| `- note: declaration of 'seed' does not match
114 | int (*bytes) (uint8_t *buf, size_t num);
115 | void (*cleanup) (void);
/usr/include/openssl/buffer.h:46:19: error: 'buf_mem_st::flags' from module 'OpenSSL' is not present in definition of 'struct buf_mem_st' in module 'CNIOBoringSSL'
44 | char *data;
45 | size_t max; /* size of buffer */
46 | unsigned long flags;
| `- error: 'buf_mem_st::flags' from module 'OpenSSL' is not present in definition of 'struct buf_mem_st' in module 'CNIOBoringSSL'
47 | };
48 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_buf.h:24:8: note: definition has no member 'flags'
22 |
23 | // buf_mem_st (aka |BUF_MEM|) is a generic buffer object used by OpenSSL.
24 | struct buf_mem_st {
| `- note: definition has no member 'flags'
25 | size_t length; // current number of bytes
26 | char *data;
/usr/include/openssl/x509v3.h:103:15: error: 'v3_ext_ctx::issuer_pkey' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
103 | EVP_PKEY *issuer_pkey;
| `- error: 'v3_ext_ctx::issuer_pkey' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
104 | /* Maybe more here */
105 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4906:8: note: definition has no member 'issuer_pkey'
4904 | // these objects. It must be initialized with |X509V3_set_ctx| or
4905 | // |X509V3_set_ctx_test| before use.
4906 | struct v3_ext_ctx {
| `- note: definition has no member 'issuer_pkey'
4907 | int flags;
4908 | const X509 *issuer_cert;
/usr/include/openssl/x509v3.h:102:11: error: 'v3_ext_ctx::db' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
| `- error: 'v3_ext_ctx::db' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
103 | EVP_PKEY *issuer_pkey;
104 | /* Maybe more here */
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4912:15: note: declaration of 'db' does not match
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
4912 | const CONF *db;
| `- note: declaration of 'db' does not match
4913 | };
4914 |
/usr/include/openssl/x509v3.h:101:25: error: 'v3_ext_ctx::db_meth' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
| `- error: 'v3_ext_ctx::db_meth' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
102 | void *db;
103 | EVP_PKEY *issuer_pkey;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4906:8: note: definition has no member 'db_meth'
4904 | // these objects. It must be initialized with |X509V3_set_ctx| or
4905 | // |X509V3_set_ctx_test| before use.
4906 | struct v3_ext_ctx {
| `- note: definition has no member 'db_meth'
4907 | int flags;
4908 | const X509 *issuer_cert;
/usr/include/openssl/x509v3.h:100:15: error: 'v3_ext_ctx::crl' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
| `- error: 'v3_ext_ctx::crl' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4911:19: note: declaration of 'crl' does not match
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
| `- note: declaration of 'crl' does not match
4912 | const CONF *db;
4913 | };
/usr/include/openssl/x509v3.h:99:15: error: 'v3_ext_ctx::subject_req' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
97 | X509 *issuer_cert;
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
| `- error: 'v3_ext_ctx::subject_req' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4910:19: note: declaration of 'subject_req' does not match
4908 | const X509 *issuer_cert;
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
| `- note: declaration of 'subject_req' does not match
4911 | const X509_CRL *crl;
4912 | const CONF *db;
/usr/include/openssl/x509v3.h:98:11: error: 'v3_ext_ctx::subject_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
96 | int flags;
97 | X509 *issuer_cert;
98 | X509 *subject_cert;
| `- error: 'v3_ext_ctx::subject_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4909:15: note: declaration of 'subject_cert' does not match
4907 | int flags;
4908 | const X509 *issuer_cert;
4909 | const X509 *subject_cert;
| `- note: declaration of 'subject_cert' does not match
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
/usr/include/openssl/x509v3.h:97:11: error: 'v3_ext_ctx::issuer_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
95 | # define X509V3_CTX_REPLACE 0x2
96 | int flags;
97 | X509 *issuer_cert;
| `- error: 'v3_ext_ctx::issuer_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4908:15: note: declaration of 'issuer_cert' does not match
4906 | struct v3_ext_ctx {
4907 | int flags;
4908 | const X509 *issuer_cert;
| `- note: declaration of 'issuer_cert' does not match
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
/usr/include/openssl/x509v3.h:145:9: error: 'BASIC_CONSTRAINTS_st' has different definitions in different modules; first difference is definition in module 'OpenSSL' found field 'ca' with type 'int'
143 |
144 | typedef struct BASIC_CONSTRAINTS_st {
145 | int ca;
| `- error: 'BASIC_CONSTRAINTS_st' has different definitions in different modules; first difference is definition in module 'OpenSSL' found field 'ca' with type 'int'
146 | ASN1_INTEGER *pathlen;
147 | } BASIC_CONSTRAINTS;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:1956:16: note: but in 'CNIOBoringSSL' found field 'ca' with type 'ASN1_BOOLEAN' (aka 'int')
1954 | // BasicConstraints structure (RFC 5280).
1955 | struct BASIC_CONSTRAINTS_st {
1956 | ASN1_BOOLEAN ca;
| `- note: but in 'CNIOBoringSSL' found field 'ca' with type 'ASN1_BOOLEAN' (aka 'int')
1957 | ASN1_INTEGER *pathlen;
1958 | } /* BASIC_CONSTRAINTS */;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:2402:16: error: 'ISSUING_DIST_POINT_st' has different definitions in different modules; first difference is definition in module 'CNIOBoringSSL' found field 'onlyuser' with type 'ASN1_BOOLEAN' (aka 'int')
2400 | struct ISSUING_DIST_POINT_st {
2401 | DIST_POINT_NAME *distpoint;
2402 | ASN1_BOOLEAN onlyuser;
| `- error: 'ISSUING_DIST_POINT_st' has different definitions in different modules; first difference is definition in module 'CNIOBoringSSL' found field 'onlyuser' with type 'ASN1_BOOLEAN' (aka 'int')
2403 | ASN1_BOOLEAN onlyCA;
2404 | ASN1_BIT_STRING *onlysomereasons;
/usr/include/openssl/x509v3.h:581:9: note: but in 'OpenSSL' found field 'onlyuser' with type 'int'
579 | struct ISSUING_DIST_POINT_st {
580 | DIST_POINT_NAME *distpoint;
581 | int onlyuser;
| `- note: but in 'OpenSSL' found field 'onlyuser' with type 'int'
582 | int onlyCA;
583 | ASN1_BIT_STRING *onlysomereasons;
[785/787] Compiling KituraNet HTTPRequestHandler.swift
/host/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 | /**
/host/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)
/host/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: add '@MainActor' to make static property 'eventLoopGroupAlreadyInitialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
728 | }
729 |
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:233:52: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
231 | return webSocketHandlerFactory.handler(for: request)
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:61: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
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: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
237 | } else {
238 | // No extensions. We must return success.
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol; 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: type 'any ChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
237 | } else {
238 | // No extensions. We must return success.
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:231:20: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a '@Sendable' closure
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
237 | } else {
238 | // No extensions. We must return success.
/host/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 | ///
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:352:52: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
350 | // Adding the quiescing helper will help us do a graceful stop()
351 | self.quiescingHelper = ServerQuiescingHelper(group: self.eventLoopGroup)
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
353 | }
354 | .childChannelInitializer { channel in
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:359:88: warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
| `- warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:361:57: warning: type 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
| `- warning: type 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLServerHandler.swift:20:20: note: class 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
18 | /// handler can be used in channels that are acting as the server in
19 | /// the TLS dialog. For client connections, use the ``NIOSSLClientHandler``.
20 | public final class NIOSSLServerHandler: NIOSSLHandler {
| `- note: class 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
21 | /// Construct a new ``NIOSSLServerHandler`` with the given `context`.
22 | ///
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSL'
18 | import NIOHTTP1
19 | import Dispatch
20 | import NIOSSL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSL'
21 | import SSLService
22 | import LoggerAPI
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
364 | }
365 | }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:351:17: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
353 | }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:355:59: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a '@Sendable' closure
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
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/host/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 }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: reference to captured var 'upgraders' in concurrently-executing code
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
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/host/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 {
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:360:50: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a '@Sendable' closure
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
364 | }
365 | }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:523:13: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
524 | }
525 | }
/host/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 | }
/host/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 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:3767:15: error: 'Netscape_spki_st::sig_algor' from module 'CNIOBoringSSL' is not present in definition of 'struct Netscape_spki_st' in module 'OpenSSL'
3765 | struct Netscape_spki_st {
3766 | NETSCAPE_SPKAC *spkac;
3767 | X509_ALGOR *sig_algor;
| `- error: 'Netscape_spki_st::sig_algor' from module 'CNIOBoringSSL' is not present in definition of 'struct Netscape_spki_st' in module 'OpenSSL'
3768 | ASN1_BIT_STRING *signature;
3769 | } /* NETSCAPE_SPKI */;
/usr/include/openssl/x509.h:426:16: note: declaration of 'sig_algor' does not match
424 | typedef struct Netscape_spki_st {
425 | NETSCAPE_SPKAC *spkac; /* signed public key and challenge */
426 | X509_ALGOR sig_algor;
| `- note: declaration of 'sig_algor' does not match
427 | ASN1_BIT_STRING *signature;
428 | } NETSCAPE_SPKI;
/usr/include/openssl/crypto.h:181:19: error: 'crypto_ex_data_st::ctx' from module 'OpenSSL' is not present in definition of 'struct crypto_ex_data_st' in module 'CNIOBoringSSL'
179 |
180 | struct crypto_ex_data_st {
181 | OSSL_LIB_CTX *ctx;
| `- error: 'crypto_ex_data_st::ctx' from module 'OpenSSL' is not present in definition of 'struct crypto_ex_data_st' in module 'CNIOBoringSSL'
182 | STACK_OF(void) *sk;
183 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_ex_data.h:108:8: note: definition has no member 'ctx'
106 | typedef int CRYPTO_EX_unused;
107 |
108 | struct crypto_ex_data_st {
| `- note: definition has no member 'ctx'
109 | STACK_OF(void) *sk;
110 | };
/usr/include/openssl/x509v3.h:316:9: error: 'DIST_POINT_st::dp_reasons' from module 'OpenSSL' is not present in definition of 'struct DIST_POINT_st' in module 'CNIOBoringSSL'
314 | ASN1_BIT_STRING *reasons;
315 | GENERAL_NAMES *CRLissuer;
316 | int dp_reasons;
| `- error: 'DIST_POINT_st::dp_reasons' from module 'OpenSSL' is not present in definition of 'struct DIST_POINT_st' in module 'CNIOBoringSSL'
317 | };
318 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:2357:8: note: definition has no member 'dp_reasons'
2355 | // A DIST_POINT_st, aka |DIST_POINT|, represents a DistributionPoint structure
2356 | // (RFC 5280).
2357 | struct DIST_POINT_st {
| `- note: definition has no member 'dp_reasons'
2358 | DIST_POINT_NAME *distpoint;
2359 | ASN1_BIT_STRING *reasons;
/usr/include/openssl/rand.h:45:11: error: 'rand_meth_st::pseudorand' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
45 | int (*pseudorand) (unsigned char *buf, int num);
| `- error: 'rand_meth_st::pseudorand' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
46 | int (*status) (void);
47 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:117:9: note: declaration of 'pseudorand' does not match
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
117 | int (*pseudorand) (uint8_t *buf, size_t num);
| `- note: declaration of 'pseudorand' does not match
118 | int (*status) (void);
119 | };
/usr/include/openssl/rand.h:44:11: error: 'rand_meth_st::add' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
42 | int (*bytes) (unsigned char *buf, int num);
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
| `- error: 'rand_meth_st::add' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
45 | int (*pseudorand) (unsigned char *buf, int num);
46 | int (*status) (void);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:116:10: note: declaration of 'add' does not match
114 | int (*bytes) (uint8_t *buf, size_t num);
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
| `- note: declaration of 'add' does not match
117 | int (*pseudorand) (uint8_t *buf, size_t num);
118 | int (*status) (void);
/usr/include/openssl/rand.h:42:11: error: 'rand_meth_st::bytes' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
40 | struct rand_meth_st {
41 | int (*seed) (const void *buf, int num);
42 | int (*bytes) (unsigned char *buf, int num);
| `- error: 'rand_meth_st::bytes' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:114:9: note: declaration of 'bytes' does not match
112 | struct rand_meth_st {
113 | void (*seed) (const void *buf, int num);
114 | int (*bytes) (uint8_t *buf, size_t num);
| `- note: declaration of 'bytes' does not match
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
/usr/include/openssl/rand.h:41:11: error: 'rand_meth_st::seed' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
39 | # ifndef OPENSSL_NO_DEPRECATED_3_0
40 | struct rand_meth_st {
41 | int (*seed) (const void *buf, int num);
| `- error: 'rand_meth_st::seed' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
42 | int (*bytes) (unsigned char *buf, int num);
43 | void (*cleanup) (void);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:113:10: note: declaration of 'seed' does not match
111 | // external so that variables of this type can be initialized.
112 | struct rand_meth_st {
113 | void (*seed) (const void *buf, int num);
| `- note: declaration of 'seed' does not match
114 | int (*bytes) (uint8_t *buf, size_t num);
115 | void (*cleanup) (void);
/usr/include/openssl/buffer.h:46:19: error: 'buf_mem_st::flags' from module 'OpenSSL' is not present in definition of 'struct buf_mem_st' in module 'CNIOBoringSSL'
44 | char *data;
45 | size_t max; /* size of buffer */
46 | unsigned long flags;
| `- error: 'buf_mem_st::flags' from module 'OpenSSL' is not present in definition of 'struct buf_mem_st' in module 'CNIOBoringSSL'
47 | };
48 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_buf.h:24:8: note: definition has no member 'flags'
22 |
23 | // buf_mem_st (aka |BUF_MEM|) is a generic buffer object used by OpenSSL.
24 | struct buf_mem_st {
| `- note: definition has no member 'flags'
25 | size_t length; // current number of bytes
26 | char *data;
/usr/include/openssl/x509v3.h:103:15: error: 'v3_ext_ctx::issuer_pkey' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
103 | EVP_PKEY *issuer_pkey;
| `- error: 'v3_ext_ctx::issuer_pkey' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
104 | /* Maybe more here */
105 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4906:8: note: definition has no member 'issuer_pkey'
4904 | // these objects. It must be initialized with |X509V3_set_ctx| or
4905 | // |X509V3_set_ctx_test| before use.
4906 | struct v3_ext_ctx {
| `- note: definition has no member 'issuer_pkey'
4907 | int flags;
4908 | const X509 *issuer_cert;
/usr/include/openssl/x509v3.h:102:11: error: 'v3_ext_ctx::db' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
| `- error: 'v3_ext_ctx::db' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
103 | EVP_PKEY *issuer_pkey;
104 | /* Maybe more here */
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4912:15: note: declaration of 'db' does not match
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
4912 | const CONF *db;
| `- note: declaration of 'db' does not match
4913 | };
4914 |
/usr/include/openssl/x509v3.h:101:25: error: 'v3_ext_ctx::db_meth' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
| `- error: 'v3_ext_ctx::db_meth' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
102 | void *db;
103 | EVP_PKEY *issuer_pkey;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4906:8: note: definition has no member 'db_meth'
4904 | // these objects. It must be initialized with |X509V3_set_ctx| or
4905 | // |X509V3_set_ctx_test| before use.
4906 | struct v3_ext_ctx {
| `- note: definition has no member 'db_meth'
4907 | int flags;
4908 | const X509 *issuer_cert;
/usr/include/openssl/x509v3.h:100:15: error: 'v3_ext_ctx::crl' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
| `- error: 'v3_ext_ctx::crl' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4911:19: note: declaration of 'crl' does not match
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
| `- note: declaration of 'crl' does not match
4912 | const CONF *db;
4913 | };
/usr/include/openssl/x509v3.h:99:15: error: 'v3_ext_ctx::subject_req' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
97 | X509 *issuer_cert;
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
| `- error: 'v3_ext_ctx::subject_req' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4910:19: note: declaration of 'subject_req' does not match
4908 | const X509 *issuer_cert;
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
| `- note: declaration of 'subject_req' does not match
4911 | const X509_CRL *crl;
4912 | const CONF *db;
/usr/include/openssl/x509v3.h:98:11: error: 'v3_ext_ctx::subject_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
96 | int flags;
97 | X509 *issuer_cert;
98 | X509 *subject_cert;
| `- error: 'v3_ext_ctx::subject_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4909:15: note: declaration of 'subject_cert' does not match
4907 | int flags;
4908 | const X509 *issuer_cert;
4909 | const X509 *subject_cert;
| `- note: declaration of 'subject_cert' does not match
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
/usr/include/openssl/x509v3.h:97:11: error: 'v3_ext_ctx::issuer_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
95 | # define X509V3_CTX_REPLACE 0x2
96 | int flags;
97 | X509 *issuer_cert;
| `- error: 'v3_ext_ctx::issuer_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4908:15: note: declaration of 'issuer_cert' does not match
4906 | struct v3_ext_ctx {
4907 | int flags;
4908 | const X509 *issuer_cert;
| `- note: declaration of 'issuer_cert' does not match
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
/usr/include/openssl/x509v3.h:145:9: error: 'BASIC_CONSTRAINTS_st' has different definitions in different modules; first difference is definition in module 'OpenSSL' found field 'ca' with type 'int'
143 |
144 | typedef struct BASIC_CONSTRAINTS_st {
145 | int ca;
| `- error: 'BASIC_CONSTRAINTS_st' has different definitions in different modules; first difference is definition in module 'OpenSSL' found field 'ca' with type 'int'
146 | ASN1_INTEGER *pathlen;
147 | } BASIC_CONSTRAINTS;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:1956:16: note: but in 'CNIOBoringSSL' found field 'ca' with type 'ASN1_BOOLEAN' (aka 'int')
1954 | // BasicConstraints structure (RFC 5280).
1955 | struct BASIC_CONSTRAINTS_st {
1956 | ASN1_BOOLEAN ca;
| `- note: but in 'CNIOBoringSSL' found field 'ca' with type 'ASN1_BOOLEAN' (aka 'int')
1957 | ASN1_INTEGER *pathlen;
1958 | } /* BASIC_CONSTRAINTS */;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:2402:16: error: 'ISSUING_DIST_POINT_st' has different definitions in different modules; first difference is definition in module 'CNIOBoringSSL' found field 'onlyuser' with type 'ASN1_BOOLEAN' (aka 'int')
2400 | struct ISSUING_DIST_POINT_st {
2401 | DIST_POINT_NAME *distpoint;
2402 | ASN1_BOOLEAN onlyuser;
| `- error: 'ISSUING_DIST_POINT_st' has different definitions in different modules; first difference is definition in module 'CNIOBoringSSL' found field 'onlyuser' with type 'ASN1_BOOLEAN' (aka 'int')
2403 | ASN1_BOOLEAN onlyCA;
2404 | ASN1_BIT_STRING *onlysomereasons;
/usr/include/openssl/x509v3.h:581:9: note: but in 'OpenSSL' found field 'onlyuser' with type 'int'
579 | struct ISSUING_DIST_POINT_st {
580 | DIST_POINT_NAME *distpoint;
581 | int onlyuser;
| `- note: but in 'OpenSSL' found field 'onlyuser' with type 'int'
582 | int onlyCA;
583 | ASN1_BIT_STRING *onlysomereasons;
[786/787] Compiling KituraNet HTTPServer.swift
/host/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 | /**
/host/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)
/host/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: add '@MainActor' to make static property 'eventLoopGroupAlreadyInitialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
728 | }
729 |
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:233:52: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
231 | return webSocketHandlerFactory.handler(for: request)
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:61: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
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: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
237 | } else {
238 | // No extensions. We must return success.
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol; 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: type 'any ChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
237 | } else {
238 | // No extensions. We must return success.
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:231:20: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a '@Sendable' closure
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
237 | } else {
238 | // No extensions. We must return success.
/host/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 | ///
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:352:52: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
350 | // Adding the quiescing helper will help us do a graceful stop()
351 | self.quiescingHelper = ServerQuiescingHelper(group: self.eventLoopGroup)
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
353 | }
354 | .childChannelInitializer { channel in
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:359:88: warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
| `- warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:361:57: warning: type 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
| `- warning: type 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLServerHandler.swift:20:20: note: class 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
18 | /// handler can be used in channels that are acting as the server in
19 | /// the TLS dialog. For client connections, use the ``NIOSSLClientHandler``.
20 | public final class NIOSSLServerHandler: NIOSSLHandler {
| `- note: class 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
21 | /// Construct a new ``NIOSSLServerHandler`` with the given `context`.
22 | ///
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSL'
18 | import NIOHTTP1
19 | import Dispatch
20 | import NIOSSL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSL'
21 | import SSLService
22 | import LoggerAPI
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
364 | }
365 | }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:351:17: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
353 | }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:355:59: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a '@Sendable' closure
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
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/host/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 }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: reference to captured var 'upgraders' in concurrently-executing code
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
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/host/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 {
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:360:50: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a '@Sendable' closure
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
364 | }
365 | }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:523:13: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
524 | }
525 | }
/host/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 | }
/host/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 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:3767:15: error: 'Netscape_spki_st::sig_algor' from module 'CNIOBoringSSL' is not present in definition of 'struct Netscape_spki_st' in module 'OpenSSL'
3765 | struct Netscape_spki_st {
3766 | NETSCAPE_SPKAC *spkac;
3767 | X509_ALGOR *sig_algor;
| `- error: 'Netscape_spki_st::sig_algor' from module 'CNIOBoringSSL' is not present in definition of 'struct Netscape_spki_st' in module 'OpenSSL'
3768 | ASN1_BIT_STRING *signature;
3769 | } /* NETSCAPE_SPKI */;
/usr/include/openssl/x509.h:426:16: note: declaration of 'sig_algor' does not match
424 | typedef struct Netscape_spki_st {
425 | NETSCAPE_SPKAC *spkac; /* signed public key and challenge */
426 | X509_ALGOR sig_algor;
| `- note: declaration of 'sig_algor' does not match
427 | ASN1_BIT_STRING *signature;
428 | } NETSCAPE_SPKI;
/usr/include/openssl/crypto.h:181:19: error: 'crypto_ex_data_st::ctx' from module 'OpenSSL' is not present in definition of 'struct crypto_ex_data_st' in module 'CNIOBoringSSL'
179 |
180 | struct crypto_ex_data_st {
181 | OSSL_LIB_CTX *ctx;
| `- error: 'crypto_ex_data_st::ctx' from module 'OpenSSL' is not present in definition of 'struct crypto_ex_data_st' in module 'CNIOBoringSSL'
182 | STACK_OF(void) *sk;
183 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_ex_data.h:108:8: note: definition has no member 'ctx'
106 | typedef int CRYPTO_EX_unused;
107 |
108 | struct crypto_ex_data_st {
| `- note: definition has no member 'ctx'
109 | STACK_OF(void) *sk;
110 | };
/usr/include/openssl/x509v3.h:316:9: error: 'DIST_POINT_st::dp_reasons' from module 'OpenSSL' is not present in definition of 'struct DIST_POINT_st' in module 'CNIOBoringSSL'
314 | ASN1_BIT_STRING *reasons;
315 | GENERAL_NAMES *CRLissuer;
316 | int dp_reasons;
| `- error: 'DIST_POINT_st::dp_reasons' from module 'OpenSSL' is not present in definition of 'struct DIST_POINT_st' in module 'CNIOBoringSSL'
317 | };
318 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:2357:8: note: definition has no member 'dp_reasons'
2355 | // A DIST_POINT_st, aka |DIST_POINT|, represents a DistributionPoint structure
2356 | // (RFC 5280).
2357 | struct DIST_POINT_st {
| `- note: definition has no member 'dp_reasons'
2358 | DIST_POINT_NAME *distpoint;
2359 | ASN1_BIT_STRING *reasons;
/usr/include/openssl/rand.h:45:11: error: 'rand_meth_st::pseudorand' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
45 | int (*pseudorand) (unsigned char *buf, int num);
| `- error: 'rand_meth_st::pseudorand' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
46 | int (*status) (void);
47 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:117:9: note: declaration of 'pseudorand' does not match
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
117 | int (*pseudorand) (uint8_t *buf, size_t num);
| `- note: declaration of 'pseudorand' does not match
118 | int (*status) (void);
119 | };
/usr/include/openssl/rand.h:44:11: error: 'rand_meth_st::add' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
42 | int (*bytes) (unsigned char *buf, int num);
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
| `- error: 'rand_meth_st::add' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
45 | int (*pseudorand) (unsigned char *buf, int num);
46 | int (*status) (void);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:116:10: note: declaration of 'add' does not match
114 | int (*bytes) (uint8_t *buf, size_t num);
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
| `- note: declaration of 'add' does not match
117 | int (*pseudorand) (uint8_t *buf, size_t num);
118 | int (*status) (void);
/usr/include/openssl/rand.h:42:11: error: 'rand_meth_st::bytes' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
40 | struct rand_meth_st {
41 | int (*seed) (const void *buf, int num);
42 | int (*bytes) (unsigned char *buf, int num);
| `- error: 'rand_meth_st::bytes' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:114:9: note: declaration of 'bytes' does not match
112 | struct rand_meth_st {
113 | void (*seed) (const void *buf, int num);
114 | int (*bytes) (uint8_t *buf, size_t num);
| `- note: declaration of 'bytes' does not match
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
/usr/include/openssl/rand.h:41:11: error: 'rand_meth_st::seed' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
39 | # ifndef OPENSSL_NO_DEPRECATED_3_0
40 | struct rand_meth_st {
41 | int (*seed) (const void *buf, int num);
| `- error: 'rand_meth_st::seed' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
42 | int (*bytes) (unsigned char *buf, int num);
43 | void (*cleanup) (void);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:113:10: note: declaration of 'seed' does not match
111 | // external so that variables of this type can be initialized.
112 | struct rand_meth_st {
113 | void (*seed) (const void *buf, int num);
| `- note: declaration of 'seed' does not match
114 | int (*bytes) (uint8_t *buf, size_t num);
115 | void (*cleanup) (void);
/usr/include/openssl/buffer.h:46:19: error: 'buf_mem_st::flags' from module 'OpenSSL' is not present in definition of 'struct buf_mem_st' in module 'CNIOBoringSSL'
44 | char *data;
45 | size_t max; /* size of buffer */
46 | unsigned long flags;
| `- error: 'buf_mem_st::flags' from module 'OpenSSL' is not present in definition of 'struct buf_mem_st' in module 'CNIOBoringSSL'
47 | };
48 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_buf.h:24:8: note: definition has no member 'flags'
22 |
23 | // buf_mem_st (aka |BUF_MEM|) is a generic buffer object used by OpenSSL.
24 | struct buf_mem_st {
| `- note: definition has no member 'flags'
25 | size_t length; // current number of bytes
26 | char *data;
/usr/include/openssl/x509v3.h:103:15: error: 'v3_ext_ctx::issuer_pkey' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
103 | EVP_PKEY *issuer_pkey;
| `- error: 'v3_ext_ctx::issuer_pkey' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
104 | /* Maybe more here */
105 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4906:8: note: definition has no member 'issuer_pkey'
4904 | // these objects. It must be initialized with |X509V3_set_ctx| or
4905 | // |X509V3_set_ctx_test| before use.
4906 | struct v3_ext_ctx {
| `- note: definition has no member 'issuer_pkey'
4907 | int flags;
4908 | const X509 *issuer_cert;
/usr/include/openssl/x509v3.h:102:11: error: 'v3_ext_ctx::db' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
| `- error: 'v3_ext_ctx::db' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
103 | EVP_PKEY *issuer_pkey;
104 | /* Maybe more here */
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4912:15: note: declaration of 'db' does not match
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
4912 | const CONF *db;
| `- note: declaration of 'db' does not match
4913 | };
4914 |
/usr/include/openssl/x509v3.h:101:25: error: 'v3_ext_ctx::db_meth' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
| `- error: 'v3_ext_ctx::db_meth' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
102 | void *db;
103 | EVP_PKEY *issuer_pkey;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4906:8: note: definition has no member 'db_meth'
4904 | // these objects. It must be initialized with |X509V3_set_ctx| or
4905 | // |X509V3_set_ctx_test| before use.
4906 | struct v3_ext_ctx {
| `- note: definition has no member 'db_meth'
4907 | int flags;
4908 | const X509 *issuer_cert;
/usr/include/openssl/x509v3.h:100:15: error: 'v3_ext_ctx::crl' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
| `- error: 'v3_ext_ctx::crl' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4911:19: note: declaration of 'crl' does not match
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
| `- note: declaration of 'crl' does not match
4912 | const CONF *db;
4913 | };
/usr/include/openssl/x509v3.h:99:15: error: 'v3_ext_ctx::subject_req' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
97 | X509 *issuer_cert;
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
| `- error: 'v3_ext_ctx::subject_req' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4910:19: note: declaration of 'subject_req' does not match
4908 | const X509 *issuer_cert;
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
| `- note: declaration of 'subject_req' does not match
4911 | const X509_CRL *crl;
4912 | const CONF *db;
/usr/include/openssl/x509v3.h:98:11: error: 'v3_ext_ctx::subject_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
96 | int flags;
97 | X509 *issuer_cert;
98 | X509 *subject_cert;
| `- error: 'v3_ext_ctx::subject_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4909:15: note: declaration of 'subject_cert' does not match
4907 | int flags;
4908 | const X509 *issuer_cert;
4909 | const X509 *subject_cert;
| `- note: declaration of 'subject_cert' does not match
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
/usr/include/openssl/x509v3.h:97:11: error: 'v3_ext_ctx::issuer_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
95 | # define X509V3_CTX_REPLACE 0x2
96 | int flags;
97 | X509 *issuer_cert;
| `- error: 'v3_ext_ctx::issuer_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4908:15: note: declaration of 'issuer_cert' does not match
4906 | struct v3_ext_ctx {
4907 | int flags;
4908 | const X509 *issuer_cert;
| `- note: declaration of 'issuer_cert' does not match
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
/usr/include/openssl/x509v3.h:145:9: error: 'BASIC_CONSTRAINTS_st' has different definitions in different modules; first difference is definition in module 'OpenSSL' found field 'ca' with type 'int'
143 |
144 | typedef struct BASIC_CONSTRAINTS_st {
145 | int ca;
| `- error: 'BASIC_CONSTRAINTS_st' has different definitions in different modules; first difference is definition in module 'OpenSSL' found field 'ca' with type 'int'
146 | ASN1_INTEGER *pathlen;
147 | } BASIC_CONSTRAINTS;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:1956:16: note: but in 'CNIOBoringSSL' found field 'ca' with type 'ASN1_BOOLEAN' (aka 'int')
1954 | // BasicConstraints structure (RFC 5280).
1955 | struct BASIC_CONSTRAINTS_st {
1956 | ASN1_BOOLEAN ca;
| `- note: but in 'CNIOBoringSSL' found field 'ca' with type 'ASN1_BOOLEAN' (aka 'int')
1957 | ASN1_INTEGER *pathlen;
1958 | } /* BASIC_CONSTRAINTS */;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:2402:16: error: 'ISSUING_DIST_POINT_st' has different definitions in different modules; first difference is definition in module 'CNIOBoringSSL' found field 'onlyuser' with type 'ASN1_BOOLEAN' (aka 'int')
2400 | struct ISSUING_DIST_POINT_st {
2401 | DIST_POINT_NAME *distpoint;
2402 | ASN1_BOOLEAN onlyuser;
| `- error: 'ISSUING_DIST_POINT_st' has different definitions in different modules; first difference is definition in module 'CNIOBoringSSL' found field 'onlyuser' with type 'ASN1_BOOLEAN' (aka 'int')
2403 | ASN1_BOOLEAN onlyCA;
2404 | ASN1_BIT_STRING *onlysomereasons;
/usr/include/openssl/x509v3.h:581:9: note: but in 'OpenSSL' found field 'onlyuser' with type 'int'
579 | struct ISSUING_DIST_POINT_st {
580 | DIST_POINT_NAME *distpoint;
581 | int onlyuser;
| `- note: but in 'OpenSSL' found field 'onlyuser' with type 'int'
582 | int onlyCA;
583 | ASN1_BIT_STRING *onlysomereasons;
[787/787] Compiling KituraNet HTTPServerRequest.swift
/host/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 | /**
/host/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)
/host/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: add '@MainActor' to make static property 'eventLoopGroupAlreadyInitialized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
728 | }
729 |
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:233:52: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
231 | return webSocketHandlerFactory.handler(for: request)
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
234 | if let _extensions = request.headers["Sec-WebSocket-Extensions"].first {
235 | let handlers = webSocketHandlerFactory.extensionHandlers(header: _extensions)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:61: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
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: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
237 | } else {
238 | // No extensions. We must return success.
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol; 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: type 'any ChannelHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
237 | } else {
238 | // No extensions. We must return success.
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:231:20: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
232 | }.flatMap { (handler: ChannelHandler) -> EventLoopFuture<Void> in
233 | return channel.pipeline.addHandler(handler).flatMap {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:235:40: warning: capture of 'webSocketHandlerFactory' with non-sendable type 'any ProtocolHandlerFactory' in a '@Sendable' closure
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
236 | return channel.pipeline.addHandlers(handlers, position: .before(handler))
237 | } else {
/host/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 }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:236:89: warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a '@Sendable' closure
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
237 | } else {
238 | // No extensions. We must return success.
/host/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 | ///
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:352:52: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
350 | // Adding the quiescing helper will help us do a graceful stop()
351 | self.quiescingHelper = ServerQuiescingHelper(group: self.eventLoopGroup)
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
353 | }
354 | .childChannelInitializer { channel in
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:359:88: warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
| `- warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:361:57: warning: type 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
360 | if let nioSSLServerHandler = self.createNIOSSLServerHandler() {
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
| `- warning: type 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/NIOSSLServerHandler.swift:20:20: note: class 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
18 | /// handler can be used in channels that are acting as the server in
19 | /// the TLS dialog. For client connections, use the ``NIOSSLClientHandler``.
20 | public final class NIOSSLServerHandler: NIOSSLHandler {
| `- note: class 'NIOSSLServerHandler' does not conform to the 'Sendable' protocol
21 | /// Construct a new ``NIOSSLServerHandler`` with the given `context`.
22 | ///
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSL'
18 | import NIOHTTP1
19 | import Dispatch
20 | import NIOSSL
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOSSL'
21 | import SSLService
22 | import LoggerAPI
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
363 | return channel.pipeline.addHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
364 | }
365 | }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:351:17: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
352 | return channel.pipeline.addHandler(self.quiescingHelper!.makeServerChannelHandler(channel: channel))
353 | }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:355:59: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: capture of 'upgraders' with non-sendable type '[any HTTPServerProtocolUpgrader]' in a '@Sendable' closure
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
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/host/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 }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:356:77: warning: reference to captured var 'upgraders' in concurrently-executing code
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
357 | _ = channel.pipeline.removeHandler(httpHandler)
358 | })
/host/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 {
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:360:50: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
361 | _ = channel.pipeline.addHandler(nioSSLServerHandler, position: .first)
362 | }
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:363:56: warning: capture of 'httpHandler' with non-sendable type 'HTTPRequestHandler' in a '@Sendable' closure
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
364 | }
365 | }
/host/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
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:523:13: warning: capture of 'self' with non-sendable type 'HTTPServer' in a '@Sendable' closure
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
524 | }
525 | }
/host/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 | }
/host/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 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:3767:15: error: 'Netscape_spki_st::sig_algor' from module 'CNIOBoringSSL' is not present in definition of 'struct Netscape_spki_st' in module 'OpenSSL'
3765 | struct Netscape_spki_st {
3766 | NETSCAPE_SPKAC *spkac;
3767 | X509_ALGOR *sig_algor;
| `- error: 'Netscape_spki_st::sig_algor' from module 'CNIOBoringSSL' is not present in definition of 'struct Netscape_spki_st' in module 'OpenSSL'
3768 | ASN1_BIT_STRING *signature;
3769 | } /* NETSCAPE_SPKI */;
/usr/include/openssl/x509.h:426:16: note: declaration of 'sig_algor' does not match
424 | typedef struct Netscape_spki_st {
425 | NETSCAPE_SPKAC *spkac; /* signed public key and challenge */
426 | X509_ALGOR sig_algor;
| `- note: declaration of 'sig_algor' does not match
427 | ASN1_BIT_STRING *signature;
428 | } NETSCAPE_SPKI;
/usr/include/openssl/crypto.h:181:19: error: 'crypto_ex_data_st::ctx' from module 'OpenSSL' is not present in definition of 'struct crypto_ex_data_st' in module 'CNIOBoringSSL'
179 |
180 | struct crypto_ex_data_st {
181 | OSSL_LIB_CTX *ctx;
| `- error: 'crypto_ex_data_st::ctx' from module 'OpenSSL' is not present in definition of 'struct crypto_ex_data_st' in module 'CNIOBoringSSL'
182 | STACK_OF(void) *sk;
183 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_ex_data.h:108:8: note: definition has no member 'ctx'
106 | typedef int CRYPTO_EX_unused;
107 |
108 | struct crypto_ex_data_st {
| `- note: definition has no member 'ctx'
109 | STACK_OF(void) *sk;
110 | };
/usr/include/openssl/x509v3.h:316:9: error: 'DIST_POINT_st::dp_reasons' from module 'OpenSSL' is not present in definition of 'struct DIST_POINT_st' in module 'CNIOBoringSSL'
314 | ASN1_BIT_STRING *reasons;
315 | GENERAL_NAMES *CRLissuer;
316 | int dp_reasons;
| `- error: 'DIST_POINT_st::dp_reasons' from module 'OpenSSL' is not present in definition of 'struct DIST_POINT_st' in module 'CNIOBoringSSL'
317 | };
318 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:2357:8: note: definition has no member 'dp_reasons'
2355 | // A DIST_POINT_st, aka |DIST_POINT|, represents a DistributionPoint structure
2356 | // (RFC 5280).
2357 | struct DIST_POINT_st {
| `- note: definition has no member 'dp_reasons'
2358 | DIST_POINT_NAME *distpoint;
2359 | ASN1_BIT_STRING *reasons;
/usr/include/openssl/rand.h:45:11: error: 'rand_meth_st::pseudorand' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
45 | int (*pseudorand) (unsigned char *buf, int num);
| `- error: 'rand_meth_st::pseudorand' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
46 | int (*status) (void);
47 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:117:9: note: declaration of 'pseudorand' does not match
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
117 | int (*pseudorand) (uint8_t *buf, size_t num);
| `- note: declaration of 'pseudorand' does not match
118 | int (*status) (void);
119 | };
/usr/include/openssl/rand.h:44:11: error: 'rand_meth_st::add' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
42 | int (*bytes) (unsigned char *buf, int num);
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
| `- error: 'rand_meth_st::add' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
45 | int (*pseudorand) (unsigned char *buf, int num);
46 | int (*status) (void);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:116:10: note: declaration of 'add' does not match
114 | int (*bytes) (uint8_t *buf, size_t num);
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
| `- note: declaration of 'add' does not match
117 | int (*pseudorand) (uint8_t *buf, size_t num);
118 | int (*status) (void);
/usr/include/openssl/rand.h:42:11: error: 'rand_meth_st::bytes' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
40 | struct rand_meth_st {
41 | int (*seed) (const void *buf, int num);
42 | int (*bytes) (unsigned char *buf, int num);
| `- error: 'rand_meth_st::bytes' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
43 | void (*cleanup) (void);
44 | int (*add) (const void *buf, int num, double randomness);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:114:9: note: declaration of 'bytes' does not match
112 | struct rand_meth_st {
113 | void (*seed) (const void *buf, int num);
114 | int (*bytes) (uint8_t *buf, size_t num);
| `- note: declaration of 'bytes' does not match
115 | void (*cleanup) (void);
116 | void (*add) (const void *buf, int num, double entropy);
/usr/include/openssl/rand.h:41:11: error: 'rand_meth_st::seed' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
39 | # ifndef OPENSSL_NO_DEPRECATED_3_0
40 | struct rand_meth_st {
41 | int (*seed) (const void *buf, int num);
| `- error: 'rand_meth_st::seed' from module 'OpenSSL' is not present in definition of 'struct rand_meth_st' in module 'CNIOBoringSSL'
42 | int (*bytes) (unsigned char *buf, int num);
43 | void (*cleanup) (void);
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_rand.h:113:10: note: declaration of 'seed' does not match
111 | // external so that variables of this type can be initialized.
112 | struct rand_meth_st {
113 | void (*seed) (const void *buf, int num);
| `- note: declaration of 'seed' does not match
114 | int (*bytes) (uint8_t *buf, size_t num);
115 | void (*cleanup) (void);
/usr/include/openssl/buffer.h:46:19: error: 'buf_mem_st::flags' from module 'OpenSSL' is not present in definition of 'struct buf_mem_st' in module 'CNIOBoringSSL'
44 | char *data;
45 | size_t max; /* size of buffer */
46 | unsigned long flags;
| `- error: 'buf_mem_st::flags' from module 'OpenSSL' is not present in definition of 'struct buf_mem_st' in module 'CNIOBoringSSL'
47 | };
48 |
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_buf.h:24:8: note: definition has no member 'flags'
22 |
23 | // buf_mem_st (aka |BUF_MEM|) is a generic buffer object used by OpenSSL.
24 | struct buf_mem_st {
| `- note: definition has no member 'flags'
25 | size_t length; // current number of bytes
26 | char *data;
/usr/include/openssl/x509v3.h:103:15: error: 'v3_ext_ctx::issuer_pkey' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
103 | EVP_PKEY *issuer_pkey;
| `- error: 'v3_ext_ctx::issuer_pkey' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
104 | /* Maybe more here */
105 | };
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4906:8: note: definition has no member 'issuer_pkey'
4904 | // these objects. It must be initialized with |X509V3_set_ctx| or
4905 | // |X509V3_set_ctx_test| before use.
4906 | struct v3_ext_ctx {
| `- note: definition has no member 'issuer_pkey'
4907 | int flags;
4908 | const X509 *issuer_cert;
/usr/include/openssl/x509v3.h:102:11: error: 'v3_ext_ctx::db' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
| `- error: 'v3_ext_ctx::db' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
103 | EVP_PKEY *issuer_pkey;
104 | /* Maybe more here */
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4912:15: note: declaration of 'db' does not match
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
4912 | const CONF *db;
| `- note: declaration of 'db' does not match
4913 | };
4914 |
/usr/include/openssl/x509v3.h:101:25: error: 'v3_ext_ctx::db_meth' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
| `- error: 'v3_ext_ctx::db_meth' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
102 | void *db;
103 | EVP_PKEY *issuer_pkey;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4906:8: note: definition has no member 'db_meth'
4904 | // these objects. It must be initialized with |X509V3_set_ctx| or
4905 | // |X509V3_set_ctx_test| before use.
4906 | struct v3_ext_ctx {
| `- note: definition has no member 'db_meth'
4907 | int flags;
4908 | const X509 *issuer_cert;
/usr/include/openssl/x509v3.h:100:15: error: 'v3_ext_ctx::crl' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
| `- error: 'v3_ext_ctx::crl' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
101 | X509V3_CONF_METHOD *db_meth;
102 | void *db;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4911:19: note: declaration of 'crl' does not match
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
| `- note: declaration of 'crl' does not match
4912 | const CONF *db;
4913 | };
/usr/include/openssl/x509v3.h:99:15: error: 'v3_ext_ctx::subject_req' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
97 | X509 *issuer_cert;
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
| `- error: 'v3_ext_ctx::subject_req' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
100 | X509_CRL *crl;
101 | X509V3_CONF_METHOD *db_meth;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4910:19: note: declaration of 'subject_req' does not match
4908 | const X509 *issuer_cert;
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
| `- note: declaration of 'subject_req' does not match
4911 | const X509_CRL *crl;
4912 | const CONF *db;
/usr/include/openssl/x509v3.h:98:11: error: 'v3_ext_ctx::subject_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
96 | int flags;
97 | X509 *issuer_cert;
98 | X509 *subject_cert;
| `- error: 'v3_ext_ctx::subject_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
99 | X509_REQ *subject_req;
100 | X509_CRL *crl;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4909:15: note: declaration of 'subject_cert' does not match
4907 | int flags;
4908 | const X509 *issuer_cert;
4909 | const X509 *subject_cert;
| `- note: declaration of 'subject_cert' does not match
4910 | const X509_REQ *subject_req;
4911 | const X509_CRL *crl;
/usr/include/openssl/x509v3.h:97:11: error: 'v3_ext_ctx::issuer_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
95 | # define X509V3_CTX_REPLACE 0x2
96 | int flags;
97 | X509 *issuer_cert;
| `- error: 'v3_ext_ctx::issuer_cert' from module 'OpenSSL' is not present in definition of 'struct v3_ext_ctx' in module 'CNIOBoringSSL'
98 | X509 *subject_cert;
99 | X509_REQ *subject_req;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:4908:15: note: declaration of 'issuer_cert' does not match
4906 | struct v3_ext_ctx {
4907 | int flags;
4908 | const X509 *issuer_cert;
| `- note: declaration of 'issuer_cert' does not match
4909 | const X509 *subject_cert;
4910 | const X509_REQ *subject_req;
/usr/include/openssl/x509v3.h:145:9: error: 'BASIC_CONSTRAINTS_st' has different definitions in different modules; first difference is definition in module 'OpenSSL' found field 'ca' with type 'int'
143 |
144 | typedef struct BASIC_CONSTRAINTS_st {
145 | int ca;
| `- error: 'BASIC_CONSTRAINTS_st' has different definitions in different modules; first difference is definition in module 'OpenSSL' found field 'ca' with type 'int'
146 | ASN1_INTEGER *pathlen;
147 | } BASIC_CONSTRAINTS;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:1956:16: note: but in 'CNIOBoringSSL' found field 'ca' with type 'ASN1_BOOLEAN' (aka 'int')
1954 | // BasicConstraints structure (RFC 5280).
1955 | struct BASIC_CONSTRAINTS_st {
1956 | ASN1_BOOLEAN ca;
| `- note: but in 'CNIOBoringSSL' found field 'ca' with type 'ASN1_BOOLEAN' (aka 'int')
1957 | ASN1_INTEGER *pathlen;
1958 | } /* BASIC_CONSTRAINTS */;
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/CNIOBoringSSL_x509.h:2402:16: error: 'ISSUING_DIST_POINT_st' has different definitions in different modules; first difference is definition in module 'CNIOBoringSSL' found field 'onlyuser' with type 'ASN1_BOOLEAN' (aka 'int')
2400 | struct ISSUING_DIST_POINT_st {
2401 | DIST_POINT_NAME *distpoint;
2402 | ASN1_BOOLEAN onlyuser;
| `- error: 'ISSUING_DIST_POINT_st' has different definitions in different modules; first difference is definition in module 'CNIOBoringSSL' found field 'onlyuser' with type 'ASN1_BOOLEAN' (aka 'int')
2403 | ASN1_BOOLEAN onlyCA;
2404 | ASN1_BIT_STRING *onlysomereasons;
/usr/include/openssl/x509v3.h:581:9: note: but in 'OpenSSL' found field 'onlyuser' with type 'int'
579 | struct ISSUING_DIST_POINT_st {
580 | DIST_POINT_NAME *distpoint;
581 | int onlyuser;
| `- note: but in 'OpenSSL' found field 'onlyuser' with type 'int'
582 | int onlyCA;
583 | ASN1_BIT_STRING *onlysomereasons;
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/43] Compiling Socket Socket+Equatable.swift
[3/60] Compiling Logging MetadataProvider.swift
[4/60] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[5/60] Compiling InternalCollectionsUtilities Specialize.swift
[6/62] Compiling NIOConcurrencyHelpers NIOLock.swift
[7/62] Emitting module Logging
[8/62] Emitting module Socket
[9/62] Compiling InternalCollectionsUtilities Debugging.swift
[10/62] Compiling InternalCollectionsUtilities Descriptions.swift
[11/62] Compiling Atomics UnsafeAtomic.swift
[12/62] Compiling Atomics UnsafeAtomicLazyReference.swift
[15/64] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/64] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[19/64] Compiling Logging Locks.swift
[20/64] Emitting module InternalCollectionsUtilities
[21/64] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[22/64] Compiling Atomics IntegerOperations.swift
[23/64] Compiling Atomics Unmanaged extensions.swift
[24/64] Compiling Socket SocketProtocols.swift
[25/64] Compiling Socket SocketUtils.swift
[26/64] Emitting module _NIODataStructures
[27/64] Compiling NIOConcurrencyHelpers lock.swift
[28/64] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[29/64] Compiling NIOConcurrencyHelpers atomics.swift
[30/64] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/64] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[32/64] Emitting module NIOConcurrencyHelpers
[33/65] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[34/65] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[35/65] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[36/65] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/65] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[40/65] Compiling InternalCollectionsUtilities Integer rank.swift
[41/65] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[42/65] Emitting module _NIOBase64
[43/65] Compiling _NIOBase64 Base64.swift
[44/66] Compiling _NIODataStructures PriorityQueue.swift
[45/66] Compiling _NIODataStructures Heap.swift
[46/66] Compiling _NIODataStructures _TinyArray.swift
[50/67] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[55/67] Compiling InternalCollectionsUtilities UInt+reversed.swift
[56/67] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[58/68] Compiling Logging LogHandler.swift
[59/68] Compiling Logging Logging.swift
[61/84] Compiling DequeModule Deque+Extras.swift
[62/84] Compiling DequeModule Deque+Hashable.swift
[63/84] Compiling DequeModule Deque+Equatable.swift
[64/84] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[65/84] Compiling DequeModule Deque+Codable.swift
[66/84] Compiling DequeModule Deque+Collection.swift
[67/84] Compiling DequeModule _DequeBuffer.swift
[68/84] Compiling DequeModule _DequeBufferHeader.swift
[73/88] Compiling DequeModule Deque+CustomReflectable.swift
[74/88] Compiling DequeModule Deque+Descriptions.swift
[75/88] Emitting module LoggerAPI
[76/88] Compiling DequeModule _DequeSlot.swift
[77/88] Compiling DequeModule _UnsafeWrappedBuffer.swift
[78/88] Compiling LoggerAPI Logger.swift
[80/89] Emitting module Atomics
[81/90] Compiling DequeModule Deque+Testing.swift
[82/90] Compiling DequeModule Deque._Storage.swift
[83/90] Compiling DequeModule Deque._UnsafeHandle.swift
[84/90] Compiling DequeModule Deque.swift
[88/90] Emitting module DequeModule
[90/91] Compiling Socket Socket+Hashable.swift
[91/91] Compiling Socket Socket.swift
[93/154] Compiling SSLService SSLPointerTricks.swift
[94/154] Emitting module SSLService
[95/154] Compiling SSLService SSLService.swift
[97/155] Compiling NIOCore MarkedCircularBuffer.swift
[98/155] Compiling NIOCore MulticastChannel.swift
[99/155] Compiling NIOCore NIOAny.swift
[100/155] Compiling NIOCore NIOCloseOnErrorHandler.swift
[101/155] Compiling NIOCore NIOLoopBound.swift
[102/155] Compiling NIOCore NIOScheduledCallback.swift
[103/155] Compiling NIOCore NIOSendable.swift
[104/155] Compiling NIOCore RecvByteBufferAllocator.swift
[105/163] Compiling NIOCore GlobalSingletons.swift
[106/163] Compiling NIOCore IO.swift
[107/163] Compiling NIOCore IOData.swift
[108/163] Compiling NIOCore IPProtocol.swift
[109/163] Compiling NIOCore IntegerBitPacking.swift
[110/163] Compiling NIOCore IntegerTypes.swift
[111/163] Compiling NIOCore Interfaces.swift
[112/163] Compiling NIOCore Linux.swift
[113/163] Compiling NIOCore EventLoop.swift
[114/163] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[115/163] Compiling NIOCore EventLoopFuture+Deprecated.swift
[116/163] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[117/163] Compiling NIOCore EventLoopFuture.swift
[118/163] Compiling NIOCore FileDescriptor.swift
[119/163] Compiling NIOCore FileHandle.swift
[120/163] Compiling NIOCore FileRegion.swift
[121/163] Compiling NIOCore ChannelPipeline.swift
[122/163] Compiling NIOCore CircularBuffer.swift
[123/163] Compiling NIOCore Codec.swift
[124/163] Compiling NIOCore ConvenienceOptionSupport.swift
[125/163] Compiling NIOCore DeadChannel.swift
[126/163] Compiling NIOCore DispatchQueue+WithFuture.swift
[127/163] Compiling NIOCore EventLoop+Deprecated.swift
[128/163] Compiling NIOCore EventLoop+SerialExecutor.swift
[129/163] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[130/163] Compiling NIOCore BSDSocketAPI.swift
[131/163] Compiling NIOCore ByteBuffer-aux.swift
[132/163] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[133/163] Compiling NIOCore ByteBuffer-conversions.swift
[134/163] Compiling NIOCore ByteBuffer-core.swift
[135/163] Compiling NIOCore ByteBuffer-hex.swift
[136/163] Compiling NIOCore ByteBuffer-int.swift
[137/163] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[138/163] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[139/163] Compiling NIOCore SocketAddresses.swift
[140/163] Compiling NIOCore SocketOptionProvider.swift
[141/163] Compiling NIOCore SystemCallHelpers.swift
[142/163] Compiling NIOCore TimeAmount+Duration.swift
[143/163] Compiling NIOCore TypeAssistedChannelHandler.swift
[144/163] Compiling NIOCore UniversalBootstrapSupport.swift
[145/163] Compiling NIOCore Utilities.swift
[146/163] Compiling NIOCore AddressedEnvelope.swift
[147/163] Compiling NIOCore AsyncAwaitSupport.swift
[148/163] Compiling NIOCore AsyncChannel.swift
[149/163] Compiling NIOCore AsyncChannelHandler.swift
[150/163] Compiling NIOCore AsyncChannelInboundStream.swift
[151/163] Compiling NIOCore AsyncChannelOutboundWriter.swift
[152/163] Compiling NIOCore NIOAsyncSequenceProducer.swift
[153/163] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[154/163] Compiling NIOCore NIOAsyncWriter.swift
[155/163] Compiling NIOCore ByteBuffer-multi-int.swift
[156/163] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[157/163] Compiling NIOCore ByteBuffer-views.swift
[158/163] Compiling NIOCore Channel.swift
[159/163] Compiling NIOCore ChannelHandler.swift
[160/163] Compiling NIOCore ChannelHandlers.swift
[161/163] Compiling NIOCore ChannelInvoker.swift
[162/163] Compiling NIOCore ChannelOption.swift
[163/163] Emitting module NIOCore
[165/215] Compiling NIOEmbedded AsyncTestingChannel.swift
[166/215] Emitting module NIOEmbedded
[167/215] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[168/215] Compiling NIOEmbedded Embedded.swift
[170/216] Compiling NIOPosix PooledRecvBufferAllocator.swift
[171/216] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[172/216] Compiling NIOPosix PosixSingletons.swift
[173/216] Compiling NIOPosix RawSocketBootstrap.swift
[174/216] Compiling NIOPosix Resolver.swift
[175/216] Compiling NIOPosix Selectable.swift
[176/222] Compiling NIOPosix ServerSocket.swift
[177/222] Compiling NIOPosix Socket.swift
[178/222] Compiling NIOPosix SocketChannel.swift
[179/222] Compiling NIOPosix SocketProtocols.swift
[180/222] Compiling NIOPosix System.swift
[181/222] Compiling NIOPosix Thread.swift
[182/222] Compiling NIOPosix SelectableChannel.swift
[183/222] Compiling NIOPosix SelectableEventLoop.swift
[184/222] Compiling NIOPosix SelectorEpoll.swift
[185/222] Compiling NIOPosix SelectorGeneric.swift
[186/222] Compiling NIOPosix SelectorKqueue.swift
[187/222] Compiling NIOPosix SelectorUring.swift
[188/222] Emitting module NIOPosix
[189/222] Compiling NIOPosix BSDSocketAPICommon.swift
[190/222] Compiling NIOPosix BSDSocketAPIPosix.swift
[191/222] Compiling NIOPosix BSDSocketAPIWindows.swift
[192/222] Compiling NIOPosix BaseSocket.swift
[193/222] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[194/222] Compiling NIOPosix BaseSocketChannel.swift
[195/222] Compiling NIOPosix BaseStreamSocketChannel.swift
[196/222] Compiling NIOPosix Bootstrap.swift
[197/222] Compiling NIOPosix ControlMessage.swift
[198/222] Compiling NIOPosix DatagramVectorReadManager.swift
[199/222] Compiling NIOPosix Errors+Any.swift
[200/222] Compiling NIOPosix FileDescriptor.swift
[201/222] Compiling NIOPosix GetaddrinfoResolver.swift
[202/222] Compiling NIOPosix HappyEyeballs.swift
[203/222] Compiling NIOPosix IO.swift
[204/222] Compiling NIOPosix IntegerBitPacking.swift
[205/222] Compiling NIOPosix IntegerTypes.swift
[206/222] Compiling NIOPosix Linux.swift
[207/222] Compiling NIOPosix LinuxCPUSet.swift
[208/222] Compiling NIOPosix LinuxUring.swift
[209/222] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[210/222] Compiling NIOPosix NIOThreadPool.swift
[211/222] Compiling NIOPosix NonBlockingFileIO.swift
[212/222] Compiling NIOPosix PendingDatagramWritesManager.swift
[213/222] Compiling NIOPosix PendingWritesManager.swift
[214/222] Compiling NIOPosix PipeChannel.swift
[215/222] Compiling NIOPosix PipePair.swift
[216/222] Compiling NIOPosix Pool.swift
[217/222] Compiling NIOPosix ThreadPosix.swift
[218/222] Compiling NIOPosix ThreadWindows.swift
[219/222] Compiling NIOPosix UnsafeTransfer.swift
[220/222] Compiling NIOPosix Utilities.swift
[221/222] Compiling NIOPosix VsockAddress.swift
[222/222] Compiling NIOPosix VsockChannelEvents.swift
[224/225] Compiling NIO Exports.swift
[225/225] Emitting module NIO
[227/253] Emitting module NIOTLS
[228/253] Compiling NIOTLS TLSEvents.swift
[229/253] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[230/253] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[231/253] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[232/253] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[233/253] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[234/253] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[235/253] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[236/253] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[237/255] Compiling NIOTLS SNIHandler.swift
[238/256] Emitting module NIOFoundationCompat
[239/256] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[242/257] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[243/257] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[244/257] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[245/257] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[246/257] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[247/257] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[248/286] Compiling NIOSSL SSLPrivateKey.swift
[249/286] Compiling NIOSSL AndroidCABundle.swift
[250/286] Compiling NIOSSL NIOSSLClientHandler.swift
[251/286] Compiling NIOSSL NIOSSLHandler+Configuration.swift
[252/286] Compiling NIOSSL SSLContext.swift
[253/286] Compiling NIOSSL LinuxCABundle.swift
[254/286] Compiling NIOSSL NIOSSLServerHandler.swift
[255/286] Compiling NIOSSL ObjectIdentifier.swift
[256/286] Compiling NIOSSL PosixPort.swift
[257/286] Emitting module NIOHTTP1
[259/287] Compiling NIOSSL SSLPublicKey.swift
[260/287] Compiling NIOSSL SecurityFrameworkCertificateVerification.swift
[261/287] Compiling NIOSSL String+unsafeUninitializedCapacity.swift
[262/287] Compiling NIOSSL SubjectAlternativeName.swift
[263/287] Compiling NIOSSL NIOSSLSecureBytes.swift
[264/287] Compiling NIOSSL RNG.swift
[265/287] Compiling NIOSSL SafeCompare.swift
[266/287] Compiling NIOSSL Zeroization.swift
[267/287] Emitting module NIOSSL
[268/318] Compiling NIOWebSocket WebSocketErrorCodes.swift
[269/319] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[270/319] Compiling NIOWebSocket WebSocketOpcode.swift
[271/319] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[272/319] Compiling NIOWebSocket WebSocketFrame.swift
[273/319] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[274/319] Compiling NIOExtras LineBasedFrameDecoder.swift
[275/319] Compiling NIOExtras HTTP1ProxyConnectHandler.swift
[276/319] Compiling NIOExtras RequestResponseHandler.swift
[277/319] Compiling NIOExtras RequestResponseWithIDHandler.swift
[278/321] Emitting module NIOWebSocket
[279/321] Compiling NIOExtras LengthFieldBasedFrameDecoder.swift
[280/321] Compiling NIOExtras LengthFieldPrepender.swift
[281/321] Compiling NIOExtras MarkedCircularBuffer+PopFirstCheckMarked.swift
[282/321] Compiling NIOExtras NIOExtrasError.swift
[283/322] Compiling NIOExtras NIOLengthFieldBitLength.swift
[284/322] Compiling NIOExtras NIORequestIdentifiable.swift
[285/322] Compiling NIOExtras PCAPRingBuffer.swift
[286/322] Compiling NIOExtras QuiescingHelper.swift
[288/322] Compiling NIOExtras UnsafeTransfer.swift
[289/322] Compiling NIOExtras WritePCAPHandler.swift
[290/322] Compiling NIOSSL IdentityVerification.swift
[295/322] Compiling NIOExtras DebugInboundEventsHandler.swift
[296/322] Compiling NIOExtras DebugOutboundEventsHandler.swift
[297/322] Compiling NIOExtras FixedLengthFrameDecoder.swift
[303/322] Compiling NIOExtras JSONRPCFraming+ContentLengthHeader.swift
[304/322] Compiling NIOExtras JSONRPCFraming.swift
[307/322] Compiling NIOSSL TLSConfiguration.swift
[308/322] Compiling NIOSSL UniversalBootstrapSupport.swift
[309/322] Compiling NIOSSL UnsafeKeyAndChainTarget.swift
[311/323] Emitting module NIOExtras
[325/349] Compiling KituraNet SSLConfiguration.swift
/host/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
/host/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
/host/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
/host/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)")
[326/349] Compiling KituraNet ServerOptions.swift
/host/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
/host/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
/host/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
/host/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)")
[327/349] Compiling KituraNet ListenerGroup.swift
/host/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
/host/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
/host/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
/host/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)")
[328/352] Compiling KituraNet ServerLifecycleListener.swift
[329/352] Compiling KituraNet ServerMonitor.swift
[330/352] Compiling KituraNet ServerState.swift
[331/352] Compiling KituraNet SPIUtils.swift
[332/352] Compiling KituraNet Server.swift
[333/352] Compiling KituraNet ServerDelegate.swift
[334/352] Compiling KituraNet ServerRequest.swift
[335/352] Compiling KituraNet ServerResponse.swift
[336/352] Compiling KituraNet URLParser.swift
[337/352] Emitting module KituraNet
/host/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 | }
/host/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 | /**
[338/352] Compiling KituraNet HTTPServerResponse.swift
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:248:17: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
246 | private func sendResponse(channel: Channel, handler: HTTPRequestHandler, status: HTTPResponseStatus, withBody: Bool = true, promise: EventLoopPromise<Void>? = nil) throws {
247 | let response = HTTPResponseHead(version: httpVersion, status: status, headers: headers.nioHeaders)
248 | channel.write(handler.wrapOutboundOut(.head(response)), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
249 | if withBody && buffer.readableBytes > 0 {
250 | channel.write(handler.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:250:21: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
248 | channel.write(handler.wrapOutboundOut(.head(response)), promise: nil)
249 | if withBody && buffer.readableBytes > 0 {
250 | channel.write(handler.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
251 | }
252 |
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:253:17: warning: 'writeAndFlush(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
251 | }
252 |
253 | channel.writeAndFlush(handler.wrapOutboundOut(.end(nil)), promise: promise)
| `- warning: 'writeAndFlush(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
254 | handler.updateKeepAliveState()
255 |
[339/352] Compiling KituraNet HeadersContainer.swift
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:248:17: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
246 | private func sendResponse(channel: Channel, handler: HTTPRequestHandler, status: HTTPResponseStatus, withBody: Bool = true, promise: EventLoopPromise<Void>? = nil) throws {
247 | let response = HTTPResponseHead(version: httpVersion, status: status, headers: headers.nioHeaders)
248 | channel.write(handler.wrapOutboundOut(.head(response)), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
249 | if withBody && buffer.readableBytes > 0 {
250 | channel.write(handler.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:250:21: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
248 | channel.write(handler.wrapOutboundOut(.head(response)), promise: nil)
249 | if withBody && buffer.readableBytes > 0 {
250 | channel.write(handler.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
251 | }
252 |
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:253:17: warning: 'writeAndFlush(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
251 | }
252 |
253 | channel.writeAndFlush(handler.wrapOutboundOut(.end(nil)), promise: promise)
| `- warning: 'writeAndFlush(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
254 | handler.updateKeepAliveState()
255 |
[340/352] Compiling KituraNet KeepAliveState.swift
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:248:17: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
246 | private func sendResponse(channel: Channel, handler: HTTPRequestHandler, status: HTTPResponseStatus, withBody: Bool = true, promise: EventLoopPromise<Void>? = nil) throws {
247 | let response = HTTPResponseHead(version: httpVersion, status: status, headers: headers.nioHeaders)
248 | channel.write(handler.wrapOutboundOut(.head(response)), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
249 | if withBody && buffer.readableBytes > 0 {
250 | channel.write(handler.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:250:21: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
248 | channel.write(handler.wrapOutboundOut(.head(response)), promise: nil)
249 | if withBody && buffer.readableBytes > 0 {
250 | channel.write(handler.wrapOutboundOut(.body(.byteBuffer(buffer))), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
251 | }
252 |
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServerResponse.swift:253:17: warning: 'writeAndFlush(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
251 | }
252 |
253 | channel.writeAndFlush(handler.wrapOutboundOut(.end(nil)), promise: promise)
| `- warning: 'writeAndFlush(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
254 | handler.updateKeepAliveState()
255 |
[341/352] Compiling KituraNet FastCGI.swift
[342/352] Compiling KituraNet FastCGIServer.swift
[343/352] Compiling KituraNet FastCGIServerRequest.swift
[344/352] Compiling KituraNet FastCGIServerResponse.swift
[345/352] Compiling KituraNet BufferList.swift
/host/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 | }
/host/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 |
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:634:17: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
632 |
633 | private func sendRequest(request: HTTPRequestHead, on channel: Channel) {
634 | channel.write(NIOAny(HTTPClientRequestPart.head(request)), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
635 | if let bodyData = bodyData {
636 | let buffer = BufferList()
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:638:21: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
636 | let buffer = BufferList()
637 | buffer.append(data: bodyData)
638 | channel.write(NIOAny(HTTPClientRequestPart.body(.byteBuffer(buffer.byteBuffer))), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
639 | }
640 | _ = channel.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)))
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:640:21: warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
638 | channel.write(NIOAny(HTTPClientRequestPart.body(.byteBuffer(buffer.byteBuffer))), promise: nil)
639 | }
640 | _ = channel.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)))
| `- warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
641 | }
642 |
[346/352] Compiling KituraNet ClientRequest.swift
/host/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 | }
/host/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 |
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:634:17: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
632 |
633 | private func sendRequest(request: HTTPRequestHead, on channel: Channel) {
634 | channel.write(NIOAny(HTTPClientRequestPart.head(request)), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
635 | if let bodyData = bodyData {
636 | let buffer = BufferList()
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:638:21: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
636 | let buffer = BufferList()
637 | buffer.append(data: bodyData)
638 | channel.write(NIOAny(HTTPClientRequestPart.body(.byteBuffer(buffer.byteBuffer))), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
639 | }
640 | _ = channel.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)))
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:640:21: warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
638 | channel.write(NIOAny(HTTPClientRequestPart.body(.byteBuffer(buffer.byteBuffer))), promise: nil)
639 | }
640 | _ = channel.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)))
| `- warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
641 | }
642 |
[347/352] Compiling KituraNet ClientResponse.swift
/host/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 | }
/host/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 |
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:634:17: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
632 |
633 | private func sendRequest(request: HTTPRequestHead, on channel: Channel) {
634 | channel.write(NIOAny(HTTPClientRequestPart.head(request)), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
635 | if let bodyData = bodyData {
636 | let buffer = BufferList()
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:638:21: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
636 | let buffer = BufferList()
637 | buffer.append(data: bodyData)
638 | channel.write(NIOAny(HTTPClientRequestPart.body(.byteBuffer(buffer.byteBuffer))), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
639 | }
640 | _ = channel.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)))
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:640:21: warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
638 | channel.write(NIOAny(HTTPClientRequestPart.body(.byteBuffer(buffer.byteBuffer))), promise: nil)
639 | }
640 | _ = channel.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)))
| `- warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
641 | }
642 |
[348/352] Compiling KituraNet ConnectionUpgrader.swift
/host/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 | }
/host/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 |
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:634:17: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
632 |
633 | private func sendRequest(request: HTTPRequestHead, on channel: Channel) {
634 | channel.write(NIOAny(HTTPClientRequestPart.head(request)), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
635 | if let bodyData = bodyData {
636 | let buffer = BufferList()
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:638:21: warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
636 | let buffer = BufferList()
637 | buffer.append(data: bodyData)
638 | channel.write(NIOAny(HTTPClientRequestPart.body(.byteBuffer(buffer.byteBuffer))), promise: nil)
| `- warning: 'write(_:promise:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
639 | }
640 | _ = channel.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)))
/host/spi-builder-workspace/Sources/KituraNet/ClientRequest.swift:640:21: warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
638 | channel.write(NIOAny(HTTPClientRequestPart.body(.byteBuffer(buffer.byteBuffer))), promise: nil)
639 | }
640 | _ = channel.writeAndFlush(NIOAny(HTTPClientRequestPart.end(nil)))
| `- warning: 'writeAndFlush(_:file:line:)' is deprecated: NIOAny is not Sendable. Avoid wrapping the value in NIOAny to silence this warning.
641 | }
642 |
[349/352] Compiling KituraNet HTTP.swift
/host/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 | /**
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/host/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
[350/352] Compiling KituraNet HTTPRequestHandler.swift
/host/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 | /**
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/host/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
[351/352] Compiling KituraNet HTTPServer.swift
/host/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 | /**
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/host/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
[352/352] Compiling KituraNet HTTPServerRequest.swift
/host/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 | /**
/host/spi-builder-workspace/Sources/KituraNet/HTTP/HTTPServer.swift:357:56: warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
355 | let httpHandler = HTTPRequestHandler(for: self)
356 | let config: NIOHTTPServerUpgradeConfiguration = (upgraders: upgraders, completionHandler: {_ in
357 | _ = channel.pipeline.removeHandler(httpHandler)
| `- warning: type 'HTTPRequestHandler' does not conform to the 'Sendable' protocol
358 | })
359 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config, withErrorHandling: true).flatMap {
/host/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
Build complete! (56.80s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.33.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
},
{
"identity" : "bluesslservice",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.2",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/BlueSSLService.git"
},
{
"identity" : "loggerapi",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Kitura/LoggerAPI.git"
}
],
"manifest_display_name" : "Kitura-NIO",
"name" : "Kitura-NIO",
"path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.