The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SecureSockets, reference master (539e4b), with Swift 6.2 for Linux on 18 Jun 2025 10:13:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Balancingrock/SecureSockets.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 539e4b0 Update Installing OpenSSL.md
Cloned https://github.com/Balancingrock/SecureSockets.git
Revision (git rev-parse @):
539e4b0d49ac885df274ec861797752f20c04b96
SUCCESS checkout https://github.com/Balancingrock/SecureSockets.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Balancingrock/SecureSockets.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Balancingrock/SwifterSockets
[1/1271] Fetching swiftersockets
Fetched https://github.com/Balancingrock/SwifterSockets from cache (0.32s)
Computing version for https://github.com/Balancingrock/SwifterSockets
Computed https://github.com/Balancingrock/SwifterSockets at 1.1.3 (0.70s)
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/20] Compiling CopensslGlue glue.c
[5/20] Compiling SwifterSockets TipInterface.swift
[6/20] Compiling SwifterSockets TipReceiverLoop.swift
[7/20] Emitting module SwifterSockets
[8/20] Compiling SwifterSockets ConnectToTipServer.swift
[9/20] Compiling SwifterSockets Connection.swift
[10/20] Compiling SwifterSockets ConnectionPool.swift
[11/22] Compiling SwifterSockets TipServer.swift
[12/22] Compiling SwifterSockets TipTransfer.swift
[13/22] Compiling SwifterSockets SwifterSocketsUtils.swift
[14/22] Compiling SwifterSockets TipAccept.swift
[15/22] Compiling SwifterSockets ReceiverProtocol.swift
[16/22] Compiling SwifterSockets ServerProtocol.swift
[17/22] Compiling SwifterSockets SetupTipServer.swift
[18/22] Compiling SwifterSockets SwifterSocketsResult.swift
[19/22] Compiling SwifterSockets FileDescriptorMacros.swift
[20/22] Compiling SwifterSockets InterfaceAccess.swift
[21/22] Compiling SwifterSockets TransmitterProtocol.swift
[22/22] Compiling SwifterSockets WaitForSelect.swift
[24/37] Compiling SecureSockets SslError.swift
[25/37] Compiling SecureSockets SslInterface.swift
[26/38] Compiling SecureSockets SslTransfer.swift
[27/38] Compiling SecureSockets SslReceiverLoop.swift
[28/38] Compiling SecureSockets SslServer.swift
[29/38] Compiling SecureSockets Ssl.swift
[30/38] Compiling SecureSockets SslAccept.swift
[31/38] Compiling SecureSockets Pkey.swift
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:240:25: warning: 'RSA_new()' is deprecated [#DeprecatedDeclaration]
238 |         // Create the RSA key pair
239 |
240 |         guard let rsa = RSA_new() else {
    |                         `- warning: 'RSA_new()' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
246 |         // Generate the keys
247 |
248 |         if RSA_generate_key_ex(rsa, length, exp, nil) == 0 {
    |            `- warning: 'RSA_generate_key_ex' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
260 |             return .failure(SecureSocketsError("EVP_PKEY_assign failure\n\(errPrintErrors())"))
261 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[32/38] Compiling SecureSockets SecureSocketsResult.swift
/host/spi-builder-workspace/Sources/SecureSockets/Pkey.swift:240:25: warning: 'RSA_new()' is deprecated [#DeprecatedDeclaration]
238 |         // Create the RSA key pair
239 |
240 |         guard let rsa = RSA_new() else {
    |                         `- warning: 'RSA_new()' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
246 |         // Generate the keys
247 |
248 |         if RSA_generate_key_ex(rsa, length, exp, nil) == 0 {
    |            `- warning: 'RSA_generate_key_ex' is deprecated [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
260 |             return .failure(SecureSocketsError("EVP_PKEY_assign failure\n\(errPrintErrors())"))
261 |         }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[33/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 |     }
[34/38] Emitting module SecureSockets
[35/38] Compiling SecureSockets CertificateAndPrivateKeyFiles.swift
[36/38] Compiling SecureSockets ConnectToSslServer.swift
[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.2 linux