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-0":/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: 1.2.0
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
 * tag               1.2.0      -> FETCH_HEAD
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 1.2.0
========================================
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-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/redis.git
Fetching https://github.com/reswifq/redis-client.git
[1/3532] Fetching redis
[531/3627] Fetching redis, redis-client
Fetched https://github.com/reswifq/redis-client.git from cache (0.29s)
Fetched https://github.com/vapor/redis.git from cache (0.33s)
Computing version for https://github.com/reswifq/redis-client.git
Computed https://github.com/reswifq/redis-client.git at 1.3.0 (0.48s)
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.45s)
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/random.git
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
[1/4211] Fetching node
[591/4359] Fetching node, random
[4360/7671] Fetching node, random, sockets
[4427/8815] Fetching node, random, sockets, tls
[4563/28958] Fetching node, random, sockets, tls, core
Fetched https://github.com/vapor/sockets.git from cache (0.94s)
Fetched https://github.com/vapor/random.git from cache (0.94s)
Fetched https://github.com/vapor/tls.git from cache (0.95s)
Fetched https://github.com/vapor/node.git from cache (0.95s)
Fetched https://github.com/vapor/core.git from cache (0.96s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.46s)
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.46s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.24s)
Fetched https://github.com/vapor/debugging.git from cache (0.24s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.45s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.57s)
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.62s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.52s)
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.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/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/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/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
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/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
[14/15] Write swift-version-24593BA9C3E375BF.txt
[16/42] Emitting module PathIndexable
[17/42] Emitting module Debugging
[18/42] Compiling Bits Operators.swift
[19/42] Compiling Bits String+BytesConvertible.swift
[20/44] Compiling PathIndexable PathIndexable+Subscripting.swift
[21/44] Compiling PathIndexable PathIndexable.swift
[22/44] Compiling Debugging Debuggable.swift
[23/46] Emitting module Bits
[26/46] Compiling Bits UnsignedInteger+BytesConvertible.swift
[27/46] Compiling Bits UnsignedInteger+Shifting.swift
[28/46] Emitting module libc
[29/46] Compiling libc libc.swift
[30/47] Compiling Bits Bytes+Percent.swift
[31/47] Compiling Bits BytesConvertible.swift
[32/47] Compiling Bits Bytes+Base64.swift
[33/47] Compiling Bits Bytes+Hex.swift
[34/47] Compiling Bits Byte+ControlCharacters.swift
[35/47] Compiling Bits Byte+Convenience.swift
[36/47] Compiling Bits Byte+PatternMatching.swift
[38/47] Compiling Bits Data+BytesConvertible.swift
[39/47] Compiling Bits HexEncoder.swift
[40/47] Compiling Pool Pool.swift
[41/47] Compiling Bits Byte+Random.swift
[42/47] Compiling Bits Byte+UTF8Numbers.swift
[43/47] Compiling Bits ByteSequence+Conversions.swift
[44/47] Compiling Bits Aliases.swift
[45/47] Compiling Bits Base64Encoder.swift
[46/47] Compiling Bits Byte+Alphabet.swift
[47/47] Emitting module Pool
[50/75] Compiling RedisClient RedisClientResponse.swift
[51/75] Compiling RedisClient RedisClientPool.swift
[52/75] Emitting module Core
[53/77] Compiling Core Result.swift
[54/77] Compiling Core Semaphore.swift
[55/77] Compiling Core Sequence.swift
[56/77] Compiling Core DispatchTime+Utilities.swift
[57/77] Compiling Core EmptyInitializable.swift
[58/77] Compiling Core Exports.swift
[59/77] Compiling Core Extendable.swift
[60/77] Compiling Core FileProtocol.swift
[61/77] Compiling Core Int+Hex.swift
[62/77] Compiling Core Lock.swift
[63/77] Compiling Core Portal.swift
[64/77] Compiling Core RFC1123.swift
[65/77] Compiling Core String.swift
[66/77] Compiling Core WorkingDirectory.swift
[67/77] Emitting module RedisClient
[68/77] Compiling RedisClient RedisClient.swift
[69/78] Compiling Core Collection+Safe.swift
[70/78] Compiling Core DataFile.swift
[71/78] Compiling Core Dispatch.swift
[72/78] Compiling Core Array.swift
[73/78] Compiling Core Bits.swift
[74/78] Compiling Core Cache.swift
[75/78] Compiling Core StaticDataBuffer.swift
[76/78] Compiling Core String+CaseInsensitiveCompare.swift
[77/78] Compiling Core String+Polymorphic.swift
[80/131] Compiling Transport ServerStream.swift
[81/132] Compiling Random EmptyInitializable.swift
[82/132] Compiling Transport Stream.swift
[83/132] Compiling Transport FoundationStream.swift
[84/132] Compiling Random OSRandom.swift
[85/132] Compiling Transport StreamError.swift
[86/132] Compiling Node Bool+Convertible.swift
[87/132] Compiling Node Date+Convertible.swift
[88/132] Compiling Node Getters.swift
[89/132] Compiling Node Setters.swift
[90/132] Emitting module Transport
[91/132] Compiling Transport ReadableStream.swift
[92/132] Emitting module Node
[93/136] Compiling Random Array+Random.swift
[94/136] Emitting module Random
[95/136] Compiling Random URandom.swift
[96/136] Compiling Random Exports.swift
[97/136] Compiling Random RandomProtocol.swift
[98/137] Compiling Node StructuredDataWrapper+Equatable.swift
[99/137] Compiling Node StructuredDataWrapper+Literals.swift
[100/137] Compiling Node StructuredDataWrapper+PathIndexable.swift
[101/137] Compiling Node StructuredDataWrapper+Polymorphic.swift
[102/137] Compiling Transport WriteableStream.swift
[105/138] Compiling Node Integer+Convertible.swift
[106/138] Compiling Node Schema+Convertible.swift
[107/138] Compiling Node SchemaWrapper+Convertible.swift
[108/138] Compiling Node String+Convertible.swift
[109/138] Compiling Node UUID+Convertible.swift
[110/138] Compiling Node UnsignedInteger+Convertible.swift
[111/138] Compiling Node Context.swift
[112/138] Compiling Node Node.swift
[113/138] Compiling Node NodeConvertible.swift
[114/138] Compiling Node NodeInitializable.swift
[115/159] Compiling Sockets Address+C.swift
[116/159] Compiling Sockets Address.swift
[117/159] Compiling Sockets Buffer.swift
[118/159] Compiling Sockets SocketOptions.swift
[119/159] Compiling Sockets TCPEstablishedSocket.swift
[120/159] Compiling Node StructuredDataWrapper.swift
[121/159] Compiling Node Errors.swift
[122/159] Compiling Node Exports.swift
[123/159] Compiling Node Identifier.swift
[124/159] Compiling Node StructuredData+PathIndexable.swift
[125/159] Compiling Node StructuredData+Polymorphic.swift
[126/159] Compiling Node StructuredData.swift
[127/159] Compiling Node StructuredDataWrapper+Cases.swift
[128/159] Compiling Node StructuredDataWrapper+Convenience.swift
[129/159] Compiling Sockets Exports.swift
[130/159] Compiling Sockets Config.swift
[131/159] Compiling Sockets Descriptor.swift
[132/159] Compiling Sockets InternetSocket.swift
[133/159] Compiling Sockets Pipe.swift
[134/159] Compiling Node Optional+Convertible.swift
[135/159] Compiling Node Set+Convertible.swift
[136/159] Compiling Node Number.swift
[137/159] Compiling Node StructuredData+Equatable.swift
[138/159] Compiling Node StructuredData+Init.swift
[139/160] Emitting module Sockets
[141/162] Compiling Sockets RawSocket.swift
[142/162] Compiling Sockets Select.swift
[143/162] Compiling Sockets Socket.swift
[147/162] Compiling Sockets TCPReadableSocket.swift
[148/162] Compiling Sockets TCPSocket.swift
[154/162] Compiling Sockets TCPInternetSocket.swift
[155/162] Compiling Sockets Types.swift
[158/162] Compiling Sockets Conversions.swift
[159/162] Compiling Sockets Error.swift
[160/162] Compiling Sockets FDSet.swift
[161/162] Compiling Sockets TCPWriteableSocket.swift
[162/162] Compiling Sockets UDPSocket.swift
[164/175] Compiling TLS Utilities.swift
[165/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>
                                             ^~~
[166/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>
                                             ^~~
[167/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: emit-module command failed with exit code 1 (use -v to see invocation)
[168/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() \
          ^
[169/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>
                                             ^~~
[170/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>
                                             ^~~
[171/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
                    ^
                                     )
[172/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
                    ^
                                     )
[173/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>
                                             ^~~
[174/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>
                                             ^~~
[175/176] 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>
                                             ^~~
[176/176] 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>
                                             ^~~
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 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>
                                             ^~~
[3/13] 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>
                                             ^~~
[4/13] Compiling TLS Mode.swift
[5/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>
                                             ^~~
[6/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>
                                             ^~~
[7/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>
                                             ^~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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() \
          ^
[9/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>
                                             ^~~
[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:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
                    | SSL_OP_NO_SSLv3
                    ^
                                     )
/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(           )
[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:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
                    | SSL_OP_NO_SSLv3
                    ^
                                     )
/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(           )
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2