The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VaporRedisClient with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/reswifq/redis-client-vapor.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/reswifq/redis-client-vapor
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 29160f2 Merge branch 'master' of github.com:reswifq/redis-client-vapor
Cloned https://github.com/reswifq/redis-client-vapor.git
Revision (git rev-parse @):
29160f257b412de375396ed7cd725bc1ecab2b54
SUCCESS checkout https://github.com/reswifq/redis-client-vapor.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/reswifq/redis-client-vapor.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/reswifq/redis-client.git
Fetching https://github.com/vapor/redis.git
[1/95] Fetching redis-client
[96/3627] Fetching redis-client, redis
Fetched https://github.com/reswifq/redis-client.git from cache (0.30s)
Fetched https://github.com/vapor/redis.git from cache (0.30s)
Computing version for https://github.com/reswifq/redis-client.git
Computed https://github.com/reswifq/redis-client.git at 1.3.0 (0.44s)
Fetching https://github.com/reswifq/pool.git
[1/69] Fetching pool
Fetched https://github.com/reswifq/pool.git from cache (0.22s)
Computing version for https://github.com/reswifq/pool.git
Computed https://github.com/reswifq/pool.git at 1.3.0 (0.44s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 2.2.0 (0.46s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
[1/148] Fetching random
[149/4359] Fetching random, node
[444/24502] Fetching random, node, core
[1437/27814] Fetching random, node, core, sockets
[3573/28958] Fetching random, node, core, sockets, tls
Fetched https://github.com/vapor/random.git from cache (0.88s)
Fetched https://github.com/vapor/sockets.git from cache (0.88s)
Fetched https://github.com/vapor/tls.git from cache (0.88s)
Fetched https://github.com/vapor/node.git from cache (0.88s)
Fetched https://github.com/vapor/core.git from cache (0.89s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.47s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.46s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.22s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.52s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
Fetched https://github.com/vapor/bits.git from cache (0.22s)
[1/260] Fetching debugging
Fetched https://github.com/vapor/debugging.git from cache (0.25s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.47s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.45s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.46s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.47s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.46s)
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/bits.git
Working copy of https://github.com/vapor/bits.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/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/reswifq/redis-client.git
Working copy of https://github.com/reswifq/redis-client.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 2.2.0
Creating working copy for https://github.com/reswifq/pool.git
Working copy of https://github.com/reswifq/pool.git resolved at 1.3.0
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
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
[14/15] Write swift-version-24593BA9C3E375BF.txt
[16/42] Emitting module PathIndexable
[17/42] Compiling Bits Operators.swift
[18/42] Compiling Bits String+BytesConvertible.swift
[19/42] Emitting module Bits
[20/44] Compiling PathIndexable PathIndexable.swift
[21/44] Emitting module Debugging
[22/44] Compiling Debugging Debuggable.swift
[23/45] Compiling PathIndexable PathIndexable+Subscripting.swift
[26/46] Compiling Bits UnsignedInteger+BytesConvertible.swift
[27/46] Compiling Bits UnsignedInteger+Shifting.swift
[28/46] Compiling Bits Bytes+Base64.swift
[29/46] Compiling Bits Bytes+Hex.swift
[30/46] Emitting module Pool
[31/46] Compiling Pool Pool.swift
[32/46] Compiling Bits Byte+ControlCharacters.swift
[33/46] Compiling Bits Byte+Convenience.swift
[34/46] Compiling Bits Byte+PatternMatching.swift
[35/46] Compiling Bits Aliases.swift
[36/46] Compiling Bits Base64Encoder.swift
[37/46] Compiling Bits Byte+Alphabet.swift
[38/46] Compiling Bits Byte+Random.swift
[39/46] Compiling Bits Byte+UTF8Numbers.swift
[40/46] Compiling Bits ByteSequence+Conversions.swift
[41/46] Compiling Bits Bytes+Percent.swift
[42/46] Compiling Bits BytesConvertible.swift
[43/46] Compiling Bits Data+BytesConvertible.swift
[44/46] Compiling Bits HexEncoder.swift
[45/48] Emitting module libc
[46/48] Compiling libc libc.swift
[50/75] Compiling RedisClient RedisClientResponse.swift
[51/75] Emitting module Core
[52/77] Compiling Core Lock.swift
[53/77] Compiling Core Portal.swift
[54/77] Compiling Core RFC1123.swift
[55/77] Compiling Core String.swift
[56/77] Compiling Core WorkingDirectory.swift
[57/77] Emitting module RedisClient
[58/77] Compiling RedisClient RedisClient.swift
[59/77] Compiling RedisClient RedisClientPool.swift
[60/78] Compiling Core Extendable.swift
[61/78] Compiling Core FileProtocol.swift
[62/78] Compiling Core Int+Hex.swift
[63/78] Compiling Core DispatchTime+Utilities.swift
[64/78] Compiling Core EmptyInitializable.swift
[65/78] Compiling Core Exports.swift
[67/78] Compiling Core Array.swift
[68/78] Compiling Core Bits.swift
[69/78] Compiling Core Cache.swift
[70/78] Compiling Core Collection+Safe.swift
[71/78] Compiling Core DataFile.swift
[72/78] Compiling Core Dispatch.swift
[73/78] Compiling Core Result.swift
[74/78] Compiling Core Semaphore.swift
[75/78] Compiling Core Sequence.swift
[76/78] Compiling Core StaticDataBuffer.swift
[77/78] Compiling Core String+CaseInsensitiveCompare.swift
[78/78] Compiling Core String+Polymorphic.swift
[80/131] Compiling Transport ServerStream.swift
[81/132] Compiling Random URandom.swift
[82/132] Compiling Transport Stream.swift
[83/132] Compiling Transport StreamError.swift
[84/132] Compiling Transport ReadableStream.swift
[85/132] Compiling Transport FoundationStream.swift
[86/132] Compiling Transport WriteableStream.swift
[87/132] Compiling Node Getters.swift
[88/132] Compiling Node Setters.swift
[89/132] Emitting module Transport
[90/132] Compiling Node Bool+Convertible.swift
[91/132] Compiling Node Date+Convertible.swift
[92/132] Compiling Random EmptyInitializable.swift
[93/132] Compiling Random Exports.swift
[94/132] Compiling Random Array+Random.swift
[95/132] Compiling Random OSRandom.swift
[96/132] Emitting module Random
[97/133] Compiling Random RandomProtocol.swift
[100/134] Compiling Node StructuredDataWrapper+Equatable.swift
[101/134] Compiling Node StructuredDataWrapper+Literals.swift
[102/134] Compiling Node StructuredDataWrapper+PathIndexable.swift
[103/134] Compiling Node StructuredDataWrapper+Polymorphic.swift
[104/149] Compiling Sockets FDSet.swift
[105/149] Compiling Sockets Types.swift
[106/149] Compiling Sockets Exports.swift
[107/150] Compiling Sockets Config.swift
[108/150] Compiling Sockets Descriptor.swift
[109/159] Emitting module Node
[110/159] Compiling Sockets Address+C.swift
[111/159] Compiling Sockets Address.swift
[112/159] Compiling Sockets Buffer.swift
[113/159] Compiling Sockets Conversions.swift
[114/159] Compiling Sockets Error.swift
[115/159] Compiling Node StructuredData+PathIndexable.swift
[116/159] Compiling Node StructuredData+Polymorphic.swift
[117/159] Compiling Node StructuredData.swift
[118/159] Compiling Node StructuredDataWrapper+Cases.swift
[119/159] Compiling Node StructuredDataWrapper+Convenience.swift
[120/159] Compiling Sockets TCPReadableSocket.swift
[121/159] Compiling Sockets TCPSocket.swift
[122/161] Emitting module Sockets
[123/161] Compiling Node StructuredDataWrapper.swift
[124/161] Compiling Node Errors.swift
[125/161] Compiling Node Exports.swift
[126/161] Compiling Node Identifier.swift
[127/161] Compiling Sockets RawSocket.swift
[128/161] Compiling Sockets Select.swift
[129/161] Compiling Sockets Socket.swift
[132/161] Compiling Sockets InternetSocket.swift
[133/161] Compiling Sockets Pipe.swift
[134/161] Compiling Sockets SocketOptions.swift
[135/161] Compiling Sockets TCPEstablishedSocket.swift
[136/161] Compiling Sockets TCPInternetSocket.swift
[137/161] Compiling Sockets TCPWriteableSocket.swift
[138/161] Compiling Sockets UDPSocket.swift
[139/161] Compiling Node Number.swift
[140/161] Compiling Node StructuredData+Equatable.swift
[141/161] Compiling Node StructuredData+Init.swift
[164/175] 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>
                                             ^~~
[165/175] 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>
                                             ^~~
[166/176] 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
                    ^
                                     )
[167/176] 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
                    ^
                                     )
[168/176] 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>
                                             ^~~
[169/176] 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>
                                             ^~~
[170/176] Compiling TLS Utilities.swift
[171/176] 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>
                                             ^~~
[172/176] 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)
[173/176] 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() \
          ^
[174/176] 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>
                                             ^~~
[175/176] 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>
                                             ^~~
[176/176] 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>
                                             ^~~
error: fatalError
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/12] 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>
                                             ^~~
[3/13] 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>
                                             ^~~
[4/13] 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>
                                             ^~~
[5/13] Compiling TLS Mode.swift
[6/13] 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>
                                             ^~~
[7/13] 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>
                                             ^~~
[8/13] 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>
                                             ^~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] 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() \
          ^
[10/13] 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>
                                             ^~~
[11/13] 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>
                                             ^~~
[12/13] 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
                    ^
                                     )
[13/13] 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: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2