Build Information
Failed to build Sword, reference master (01185a
), with Swift 6.2 (beta) for Linux on 17 Jun 2025 16:08:36 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.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/Azoy/Sword.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/Azoy/Sword
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 01185a2 Update Doc Link
Cloned https://github.com/Azoy/Sword.git
Revision (git rev-parse @):
01185a232ea9a33f67711550f77a7a8dbca2dc78
SUCCESS checkout https://github.com/Azoy/Sword.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/Azoy/Sword.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.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/engine.git
[1/25467] Fetching engine
Fetched https://github.com/vapor/engine.git from cache (0.87s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (1.34s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/sockets.git
[1/20143] Fetching core
[807/21287] Fetching core, tls
[842/24073] Fetching core, tls, crypto
[1259/27385] Fetching core, tls, crypto, sockets
[2695/27533] Fetching core, tls, crypto, sockets, random
Fetched https://github.com/vapor/random.git from cache (0.42s)
Fetched https://github.com/vapor/sockets.git from cache (0.43s)
Fetched https://github.com/vapor/tls.git from cache (0.43s)
[19102/22929] Fetching core, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.87s)
Fetched https://github.com/vapor/core.git from cache (0.88s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (1.31s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.47s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (1.17s)
Fetched https://github.com/vapor/debugging.git from cache (1.17s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (1.72s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.65s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.49s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.25s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.66s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (1.12s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.73s)
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/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 2.1.3
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/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
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/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
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/15] Write sources
[13/15] Write swift-version-24593BA9C3E375BF.txt
[14/15] Compiling CHTTP http_parser.c
[16/37] Compiling Debugging Debuggable.swift
[17/37] Emitting module Debugging
[19/38] Compiling Bits Operators.swift
[20/38] Compiling Bits String+BytesConvertible.swift
[21/40] Compiling Bits UnsignedInteger+BytesConvertible.swift
[22/40] Compiling Bits UnsignedInteger+Shifting.swift
[23/40] Emitting module libc
[24/40] Compiling libc libc.swift
[26/41] Compiling Bits Bytes+Base64.swift
[27/41] Compiling Bits Bytes+Hex.swift
[28/41] Compiling Bits Data+BytesConvertible.swift
[29/41] Compiling Bits HexEncoder.swift
[30/41] Compiling Bits Aliases.swift
[31/41] Compiling Bits Base64Encoder.swift
[32/41] Compiling Bits Byte+Alphabet.swift
[33/41] Compiling Bits Byte+Random.swift
[34/41] Compiling Bits Byte+UTF8Numbers.swift
[35/41] Compiling Bits ByteSequence+Conversions.swift
[36/41] Emitting module Bits
[37/41] Compiling Bits Byte+ControlCharacters.swift
[38/41] Compiling Bits Byte+Convenience.swift
[39/41] Compiling Bits Byte+PatternMatching.swift
[40/41] Compiling Bits Bytes+Percent.swift
[41/41] Compiling Bits BytesConvertible.swift
[43/64] Compiling Core Extendable.swift
[44/64] Compiling Core FileProtocol.swift
[45/64] Compiling Core Int+Hex.swift
[46/64] Emitting module Core
[47/66] Compiling Core Result.swift
[48/66] Compiling Core Semaphore.swift
[49/66] Compiling Core Sequence.swift
[50/66] Compiling Core DispatchTime+Utilities.swift
[51/66] Compiling Core EmptyInitializable.swift
[52/66] Compiling Core Exports.swift
[53/66] Compiling Core StaticDataBuffer.swift
[54/66] Compiling Core String+CaseInsensitiveCompare.swift
[55/66] Compiling Core String+Polymorphic.swift
[56/66] Compiling Core Array.swift
[57/66] Compiling Core Bits.swift
[58/66] Compiling Core Cache.swift
[59/66] Compiling Core Lock.swift
[60/66] Compiling Core Portal.swift
[61/66] Compiling Core RFC1123.swift
[62/66] Compiling Core Collection+Safe.swift
[63/66] Compiling Core DataFile.swift
[64/66] Compiling Core Dispatch.swift
[65/66] Compiling Core String.swift
[66/66] Compiling Core WorkingDirectory.swift
[68/84] Compiling Transport ServerStream.swift
[69/84] Compiling Transport FoundationStream.swift
[70/85] Compiling Transport ReadableStream.swift
[71/85] Emitting module Random
[72/85] Compiling Random URandom.swift
[73/85] Compiling Transport InternetStream.swift
[74/85] Compiling Transport Port.swift
[75/85] Compiling Transport Exports.swift
[76/85] Compiling Transport ClientStream.swift
[77/85] Emitting module Transport
[78/85] Compiling Transport WriteableStream.swift
[79/85] Compiling Transport Stream.swift
[80/85] Compiling Transport StreamError.swift
[82/86] Compiling Random RandomProtocol.swift
[83/92] Compiling Random Array+Random.swift
[84/96] Compiling Random Exports.swift
[85/97] Compiling Random EmptyInitializable.swift
[86/97] Compiling Random OSRandom.swift
[88/128] Compiling Sockets TCPReadableSocket.swift
[89/128] Compiling Sockets TCPSocket.swift
[90/130] Compiling URI URI+Byte.swift
[91/130] Compiling URI URI+Ports.swift
[92/130] Emitting module URI
[93/130] Compiling URI URI+Modification.swift
[94/130] Compiling URI URI+String.swift
[95/130] Compiling Sockets RawSocket.swift
[96/130] Compiling Sockets Select.swift
[97/130] Compiling Sockets Socket.swift
[98/130] Compiling URI Parser.swift
[99/130] Compiling URI URI.swift
[100/131] Compiling Sockets TCPWriteableSocket.swift
[101/131] Compiling Sockets UDPSocket.swift
[103/131] Compiling Crypto HMAC.swift
[104/131] Compiling Crypto Hash+Method.swift
[105/131] Compiling Crypto Hash.swift
[106/131] Compiling Crypto Hash+Random.swift
[107/131] Compiling Sockets InternetSocket.swift
[108/131] Compiling Sockets Pipe.swift
[109/131] Compiling Sockets SocketOptions.swift
[110/131] Compiling Sockets TCPEstablishedSocket.swift
[111/131] Compiling Sockets TCPInternetSocket.swift
[112/131] Compiling Crypto Exports.swift
[113/131] Compiling Crypto Helpers.swift
[114/131] Compiling Crypto HMAC+Method.swift
[115/131] Emitting module Sockets
[116/131] Compiling Crypto Cipher+Method.swift
[117/131] Compiling Crypto Cipher.swift
[118/131] Compiling Crypto ByteStream.swift
[120/144] Compiling TLS Exports.swift
[121/144] Compiling TLS InternetSocket.swift
[122/144] Compiling TLS Certificates.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
21 | iv: Bytes? = nil
22 | ) throws {
23 | let keyLen = Int(EVP_CIPHER_key_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_key_length' in scope
24 | guard key.count == keyLen else {
25 | throw Error.invalidKeyLength(expected: keyLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
30 |
31 | if let iv = iv {
32 | let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_iv_length' in scope
33 | guard ivLen == iv.count else {
34 | throw Error.invalidInitializationVectorLength(expected: ivLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
87 | ) -> Int32
88 | ) throws -> Bytes {
89 | var ctx = EVP_CIPHER_CTX()
| `- error: cannot find 'EVP_CIPHER_CTX' in scope
90 |
91 | guard initialize(&ctx, method.evp, key, iv) == 1 else {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
133 | #endif
134 |
135 | EVP_CIPHER_CTX_cleanup(&ctx)
| `- error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
136 | }
137 |
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
869 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
870 | # define EVP_CIPHER_CTX_init(c) EVP_CIPHER_CTX_reset(c)
871 | # define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
| `- note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
872 | # endif
873 | EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
[123/144] Compiling TLS ClientSocket.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
21 | iv: Bytes? = nil
22 | ) throws {
23 | let keyLen = Int(EVP_CIPHER_key_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_key_length' in scope
24 | guard key.count == keyLen else {
25 | throw Error.invalidKeyLength(expected: keyLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
30 |
31 | if let iv = iv {
32 | let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
| `- error: cannot find 'EVP_CIPHER_iv_length' in scope
33 | guard ivLen == iv.count else {
34 | throw Error.invalidInitializationVectorLength(expected: ivLen)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
87 | ) -> Int32
88 | ) throws -> Bytes {
89 | var ctx = EVP_CIPHER_CTX()
| `- error: cannot find 'EVP_CIPHER_CTX' in scope
90 |
91 | guard initialize(&ctx, method.evp, key, iv) == 1 else {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
133 | #endif
134 |
135 | EVP_CIPHER_CTX_cleanup(&ctx)
| `- error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
136 | }
137 |
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
869 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
870 | # define EVP_CIPHER_CTX_init(c) EVP_CIPHER_CTX_reset(c)
871 | # define EVP_CIPHER_CTX_cleanup(c) EVP_CIPHER_CTX_reset(c)
| `- note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
872 | # endif
873 | EVP_CIPHER_CTX *EVP_CIPHER_CTX_new(void);
[124/144] Compiling TLS Mode.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
[125/144] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
error: emit-module command failed with exit code 1 (use -v to see invocation)
[126/144] Emitting module Crypto
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
142 |
143 | extension Cipher.Method {
144 | public var evp: UnsafePointer<EVP_CIPHER> {
| `- error: cannot find type 'EVP_CIPHER' in scope
145 | switch self {
146 | case .blowfish(let mode):
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
69 | stream: ByteStream,
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
72 | UnsafePointer<EVP_CIPHER>,
73 | UnsafePointer<UInt8>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
70 | initialize: (
71 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
72 | UnsafePointer<EVP_CIPHER>,
| `- error: cannot find type 'EVP_CIPHER' in scope
73 | UnsafePointer<UInt8>,
74 | UnsafePointer<UInt8>?
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
75 | ) -> Int32,
76 | update: (
77 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
78 | UnsafeMutablePointer<UInt8>,
79 | UnsafeMutablePointer<Int32>,
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
82 | ) -> Int32,
83 | final: (
84 | UnsafeMutablePointer<EVP_CIPHER_CTX>,
| `- error: cannot find type 'EVP_CIPHER_CTX' in scope
85 | UnsafeMutablePointer<UInt8>,
86 | UnsafeMutablePointer<Int32>
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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
[133/146] Compiling TLS Context.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
23 | /// - returns: The authenticated message
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
| `- error: cannot find 'HMAC_CTX' in scope
26 | HMAC_CTX_init(&context)
27 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
26 | HMAC_CTX_init(&context)
| `- error: cannot find 'HMAC_CTX_init' in scope
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:28:22: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
26 | HMAC_CTX_init(&context)
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
29 |
30 | while !stream.closed {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:32:25: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
30 | while !stream.closed {
31 | let bytes = try stream.next()
32 | HMAC_Update(&context, bytes, bytes.count)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
33 | }
34 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:38:20: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
36 | var digest = Bytes(repeating: 0, count: Int(EVP_MAX_MD_SIZE))
37 | var length: UInt32 = 0
38 | HMAC_Final(&context, &digest, &length);
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
39 |
40 | return Array(digest[0..<Int(length)])
[134/146] Compiling TLS Error.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
23 | /// - returns: The authenticated message
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
| `- error: cannot find 'HMAC_CTX' in scope
26 | HMAC_CTX_init(&context)
27 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
24 | public func authenticate(key: Bytes) throws -> Bytes {
25 | var context = HMAC_CTX()
26 | HMAC_CTX_init(&context)
| `- error: cannot find 'HMAC_CTX_init' in scope
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
21 | extension HMAC.Method {
22 | /// The internal EVP pointer.
23 | var evp: UnsafePointer<EVP_MD> {
| `- error: cannot find type 'EVP_MD' in scope
24 | switch self {
25 | case .sha1:
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:28:22: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
26 | HMAC_CTX_init(&context)
27 |
28 | HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
29 |
30 | while !stream.closed {
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:32:25: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
30 | while !stream.closed {
31 | let bytes = try stream.next()
32 | HMAC_Update(&context, bytes, bytes.count)
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
33 | }
34 |
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:38:20: error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
36 | var digest = Bytes(repeating: 0, count: Int(EVP_MAX_MD_SIZE))
37 | var length: UInt32 = 0
38 | HMAC_Final(&context, &digest, &length);
| `- error: cannot convert value of type '_' to expected argument type 'OpaquePointer'
39 |
40 | return Array(digest[0..<Int(length)])
[135/146] Compiling TLS Socket.swift
/host/spi-builder-workspace/.build/checkouts/tls/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
[136/146] Compiling TLS ServerSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/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/.build/checkouts/tls/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
[137/146] Compiling TLS Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/146] Emitting module TLS
/host/spi-builder-workspace/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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,
/host/spi-builder-workspace/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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,
/host/spi-builder-workspace/.build/checkouts/tls/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
[143/146] Compiling TLS WriteableSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/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
BUILD FAILURE 6.2 linux