Build Information
Failed to build SecureSockets, reference 1.1.8 (9ab9b7
), with Swift 6.0 for Linux on 27 Nov 2024 10:11:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Balancingrock/SecureSockets.git
Reference: 1.1.8
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Balancingrock/SecureSockets
* tag 1.1.8 -> FETCH_HEAD
HEAD is now at 9ab9b76 Added iOS and tvOS compatibility
Cloned https://github.com/Balancingrock/SecureSockets.git
Revision (git rev-parse @):
9ab9b7614907421d1d3a87afff0c50bfceff93e8
SUCCESS checkout https://github.com/Balancingrock/SecureSockets.git at 1.1.8
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Balancingrock/SecureSockets.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Balancingrock/SwifterSockets
[1/1271] Fetching swiftersockets
Fetched https://github.com/Balancingrock/SwifterSockets from cache (0.29s)
Computing version for https://github.com/Balancingrock/SwifterSockets
Computed https://github.com/Balancingrock/SwifterSockets at 1.1.3 (0.47s)
Creating working copy for https://github.com/Balancingrock/SwifterSockets
Working copy of https://github.com/Balancingrock/SwifterSockets resolved at 1.1.3
Building for debugging...
[0/4] Write sources
[2/4] Write swift-version-24593BA9C3E375BF.txt
[3/4] Compiling CopensslGlue glue.c
[5/20] Emitting module SwifterSockets
[6/22] Compiling SwifterSockets TransmitterProtocol.swift
[7/22] Compiling SwifterSockets WaitForSelect.swift
[8/22] Compiling SwifterSockets ConnectToTipServer.swift
[9/22] Compiling SwifterSockets Connection.swift
[10/22] Compiling SwifterSockets ConnectionPool.swift
[11/22] Compiling SwifterSockets FileDescriptorMacros.swift
[12/22] Compiling SwifterSockets InterfaceAccess.swift
[13/22] Compiling SwifterSockets TipServer.swift
[14/22] Compiling SwifterSockets TipTransfer.swift
[15/22] Compiling SwifterSockets SwifterSocketsUtils.swift
[16/22] Compiling SwifterSockets TipAccept.swift
[17/22] Compiling SwifterSockets TipInterface.swift
[18/22] Compiling SwifterSockets TipReceiverLoop.swift
[19/22] Compiling SwifterSockets SetupTipServer.swift
[20/22] Compiling SwifterSockets SwifterSocketsResult.swift
[21/22] Compiling SwifterSockets ReceiverProtocol.swift
[22/22] Compiling SwifterSockets ServerProtocol.swift
[24/37] Compiling SecureSockets SslReceiverLoop.swift
/host/spi-builder-workspace/Sources/SecureSockets/SslServer.swift:486:37: warning: capture of 'self' with non-sendable type 'SslServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | /// A secure socket layer server.
139 |
140 | public class SslServer: ServerProtocol {
| `- note: class 'SslServer' does not conform to the 'Sendable' protocol
141 |
142 |
:
484 | [unowned self] in
485 |
486 | ACCEPT_LOOP: while !self._stop {
| `- warning: capture of 'self' with non-sendable type 'SslServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
487 |
488 | switch sslAccept(onSocket: self.socket!, useCtx: self.ctx!, timeout: self.acceptLoopDuration, addressHandler: self.addressHandler, sslSessionHandler: self.sslSessionHandler) {
[25/37] Compiling SecureSockets SslServer.swift
/host/spi-builder-workspace/Sources/SecureSockets/SslServer.swift:486:37: warning: capture of 'self' with non-sendable type 'SslServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
138 | /// A secure socket layer server.
139 |
140 | public class SslServer: ServerProtocol {
| `- note: class 'SslServer' does not conform to the 'Sendable' protocol
141 |
142 |
:
484 | [unowned self] in
485 |
486 | ACCEPT_LOOP: while !self._stop {
| `- warning: capture of 'self' with non-sendable type 'SslServer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
487 |
488 | switch sslAccept(onSocket: self.socket!, useCtx: self.ctx!, timeout: self.acceptLoopDuration, addressHandler: self.addressHandler, sslSessionHandler: self.sslSessionHandler) {
[26/38] Compiling SecureSockets SslTransfer.swift
[27/38] Compiling SecureSockets SslError.swift
/host/spi-builder-workspace/Sources/SecureSockets/SslError.swift:98:17: warning: var 'sslErrorMessages' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | /// Temporary variable used to concatenate error messages
97 |
98 | fileprivate var sslErrorMessages: Array<String> = []
| |- warning: var 'sslErrorMessages' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sslErrorMessages' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sslErrorMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 |
[28/38] Compiling SecureSockets SslInterface.swift
/host/spi-builder-workspace/Sources/SecureSockets/SslError.swift:98:17: warning: var 'sslErrorMessages' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | /// Temporary variable used to concatenate error messages
97 |
98 | fileprivate var sslErrorMessages: Array<String> = []
| |- warning: var 'sslErrorMessages' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sslErrorMessages' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sslErrorMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 |
[29/38] Compiling SecureSockets Ssl.swift
[30/38] Compiling SecureSockets SslAccept.swift
[31/38] Compiling SecureSockets X509.swift
/host/spi-builder-workspace/Sources/SecureSockets/X509.swift:121:17: error: cannot find 'sk_GENERAL_NAMES_num' in scope
119 | // Loop over all names (keep in mind that 'names' is an OpaquePointer)
120 |
121 | let count = sk_GENERAL_NAMES_num(OpaquePointer(names))
| `- error: cannot find 'sk_GENERAL_NAMES_num' in scope
122 | for i in 0 ..< count {
123 |
/usr/include/openssl/x509v3.h:261:9: note: macro 'sk_GENERAL_NAMES_num' unavailable: function like macros not supported
259 |
260 | SKM_DEFINE_STACK_OF_INTERNAL(GENERAL_NAMES, GENERAL_NAMES, GENERAL_NAMES)
261 | #define sk_GENERAL_NAMES_num(sk) OPENSSL_sk_num(ossl_check_const_GENERAL_NAMES_sk_type(sk))
| `- note: macro 'sk_GENERAL_NAMES_num' unavailable: function like macros not supported
262 | #define sk_GENERAL_NAMES_value(sk, idx) ((GENERAL_NAMES *)OPENSSL_sk_value(ossl_check_const_GENERAL_NAMES_sk_type(sk), (idx)))
263 | #define sk_GENERAL_NAMES_new(cmp) ((STACK_OF(GENERAL_NAMES) *)OPENSSL_sk_new(ossl_check_GENERAL_NAMES_compfunc_type(cmp)))
/host/spi-builder-workspace/Sources/SecureSockets/X509.swift:128:21: error: cannot find 'sk_GENERAL_NAME_value' in scope
126 |
127 | //let aName = skGeneralNameValue(names, i)
128 | let aName = sk_GENERAL_NAME_value(OpaquePointer(names), i)
| `- error: cannot find 'sk_GENERAL_NAME_value' in scope
129 |
130 |
/usr/include/openssl/x509v3.h:229:9: note: macro 'sk_GENERAL_NAME_value' unavailable: function like macros not supported
227 | SKM_DEFINE_STACK_OF_INTERNAL(GENERAL_NAME, GENERAL_NAME, GENERAL_NAME)
228 | #define sk_GENERAL_NAME_num(sk) OPENSSL_sk_num(ossl_check_const_GENERAL_NAME_sk_type(sk))
229 | #define sk_GENERAL_NAME_value(sk, idx) ((GENERAL_NAME *)OPENSSL_sk_value(ossl_check_const_GENERAL_NAME_sk_type(sk), (idx)))
| `- note: macro 'sk_GENERAL_NAME_value' unavailable: function like macros not supported
230 | #define sk_GENERAL_NAME_new(cmp) ((STACK_OF(GENERAL_NAME) *)OPENSSL_sk_new(ossl_check_GENERAL_NAME_compfunc_type(cmp)))
231 | #define sk_GENERAL_NAME_new_null() ((STACK_OF(GENERAL_NAME) *)OPENSSL_sk_new_null())
/host/spi-builder-workspace/Sources/SecureSockets/X509.swift:612:16: error: cannot find 'SSL_get_peer_certificate' in scope
610 |
611 | public init?(ssl: Ssl) {
612 | optr = SSL_get_peer_certificate(ssl.optr) // up_ref is implicit
| `- error: cannot find 'SSL_get_peer_certificate' in scope
613 | if optr == nil { return nil }
614 | }
[32/38] Compiling SecureSockets CertificateAndPrivateKeyFiles.swift
[33/38] Compiling SecureSockets ConnectToSslServer.swift
[34/38] Emitting module SecureSockets
/host/spi-builder-workspace/Sources/SecureSockets/SslError.swift:98:17: warning: var 'sslErrorMessages' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | /// Temporary variable used to concatenate error messages
97 |
98 | fileprivate var sslErrorMessages: Array<String> = []
| |- warning: var 'sslErrorMessages' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sslErrorMessages' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sslErrorMessages' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 |
[35/38] Compiling SecureSockets Pkey.swift
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:240:25: warning: 'RSA_new()' is deprecated
238 | // Create the RSA key pair
239 |
240 | guard let rsa = RSA_new() else {
| `- warning: 'RSA_new()' is deprecated
241 | return .failure(SecureSocketsError("Could not create new RSA structure"))
242 | }
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:248:12: warning: 'RSA_generate_key_ex' is deprecated
246 | // Generate the keys
247 |
248 | if RSA_generate_key_ex(rsa, length, exp, nil) == 0 {
| `- warning: 'RSA_generate_key_ex' is deprecated
249 | return .failure(SecureSocketsError("RSA_generate_key_ex failure, error stack = \(SecureSockets.errPrintErrors())"))
250 | }
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:255:12: warning: 'EVP_PKEY_assign' is deprecated
253 | // Assign the key-pair so that the keys can be extracted through PEM
254 |
255 | if EVP_PKEY_assign(optr, EVP_PKEY_RSA, UnsafeMutablePointer(rsa)) == 0 {
| `- warning: 'EVP_PKEY_assign' is deprecated
256 |
257 | // Normally the 'rsa' is freed when the 'pkey' is freed, but the assignment failed, so it seems reasonable to assume that the 'rsa' must be freed manually.
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:259:21: warning: 'RSA_free' is deprecated
257 | // Normally the 'rsa' is freed when the 'pkey' is freed, but the assignment failed, so it seems reasonable to assume that the 'rsa' must be freed manually.
258 | // Since it is extremely unlikely that the assigment fails, this line of code is probably never executed during testing, so beware!
259 | defer { RSA_free(rsa) }
| `- warning: 'RSA_free' is deprecated
260 | return .failure(SecureSocketsError("EVP_PKEY_assign failure\n\(errPrintErrors())"))
261 | }
[36/38] Compiling SecureSockets SecureSocketsResult.swift
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:240:25: warning: 'RSA_new()' is deprecated
238 | // Create the RSA key pair
239 |
240 | guard let rsa = RSA_new() else {
| `- warning: 'RSA_new()' is deprecated
241 | return .failure(SecureSocketsError("Could not create new RSA structure"))
242 | }
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:248:12: warning: 'RSA_generate_key_ex' is deprecated
246 | // Generate the keys
247 |
248 | if RSA_generate_key_ex(rsa, length, exp, nil) == 0 {
| `- warning: 'RSA_generate_key_ex' is deprecated
249 | return .failure(SecureSocketsError("RSA_generate_key_ex failure, error stack = \(SecureSockets.errPrintErrors())"))
250 | }
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:255:12: warning: 'EVP_PKEY_assign' is deprecated
253 | // Assign the key-pair so that the keys can be extracted through PEM
254 |
255 | if EVP_PKEY_assign(optr, EVP_PKEY_RSA, UnsafeMutablePointer(rsa)) == 0 {
| `- warning: 'EVP_PKEY_assign' is deprecated
256 |
257 | // Normally the 'rsa' is freed when the 'pkey' is freed, but the assignment failed, so it seems reasonable to assume that the 'rsa' must be freed manually.
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:259:21: warning: 'RSA_free' is deprecated
257 | // Normally the 'rsa' is freed when the 'pkey' is freed, but the assignment failed, so it seems reasonable to assume that the 'rsa' must be freed manually.
258 | // Since it is extremely unlikely that the assigment fails, this line of code is probably never executed during testing, so beware!
259 | defer { RSA_free(rsa) }
| `- warning: 'RSA_free' is deprecated
260 | return .failure(SecureSocketsError("EVP_PKEY_assign failure\n\(errPrintErrors())"))
261 | }
[37/38] Compiling SecureSockets Ctx.swift
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:35: error: cannot find 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:432:10: note: macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' unavailable: structure not supported
430 | * interoperability with CryptoPro CSP 3.x
431 | */
432 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31)
| `- note: macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' unavailable: structure not supported
433 |
434 | /*
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:65: error: cannot find 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:370:10: note: macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' unavailable: structure not supported
368 | * in SSL_OP_ALL. Added in 0.9.6e
369 | */
370 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11)
| `- note: macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' unavailable: structure not supported
371 | /* DTLS options */
372 | # define SSL_OP_NO_QUERY_MTU SSL_OP_BIT(12)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:102: error: cannot find 'SSL_OP_LEGACY_SERVER_CONNECT' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_LEGACY_SERVER_CONNECT' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:353:10: note: macro 'SSL_OP_LEGACY_SERVER_CONNECT' unavailable: structure not supported
351 | # define SSL_OP_CLEANSE_PLAINTEXT SSL_OP_BIT(1)
352 | /* Allow initial connection to servers that don't support RI */
353 | # define SSL_OP_LEGACY_SERVER_CONNECT SSL_OP_BIT(2)
| `- note: macro 'SSL_OP_LEGACY_SERVER_CONNECT' unavailable: structure not supported
354 | /* Enable support for Kernel TLS */
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:133: error: cannot find 'SSL_OP_TLSEXT_PADDING' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_TLSEXT_PADDING' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:356:10: note: macro 'SSL_OP_TLSEXT_PADDING' unavailable: structure not supported
354 | /* Enable support for Kernel TLS */
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
356 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4)
| `- note: macro 'SSL_OP_TLSEXT_PADDING' unavailable: structure not supported
357 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6)
358 | # define SSL_OP_IGNORE_UNEXPECTED_EOF SSL_OP_BIT(7)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:157: error: cannot find 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:357:10: note: macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' unavailable: structure not supported
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
356 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4)
357 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6)
| `- note: macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' unavailable: structure not supported
358 | # define SSL_OP_IGNORE_UNEXPECTED_EOF SSL_OP_BIT(7)
359 | # define SSL_OP_ALLOW_CLIENT_RENEGOTIATION SSL_OP_BIT(8)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:291:65: error: cannot find 'SSL_OP_NO_SSLv3' in scope
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
292 | }
293 | }
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:291:82: error: cannot convert value of type 'UInt' to expected argument type 'UInt64'
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
| `- error: cannot convert value of type 'UInt' to expected argument type 'UInt64'
292 | }
293 | }
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:35: error: cannot find 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:432:10: note: macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' unavailable: structure not supported
430 | * interoperability with CryptoPro CSP 3.x
431 | */
432 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31)
| `- note: macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' unavailable: structure not supported
433 |
434 | /*
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:65: error: cannot find 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:370:10: note: macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' unavailable: structure not supported
368 | * in SSL_OP_ALL. Added in 0.9.6e
369 | */
370 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11)
| `- note: macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' unavailable: structure not supported
371 | /* DTLS options */
372 | # define SSL_OP_NO_QUERY_MTU SSL_OP_BIT(12)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:102: error: cannot find 'SSL_OP_LEGACY_SERVER_CONNECT' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_LEGACY_SERVER_CONNECT' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:353:10: note: macro 'SSL_OP_LEGACY_SERVER_CONNECT' unavailable: structure not supported
351 | # define SSL_OP_CLEANSE_PLAINTEXT SSL_OP_BIT(1)
352 | /* Allow initial connection to servers that don't support RI */
353 | # define SSL_OP_LEGACY_SERVER_CONNECT SSL_OP_BIT(2)
| `- note: macro 'SSL_OP_LEGACY_SERVER_CONNECT' unavailable: structure not supported
354 | /* Enable support for Kernel TLS */
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:133: error: cannot find 'SSL_OP_TLSEXT_PADDING' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_TLSEXT_PADDING' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:356:10: note: macro 'SSL_OP_TLSEXT_PADDING' unavailable: structure not supported
354 | /* Enable support for Kernel TLS */
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
356 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4)
| `- note: macro 'SSL_OP_TLSEXT_PADDING' unavailable: structure not supported
357 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6)
358 | # define SSL_OP_IGNORE_UNEXPECTED_EOF SSL_OP_BIT(7)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:157: error: cannot find 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:357:10: note: macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' unavailable: structure not supported
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
356 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4)
357 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6)
| `- note: macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' unavailable: structure not supported
358 | # define SSL_OP_IGNORE_UNEXPECTED_EOF SSL_OP_BIT(7)
359 | # define SSL_OP_ALLOW_CLIENT_RENEGOTIATION SSL_OP_BIT(8)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:320:65: error: cannot find 'SSL_OP_NO_SSLv3' in scope
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
321 | }
322 | }
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:320:82: error: cannot convert value of type 'UInt' to expected argument type 'UInt64'
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
| `- error: cannot convert value of type 'UInt' to expected argument type 'UInt64'
321 | }
322 | }
[38/38] Compiling SecureSockets FileEncoding.swift
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:35: error: cannot find 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:432:10: note: macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' unavailable: structure not supported
430 | * interoperability with CryptoPro CSP 3.x
431 | */
432 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31)
| `- note: macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' unavailable: structure not supported
433 |
434 | /*
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:65: error: cannot find 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:370:10: note: macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' unavailable: structure not supported
368 | * in SSL_OP_ALL. Added in 0.9.6e
369 | */
370 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11)
| `- note: macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' unavailable: structure not supported
371 | /* DTLS options */
372 | # define SSL_OP_NO_QUERY_MTU SSL_OP_BIT(12)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:102: error: cannot find 'SSL_OP_LEGACY_SERVER_CONNECT' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_LEGACY_SERVER_CONNECT' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:353:10: note: macro 'SSL_OP_LEGACY_SERVER_CONNECT' unavailable: structure not supported
351 | # define SSL_OP_CLEANSE_PLAINTEXT SSL_OP_BIT(1)
352 | /* Allow initial connection to servers that don't support RI */
353 | # define SSL_OP_LEGACY_SERVER_CONNECT SSL_OP_BIT(2)
| `- note: macro 'SSL_OP_LEGACY_SERVER_CONNECT' unavailable: structure not supported
354 | /* Enable support for Kernel TLS */
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:133: error: cannot find 'SSL_OP_TLSEXT_PADDING' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_TLSEXT_PADDING' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:356:10: note: macro 'SSL_OP_TLSEXT_PADDING' unavailable: structure not supported
354 | /* Enable support for Kernel TLS */
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
356 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4)
| `- note: macro 'SSL_OP_TLSEXT_PADDING' unavailable: structure not supported
357 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6)
358 | # define SSL_OP_IGNORE_UNEXPECTED_EOF SSL_OP_BIT(7)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:289:157: error: cannot find 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' in scope
287 | // Set default options
288 |
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' in scope
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:357:10: note: macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' unavailable: structure not supported
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
356 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4)
357 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6)
| `- note: macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' unavailable: structure not supported
358 | # define SSL_OP_IGNORE_UNEXPECTED_EOF SSL_OP_BIT(7)
359 | # define SSL_OP_ALLOW_CLIENT_RENEGOTIATION SSL_OP_BIT(8)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:291:65: error: cannot find 'SSL_OP_NO_SSLv3' in scope
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
292 | }
293 | }
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:291:82: error: cannot convert value of type 'UInt' to expected argument type 'UInt64'
289 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
290 |
291 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
| `- error: cannot convert value of type 'UInt' to expected argument type 'UInt64'
292 | }
293 | }
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:35: error: cannot find 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:432:10: note: macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' unavailable: structure not supported
430 | * interoperability with CryptoPro CSP 3.x
431 | */
432 | # define SSL_OP_CRYPTOPRO_TLSEXT_BUG SSL_OP_BIT(31)
| `- note: macro 'SSL_OP_CRYPTOPRO_TLSEXT_BUG' unavailable: structure not supported
433 |
434 | /*
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:65: error: cannot find 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:370:10: note: macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' unavailable: structure not supported
368 | * in SSL_OP_ALL. Added in 0.9.6e
369 | */
370 | # define SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS SSL_OP_BIT(11)
| `- note: macro 'SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' unavailable: structure not supported
371 | /* DTLS options */
372 | # define SSL_OP_NO_QUERY_MTU SSL_OP_BIT(12)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:102: error: cannot find 'SSL_OP_LEGACY_SERVER_CONNECT' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_LEGACY_SERVER_CONNECT' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:353:10: note: macro 'SSL_OP_LEGACY_SERVER_CONNECT' unavailable: structure not supported
351 | # define SSL_OP_CLEANSE_PLAINTEXT SSL_OP_BIT(1)
352 | /* Allow initial connection to servers that don't support RI */
353 | # define SSL_OP_LEGACY_SERVER_CONNECT SSL_OP_BIT(2)
| `- note: macro 'SSL_OP_LEGACY_SERVER_CONNECT' unavailable: structure not supported
354 | /* Enable support for Kernel TLS */
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:133: error: cannot find 'SSL_OP_TLSEXT_PADDING' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_TLSEXT_PADDING' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:356:10: note: macro 'SSL_OP_TLSEXT_PADDING' unavailable: structure not supported
354 | /* Enable support for Kernel TLS */
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
356 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4)
| `- note: macro 'SSL_OP_TLSEXT_PADDING' unavailable: structure not supported
357 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6)
358 | # define SSL_OP_IGNORE_UNEXPECTED_EOF SSL_OP_BIT(7)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:318:157: error: cannot find 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' in scope
316 | // Set default options
317 |
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
| `- error: cannot find 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' in scope
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
/usr/include/openssl/ssl.h:357:10: note: macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' unavailable: structure not supported
355 | # define SSL_OP_ENABLE_KTLS SSL_OP_BIT(3)
356 | # define SSL_OP_TLSEXT_PADDING SSL_OP_BIT(4)
357 | # define SSL_OP_SAFARI_ECDHE_ECDSA_BUG SSL_OP_BIT(6)
| `- note: macro 'SSL_OP_SAFARI_ECDHE_ECDSA_BUG' unavailable: structure not supported
358 | # define SSL_OP_IGNORE_UNEXPECTED_EOF SSL_OP_BIT(7)
359 | # define SSL_OP_ALLOW_CLIENT_RENEGOTIATION SSL_OP_BIT(8)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:320:65: error: cannot find 'SSL_OP_NO_SSLv3' in scope
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
321 | }
322 | }
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/Sources/SecureSockets/Ctx.swift:320:82: error: cannot convert value of type 'UInt' to expected argument type 'UInt64'
318 | let sslOpAll: UInt = UInt(SSL_OP_CRYPTOPRO_TLSEXT_BUG + SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + SSL_OP_LEGACY_SERVER_CONNECT + SSL_OP_TLSEXT_PADDING + SSL_OP_SAFARI_ECDHE_ECDSA_BUG)
319 |
320 | SSL_CTX_set_options(optr, (UInt(SSL_OP_NO_SSLv2) + UInt(SSL_OP_NO_SSLv3) + sslOpAll))
| `- error: cannot convert value of type 'UInt' to expected argument type 'UInt64'
321 | }
322 | }
BUILD FAILURE 6.0 linux