The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TLS, reference 2.1.3 (a5981b), with Swift 6.2 for Linux on 18 Jun 2025 06:24:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/vapor-community/tls.git
Reference: 2.1.3
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/vapor-community/tls
 * tag               2.1.3      -> FETCH_HEAD
HEAD is now at a5981b0 Merge pull request #71 from vapor-community/warnings-real
Cloned https://github.com/vapor-community/tls.git
Revision (git rev-parse @):
a5981b0a370f227521330beb92b7ce6d636a1eb2
SUCCESS checkout https://github.com/vapor-community/tls.git at 2.1.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vapor-community/tls.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/vapor/ctls.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/sockets.git
[1/71] Fetching ctls
[72/3383] Fetching ctls, sockets
[2457/23526] Fetching ctls, sockets, core
Fetched https://github.com/vapor/ctls.git from cache (1.03s)
Fetched https://github.com/vapor/sockets.git from cache (1.03s)
Fetched https://github.com/vapor/core.git from cache (1.04s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (1.83s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.39s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.22s)
Fetched https://github.com/vapor/debugging.git from cache (0.22s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.61s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.93s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.42s)
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/30] Emitting module libc
[10/30] Compiling Bits Operators.swift
[11/30] Compiling Bits String+BytesConvertible.swift
[12/32] Emitting module Debugging
[13/32] Compiling Debugging Debuggable.swift
[15/33] Compiling Bits UnsignedInteger+BytesConvertible.swift
[16/33] Compiling Bits UnsignedInteger+Shifting.swift
[17/33] Compiling libc libc.swift
[19/34] Compiling Bits Data+BytesConvertible.swift
[20/34] Compiling Bits HexEncoder.swift
[21/34] Compiling Bits Bytes+Base64.swift
[22/34] Compiling Bits Bytes+Hex.swift
[23/34] Compiling Bits Byte+Random.swift
[24/34] Compiling Bits Byte+UTF8Numbers.swift
[25/34] Compiling Bits ByteSequence+Conversions.swift
[26/34] Compiling Bits Aliases.swift
[27/34] Compiling Bits Base64Encoder.swift
[28/34] Compiling Bits Byte+Alphabet.swift
[29/34] Compiling Bits Byte+ControlCharacters.swift
[30/34] Compiling Bits Byte+Convenience.swift
[31/34] Compiling Bits Byte+PatternMatching.swift
[32/34] Emitting module Bits
[33/34] Compiling Bits Bytes+Percent.swift
[34/34] Compiling Bits BytesConvertible.swift
[36/57] Compiling Core DispatchTime+Utilities.swift
[37/57] Compiling Core EmptyInitializable.swift
[38/57] Compiling Core Exports.swift
[39/59] Compiling Core Result.swift
[40/59] Compiling Core Semaphore.swift
[41/59] Compiling Core Sequence.swift
[42/59] Compiling Core Lock.swift
[43/59] Compiling Core Portal.swift
[44/59] Compiling Core RFC1123.swift
[45/59] Compiling Core Collection+Safe.swift
[46/59] Compiling Core DataFile.swift
[47/59] Compiling Core Dispatch.swift
[48/59] Emitting module Core
[49/59] Compiling Core Array.swift
[50/59] Compiling Core Bits.swift
[51/59] Compiling Core Cache.swift
[52/59] Compiling Core Extendable.swift
[53/59] Compiling Core FileProtocol.swift
[54/59] Compiling Core Int+Hex.swift
[55/59] Compiling Core StaticDataBuffer.swift
[56/59] Compiling Core String+CaseInsensitiveCompare.swift
[57/59] Compiling Core String+Polymorphic.swift
[58/59] Compiling Core String.swift
[59/59] Compiling Core WorkingDirectory.swift
[61/70] Compiling Transport Stream.swift
[62/71] Compiling Transport StreamError.swift
[63/71] Compiling Transport ReadableStream.swift
[64/71] Compiling Transport WriteableStream.swift
[65/71] Compiling Transport FoundationStream.swift
[66/71] Compiling Transport ServerStream.swift
[67/71] Compiling Transport Exports.swift
[68/71] Compiling Transport ClientStream.swift
[69/71] Emitting module Transport
[70/71] Compiling Transport InternetStream.swift
[71/71] Compiling Transport Port.swift
[73/93] Emitting module Sockets
[74/95] Compiling Sockets RawSocket.swift
[75/95] Compiling Sockets Select.swift
[76/95] Compiling Sockets Socket.swift
[77/95] Compiling Sockets TCPReadableSocket.swift
[78/95] Compiling Sockets TCPSocket.swift
[79/95] Compiling Sockets Descriptor.swift
[80/95] Compiling Sockets InternetSocket.swift
[81/95] Compiling Sockets Pipe.swift
[82/95] Compiling Sockets SocketOptions.swift
[83/95] Compiling Sockets TCPEstablishedSocket.swift
[84/95] Compiling Sockets TCPInternetSocket.swift
[85/95] Compiling Sockets Conversions.swift
[86/95] Compiling Sockets Error.swift
[87/95] Compiling Sockets FDSet.swift
[88/95] Compiling Sockets Types.swift
[89/95] Compiling Sockets Exports.swift
[90/95] Compiling Sockets Config.swift
[91/95] Compiling Sockets TCPWriteableSocket.swift
[92/95] Compiling Sockets UDPSocket.swift
[93/95] Compiling Sockets Address+C.swift
[94/95] Compiling Sockets Address.swift
[95/95] Compiling Sockets Buffer.swift
[97/108] Compiling TLS Utilities.swift
[98/109] Compiling TLS Socket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[99/109] Compiling TLS ServerSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[100/109] Compiling TLS WriteableSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[101/109] Compiling TLS Exports.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[102/109] Compiling TLS InternetSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[103/109] Compiling TLS Mode.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[104/109] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
error: emit-module command failed with exit code 1 (use -v to see invocation)
[105/109] Emitting module TLS
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
[106/109] Compiling TLS Certificates.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[107/109] Compiling TLS ClientSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[108/109] Compiling TLS Context.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
/host/spi-builder-workspace/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
 48 |         switch mode {
 49 |         case .server:
 50 |             method = SSLv23_server_method()
    |                      `- error: cannot find 'SSLv23_server_method' in scope
 51 |         case .client:
 52 |             method = SSLv23_client_method()
/host/spi-builder-workspace/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
 50 |             method = SSLv23_server_method()
 51 |         case .client:
 52 |             method = SSLv23_client_method()
    |                      `- error: cannot find 'SSLv23_client_method' in scope
 53 |         }
 54 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:63:42: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 61 |         }
 62 |
 63 |         SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
    |                                          `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 64 |
 65 |         if mode == .client {
/host/spi-builder-workspace/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
 66 |             SSL_CTX_ctrl(
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
    |                 `- error: cannot find 'SSL_CTRL_OPTIONS' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
/host/spi-builder-workspace/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                       `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/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/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
    |                       `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 72 |                 nil
 73 |             )
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/Sources/TLS/Context.swift:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                     `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/host/spi-builder-workspace/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
    |                 `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
[109/109] Compiling TLS Error.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
  3 | import Dispatch
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
    |                                                  `- error: cannot find type 'SSL_CTX' in scope
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
  4 |
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
    |                                          `- error: cannot find type 'SSL_METHOD' in scope
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
  8 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
/host/spi-builder-workspace/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
 18 |     /// https://stackoverflow.com/a/37887068/2611971
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
    |         `- error: cannot find 'SSL_library_init' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | #  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
     |           `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
 19 |     private static let isGloballyInitialized: Bool = {
 20 |         SSL_library_init()
 21 |         SSL_load_error_strings()
    |         `- error: cannot find 'SSL_load_error_strings' in scope
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | #  define SSL_load_error_strings() \
     |           `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 |     OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 |                      | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 21 |         SSL_load_error_strings()
 22 |         OPENSSL_config(nil)
 23 |         OPENSSL_add_all_algorithms_conf()
    |         `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
 24 |         return true
 25 |     }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | #  define OPENSSL_add_all_algorithms_conf() \
     |           `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 |     OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 |                         | OPENSSL_INIT_ADD_ALL_DIGESTS \
/host/spi-builder-workspace/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
 48 |         switch mode {
 49 |         case .server:
 50 |             method = SSLv23_server_method()
    |                      `- error: cannot find 'SSLv23_server_method' in scope
 51 |         case .client:
 52 |             method = SSLv23_client_method()
/host/spi-builder-workspace/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
 50 |             method = SSLv23_server_method()
 51 |         case .client:
 52 |             method = SSLv23_client_method()
    |                      `- error: cannot find 'SSLv23_client_method' in scope
 53 |         }
 54 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:63:42: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 61 |         }
 62 |
 63 |         SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
    |                                          `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
 64 |
 65 |         if mode == .client {
/host/spi-builder-workspace/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
 66 |             SSL_CTX_ctrl(
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
    |                 `- error: cannot find 'SSL_CTRL_OPTIONS' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
/host/spi-builder-workspace/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                       `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/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/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
    |                       `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
 72 |                 nil
 73 |             )
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION   SSL_OP_BIT(16)
 386 |     /* Don't use compression even if supported */
 387 | # define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
     |          `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
 388 |     /* Permit unsafe legacy renegotiation */
 389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION        SSL_OP_BIT(18)
/host/spi-builder-workspace/Sources/TLS/Context.swift:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
 70 |                     | SSL_OP_NO_SSLv3
    |                     `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 71 |                     | SSL_OP_NO_COMPRESSION,
 72 |                 nil
/host/spi-builder-workspace/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
 67 |                 ctx,
 68 |                 SSL_CTRL_OPTIONS,
 69 |                 SSL_OP_NO_SSLv2
    |                 `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
 70 |                     | SSL_OP_NO_SSLv3
 71 |                     | SSL_OP_NO_COMPRESSION,
BUILD FAILURE 6.2 linux