The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Sword with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Azoy/Sword.git
Reference: 0.9.2
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
 * tag               0.9.2      -> FETCH_HEAD
HEAD is now at d8097bd Add embed author icon
Cloned https://github.com/Azoy/Sword.git
Revision (git rev-parse @):
d8097bd5b3881d6d4bae4feebf005592f7ffa573
SUCCESS checkout https://github.com/Azoy/Sword.git at 0.9.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Azoy/Sword.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Azoy/zlib-spm.git
Fetching https://github.com/Azoy/Starscream.git
Fetching https://github.com/Azoy/common-crypto-spm.git
Fetching https://github.com/vapor/engine.git
[1/2131] Fetching starscream
[534/2163] Fetching starscream, zlib-spm
[929/27630] Fetching starscream, zlib-spm, engine
[951/27657] Fetching starscream, zlib-spm, engine, common-crypto-spm
Fetched https://github.com/Azoy/zlib-spm.git from cache (0.79s)
Fetched https://github.com/Azoy/common-crypto-spm.git from cache (0.79s)
Fetched https://github.com/Azoy/Starscream.git from cache (0.79s)
Fetched https://github.com/vapor/engine.git from cache (0.81s)
Computing version for https://github.com/vapor/engine.git
Computed https://github.com/vapor/engine.git at 2.2.5 (0.41s)
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/crypto.git
[1/3312] Fetching sockets
[167/6098] Fetching sockets, crypto
[6099/6246] Fetching sockets, crypto, random
[6221/26389] Fetching sockets, crypto, random, core
[9847/27533] Fetching sockets, crypto, random, core, tls
Fetched https://github.com/vapor/crypto.git from cache (0.38s)
[20894/24747] Fetching sockets, random, core, tls
Fetched https://github.com/vapor/random.git from cache (0.80s)
Fetched https://github.com/vapor/tls.git from cache (0.80s)
Fetched https://github.com/vapor/sockets.git from cache (0.80s)
Fetched https://github.com/vapor/core.git from cache (0.81s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.38s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.40s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.26s)
Fetched https://github.com/vapor/debugging.git from cache (0.26s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.40s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.38s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.40s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.23s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 2.1.3 (0.38s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.39s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.39s)
Creating working copy for https://github.com/vapor/engine.git
Working copy of https://github.com/vapor/engine.git resolved at 2.2.5
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
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/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
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/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
Building for debugging...
[0/15] Write sources
[13/15] Compiling CHTTP http_parser.c
[14/15] Write swift-version-24593BA9C3E375BF.txt
[16/37] Emitting module Bits
[17/39] Compiling Bits Byte+ControlCharacters.swift
[18/39] Compiling Bits Byte+Convenience.swift
[19/39] Compiling Bits Byte+PatternMatching.swift
[20/39] Emitting module Debugging
[21/39] Compiling Debugging Debuggable.swift
[22/40] Compiling Bits UnsignedInteger+BytesConvertible.swift
[23/40] Compiling Bits UnsignedInteger+Shifting.swift
[25/40] Compiling Bits Operators.swift
[26/40] Compiling Bits String+BytesConvertible.swift
[27/40] Compiling libc libc.swift
[28/40] Emitting module libc
[30/41] Compiling Bits Bytes+Base64.swift
[31/41] Compiling Bits Bytes+Hex.swift
[32/41] Compiling Bits Aliases.swift
[33/41] Compiling Bits Base64Encoder.swift
[34/41] Compiling Bits Byte+Alphabet.swift
[35/41] Compiling Bits Bytes+Percent.swift
[36/41] Compiling Bits BytesConvertible.swift
[37/41] Compiling Bits Data+BytesConvertible.swift
[38/41] Compiling Bits HexEncoder.swift
[39/41] Compiling Bits Byte+Random.swift
[40/41] Compiling Bits Byte+UTF8Numbers.swift
[41/41] Compiling Bits ByteSequence+Conversions.swift
[43/64] Emitting module Core
[44/66] Compiling Core Array.swift
[45/66] Compiling Core Bits.swift
[46/66] Compiling Core Cache.swift
[47/66] Compiling Core Extendable.swift
[48/66] Compiling Core FileProtocol.swift
[49/66] Compiling Core Int+Hex.swift
[50/66] Compiling Core Collection+Safe.swift
[51/66] Compiling Core DataFile.swift
[52/66] Compiling Core Dispatch.swift
[53/66] Compiling Core Result.swift
[54/66] Compiling Core Semaphore.swift
[55/66] Compiling Core Sequence.swift
[56/66] Compiling Core DispatchTime+Utilities.swift
[57/66] Compiling Core EmptyInitializable.swift
[58/66] Compiling Core Exports.swift
[59/66] Compiling Core Lock.swift
[60/66] Compiling Core Portal.swift
[61/66] Compiling Core RFC1123.swift
[62/66] Compiling Core String.swift
[63/66] Compiling Core WorkingDirectory.swift
[64/66] Compiling Core StaticDataBuffer.swift
[65/66] Compiling Core String+CaseInsensitiveCompare.swift
[66/66] Compiling Core String+Polymorphic.swift
[68/84] Emitting module Transport
[69/84] Compiling Random EmptyInitializable.swift
[70/84] Compiling Transport FoundationStream.swift
[71/85] Emitting module Random
[72/85] Compiling Random Array+Random.swift
[73/85] Compiling Random Exports.swift
[74/85] Compiling Random OSRandom.swift
[75/85] Compiling Transport StreamError.swift
[76/85] Compiling Transport Stream.swift
[77/85] Compiling Random RandomProtocol.swift
[78/85] Compiling Random URandom.swift
[79/86] Compiling Transport ServerStream.swift
[80/86] Compiling Transport ReadableStream.swift
[81/86] Compiling Transport Exports.swift
[82/86] Compiling Transport ClientStream.swift
[83/86] Compiling Transport InternetStream.swift
[84/86] Compiling Transport Port.swift
[86/86] Compiling Transport WriteableStream.swift
[88/128] Emitting module URI
[89/128] Compiling URI URI+Byte.swift
[90/128] Compiling URI URI+Modification.swift
[91/128] Compiling Sockets TCPReadableSocket.swift
[92/128] Compiling Sockets TCPSocket.swift
[93/130] Compiling Sockets Types.swift
[94/130] Compiling Sockets Exports.swift
[95/130] Compiling Sockets Config.swift
[96/130] Compiling URI URI.swift
[97/130] Compiling URI Parser.swift
[98/130] Compiling URI URI+String.swift
[99/130] Compiling URI URI+Ports.swift
[101/131] Compiling Sockets Descriptor.swift
[102/131] Compiling Sockets InternetSocket.swift
[103/131] Compiling Sockets Pipe.swift
[104/131] Emitting module Sockets
[105/131] Compiling Sockets RawSocket.swift
[106/131] Compiling Sockets Select.swift
[107/131] Compiling Sockets Socket.swift
[108/131] Compiling Sockets SocketOptions.swift
[109/131] Compiling Sockets TCPEstablishedSocket.swift
[110/131] Compiling Sockets TCPInternetSocket.swift
[111/131] Compiling Sockets Address+C.swift
[112/131] Compiling Sockets Address.swift
[113/131] Compiling Sockets Buffer.swift
[114/131] Compiling Sockets Conversions.swift
[115/131] Compiling Sockets Error.swift
[116/131] Compiling Sockets FDSet.swift
[117/131] Compiling Sockets TCPWriteableSocket.swift
[118/131] Compiling Sockets UDPSocket.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[121/132] 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
    public var evp: UnsafePointer<EVP_CIPHER> {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
            UnsafePointer<EVP_CIPHER>,
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
    var evp: UnsafePointer<EVP_MD> {
                           ^~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
    public var evp: UnsafePointer<EVP_CIPHER> {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
            UnsafePointer<EVP_CIPHER>,
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
        let keyLen = Int(EVP_CIPHER_key_length(method.evp))
                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
            let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
                            ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
        var ctx = EVP_CIPHER_CTX()
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
            EVP_CIPHER_CTX_cleanup(&ctx)
            ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
#  define EVP_CIPHER_CTX_cleanup(c)   EVP_CIPHER_CTX_reset(c)
          ^
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
    public var evp: UnsafePointer<EVP_CIPHER> {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
            UnsafePointer<EVP_CIPHER>,
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
        let keyLen = Int(EVP_CIPHER_key_length(method.evp))
                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
            let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
                            ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
        var ctx = EVP_CIPHER_CTX()
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
            EVP_CIPHER_CTX_cleanup(&ctx)
            ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
#  define EVP_CIPHER_CTX_cleanup(c)   EVP_CIPHER_CTX_reset(c)
          ^
[125/133] Compiling Crypto PseudoRandom.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
        var context = HMAC_CTX()
                      ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
        HMAC_CTX_init(&context)
        ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
    var evp: UnsafePointer<EVP_MD> {
                           ^~~~~~
/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?'
        HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
                     ^
/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?'
            HMAC_Update(&context, bytes, bytes.count)
                        ^
/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?'
        HMAC_Final(&context, &digest, &length);
                   ^
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
        var context = HMAC_CTX()
                      ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
        HMAC_CTX_init(&context)
        ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
    var evp: UnsafePointer<EVP_MD> {
                           ^~~~~~
/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?'
        HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
                     ^
/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?'
            HMAC_Update(&context, bytes, bytes.count)
                        ^
/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?'
        HMAC_Final(&context, &digest, &length);
                   ^
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
    var evp: UnsafePointer<EVP_MD> {
                           ^~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
    var evp: UnsafePointer<EVP_MD> {
                           ^~~~~~
[132/133] Compiling Crypto LibreSSLError.swift
[133/145] Compiling Crypto Random.swift
error: fatalError
[134/145] Compiling TLS Exports.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[135/145] Compiling TLS InternetSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[136/145] Compiling TLS Mode.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[137/145] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling TLS Exports.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[3/19] Compiling TLS InternetSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[4/19] Compiling TLS Mode.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[5/19] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[6/21] 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
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[7/21] Compiling TLS Socket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[8/21] Compiling TLS Utilities.swift
[9/21] Compiling TLS WriteableSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[10/21] Compiling Crypto HMAC.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:25:23: error: cannot find 'HMAC_CTX' in scope
        var context = HMAC_CTX()
                      ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC.swift:26:9: error: cannot find 'HMAC_CTX_init' in scope
        HMAC_CTX_init(&context)
        ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
    var evp: UnsafePointer<EVP_MD> {
                           ^~~~~~
/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?'
        HMAC_Init_ex(&context, key, Int32(key.count), method.evp, nil)
                     ^
/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?'
            HMAC_Update(&context, bytes, bytes.count)
                        ^
/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?'
        HMAC_Final(&context, &digest, &length);
                   ^
[11/21] Compiling Crypto HMAC+Method.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
    var evp: UnsafePointer<EVP_MD> {
                           ^~~~~~
[12/21] Compiling Crypto Hash+Method.swift
[13/23] Compiling TLS Certificates.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
[14/23] Compiling TLS ClientSocket.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/23] Emitting module TLS
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
        SSL_library_init()
        ^~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
#  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
          ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
        SSL_load_error_strings()
        ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
#  define SSL_load_error_strings() \
          ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
        OPENSSL_add_all_algorithms_conf()
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
#  define OPENSSL_add_all_algorithms_conf() \
          ^
[16/23] Compiling TLS Context.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
        SSL_library_init()
        ^~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
#  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
          ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
        SSL_load_error_strings()
        ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
#  define SSL_load_error_strings() \
          ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
        OPENSSL_add_all_algorithms_conf()
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
#  define OPENSSL_add_all_algorithms_conf() \
          ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
            method = SSLv23_server_method()
                     ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
            method = SSLv23_client_method()
                     ^~~~~~~~~~~~~~~~~~~~
/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'
        SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
                                         ^
                                         Int(               )
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
                SSL_CTRL_OPTIONS,
                ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
                    | SSL_OP_NO_SSLv3
                      ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
# define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
         ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
                    | SSL_OP_NO_COMPRESSION,
                      ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
# define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
         ^
/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'
                SSL_OP_NO_SSLv2
                ^
                Int(           )
/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'
                    | SSL_OP_NO_SSLv3
                    ^
                                     )
[17/23] Compiling TLS Error.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
                                             ^~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
        SSL_library_init()
        ^~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
#  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
          ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
        SSL_load_error_strings()
        ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
#  define SSL_load_error_strings() \
          ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
        OPENSSL_add_all_algorithms_conf()
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
#  define OPENSSL_add_all_algorithms_conf() \
          ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
            method = SSLv23_server_method()
                     ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
            method = SSLv23_client_method()
                     ^~~~~~~~~~~~~~~~~~~~
/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'
        SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
                                         ^
                                         Int(               )
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
                SSL_CTRL_OPTIONS,
                ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
                    | SSL_OP_NO_SSLv3
                      ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
# define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
         ^
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
                    | SSL_OP_NO_COMPRESSION,
                      ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
# define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
         ^
/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'
                SSL_OP_NO_SSLv2
                ^
                Int(           )
/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'
                    | SSL_OP_NO_SSLv3
                    ^
                                     )
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/23] 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
    public var evp: UnsafePointer<EVP_CIPHER> {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
            UnsafePointer<EVP_CIPHER>,
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/HMAC/HMAC+Method.swift:23:28: error: cannot find type 'EVP_MD' in scope
    var evp: UnsafePointer<EVP_MD> {
                           ^~~~~~
[19/23] Compiling Crypto Cipher+Method.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
    public var evp: UnsafePointer<EVP_CIPHER> {
                                  ^~~~~~~~~~
[20/23] Compiling Crypto Helpers.swift
[21/23] Compiling Crypto Cipher.swift
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:71:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:72:27: error: cannot find type 'EVP_CIPHER' in scope
            UnsafePointer<EVP_CIPHER>,
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:77:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:84:34: error: cannot find type 'EVP_CIPHER_CTX' in scope
            UnsafeMutablePointer<EVP_CIPHER_CTX>,
                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:23:26: error: cannot find 'EVP_CIPHER_key_length' in scope
        let keyLen = Int(EVP_CIPHER_key_length(method.evp))
                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher+Method.swift:144:35: error: cannot find type 'EVP_CIPHER' in scope
    public var evp: UnsafePointer<EVP_CIPHER> {
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:32:29: error: cannot find 'EVP_CIPHER_iv_length' in scope
            let ivLen = Int(EVP_CIPHER_iv_length(method.evp))
                            ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:89:19: error: cannot find 'EVP_CIPHER_CTX' in scope
        var ctx = EVP_CIPHER_CTX()
                  ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/crypto/Sources/Crypto/Cipher/Cipher.swift:135:13: error: cannot find 'EVP_CIPHER_CTX_cleanup' in scope
            EVP_CIPHER_CTX_cleanup(&ctx)
            ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:871:11: note: macro 'EVP_CIPHER_CTX_cleanup' unavailable: function like macros not supported
#  define EVP_CIPHER_CTX_cleanup(c)   EVP_CIPHER_CTX_reset(c)
          ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1