The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftQ 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/john-connolly/swiftq.git
Reference: 0.3.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/john-connolly/swiftq
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 01ef374 Merge pull request #7 from John-Connolly/Swift4
Cloned https://github.com/john-connolly/swiftq.git
Revision (git rev-parse @):
01ef37487beb87030f741def954628533b928ddf
SUCCESS checkout https://github.com/john-connolly/swiftq.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/john-connolly/swiftq.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/vapor/redis.git
[1/3532] Fetching redis
Fetched https://github.com/vapor/redis.git from cache (0.24s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 2.2.0 (0.40s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/random.git
[1/1144] Fetching tls
[848/21287] Fetching tls, core
[1347/21435] Fetching tls, core, random
[1804/25646] Fetching tls, core, random, node
[2872/28958] Fetching tls, core, random, node, sockets
Fetched https://github.com/vapor/random.git from cache (0.31s)
[20350/28810] Fetching tls, core, node, sockets
Fetched https://github.com/vapor/tls.git from cache (0.31s)
[19408/27666] Fetching core, node, sockets
Fetched https://github.com/vapor/node.git from cache (0.31s)
[15398/23455] Fetching core, sockets
Fetched https://github.com/vapor/sockets.git from cache (0.71s)
Fetched https://github.com/vapor/core.git from cache (0.72s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.39s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.41s)
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/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/358] Fetching bits
[27/618] Fetching bits, debugging
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.37s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.39s)
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)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.40s)
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.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/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 2.2.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/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
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/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/38] Emitting module Bits
[15/40] Compiling Bits UnsignedInteger+BytesConvertible.swift
[16/40] Compiling Bits UnsignedInteger+Shifting.swift
[17/40] Compiling PathIndexable PathIndexable.swift
[18/40] Compiling Bits Byte+ControlCharacters.swift
[19/40] Compiling Bits Byte+Convenience.swift
[20/40] Compiling Bits Byte+PatternMatching.swift
[21/40] Emitting module PathIndexable
[22/40] Compiling PathIndexable PathIndexable+Subscripting.swift
[24/41] Compiling Bits Aliases.swift
[25/41] Compiling Bits Base64Encoder.swift
[26/41] Compiling Bits Byte+Alphabet.swift
[27/41] Emitting module Debugging
[28/41] Compiling Debugging Debuggable.swift
[30/42] Compiling Bits Operators.swift
[31/42] Compiling Bits String+BytesConvertible.swift
[32/42] Compiling Bits Bytes+Base64.swift
[33/42] Compiling Bits Bytes+Hex.swift
[34/42] Compiling Bits Bytes+Percent.swift
[35/42] Compiling Bits BytesConvertible.swift
[36/42] Emitting module libc
[37/42] Compiling libc libc.swift
[38/42] Compiling Bits Data+BytesConvertible.swift
[39/42] Compiling Bits HexEncoder.swift
[40/43] Compiling Bits Byte+Random.swift
[41/43] Compiling Bits Byte+UTF8Numbers.swift
[42/43] Compiling Bits ByteSequence+Conversions.swift
[45/66] Compiling Core DispatchTime+Utilities.swift
[46/66] Compiling Core EmptyInitializable.swift
[47/66] Compiling Core Exports.swift
[48/68] Emitting module Core
[49/68] Compiling Core Result.swift
[50/68] Compiling Core Semaphore.swift
[51/68] Compiling Core Sequence.swift
[52/68] Compiling Core Extendable.swift
[53/68] Compiling Core FileProtocol.swift
[54/68] Compiling Core Int+Hex.swift
[55/68] Compiling Core Lock.swift
[56/68] Compiling Core Portal.swift
[57/68] Compiling Core RFC1123.swift
[58/68] Compiling Core StaticDataBuffer.swift
[59/68] Compiling Core String+CaseInsensitiveCompare.swift
[60/68] Compiling Core String+Polymorphic.swift
[61/68] Compiling Core String.swift
[62/68] Compiling Core WorkingDirectory.swift
[63/68] Compiling Core Array.swift
[64/68] Compiling Core Bits.swift
[65/68] Compiling Core Cache.swift
[66/68] Compiling Core Collection+Safe.swift
[67/68] Compiling Core DataFile.swift
[68/68] Compiling Core Dispatch.swift
[70/116] Compiling Transport Stream.swift
[71/122] Compiling Transport ReadableStream.swift
[72/122] Compiling Node Getters.swift
[73/122] Compiling Node Setters.swift
[74/122] Emitting module Transport
[75/122] Compiling Node Bool+Convertible.swift
[76/122] Compiling Node Date+Convertible.swift
[77/122] Compiling Transport ServerStream.swift
[78/122] Compiling Transport FoundationStream.swift
[79/122] Compiling Transport WriteableStream.swift
[80/122] Compiling Transport StreamError.swift
[81/122] Compiling Random EmptyInitializable.swift
[82/122] Compiling Random Array+Random.swift
[83/122] Emitting module Random
[84/122] Compiling Random OSRandom.swift
[85/123] Compiling Random Exports.swift
[86/123] Compiling Random RandomProtocol.swift
[87/123] Compiling Random URandom.swift
[90/124] Emitting module Node
[91/128] Compiling Node StructuredDataWrapper+Equatable.swift
[92/128] Compiling Node StructuredDataWrapper+Literals.swift
[93/128] Compiling Node StructuredDataWrapper+PathIndexable.swift
[94/128] Compiling Node StructuredDataWrapper+Polymorphic.swift
[95/128] Compiling Node Integer+Convertible.swift
[96/128] Compiling Node Schema+Convertible.swift
[97/128] Compiling Node SchemaWrapper+Convertible.swift
[98/128] Compiling Node String+Convertible.swift
[99/128] Compiling Node UUID+Convertible.swift
[100/138] Compiling Sockets Address+C.swift
[101/138] Compiling Sockets Address.swift
[102/138] Compiling Sockets Buffer.swift
[103/138] Compiling Sockets Conversions.swift
[104/138] Compiling Sockets Error.swift
[105/147] Compiling Sockets InternetSocket.swift
[106/147] Compiling Sockets Pipe.swift
[107/147] Compiling Sockets RawSocket.swift
[108/147] Compiling Sockets Select.swift
[109/147] Compiling Sockets Socket.swift
[110/149] Compiling Sockets SocketOptions.swift
[111/149] Compiling Sockets TCPEstablishedSocket.swift
[112/149] Compiling Sockets TCPInternetSocket.swift
[113/149] Compiling Sockets TCPReadableSocket.swift
[114/149] Compiling Sockets TCPSocket.swift
[115/149] Compiling Node StructuredData+PathIndexable.swift
[116/149] Compiling Node StructuredData+Polymorphic.swift
[117/149] Compiling Node StructuredData.swift
[118/149] Compiling Node StructuredDataWrapper+Cases.swift
[119/149] Compiling Node StructuredDataWrapper+Convenience.swift
[122/149] Compiling Node Optional+Convertible.swift
[123/149] Compiling Node Set+Convertible.swift
[124/149] Compiling Node Number.swift
[125/149] Compiling Node StructuredData+Equatable.swift
[126/149] Compiling Node StructuredData+Init.swift
[127/151] Emitting module Sockets
[128/151] Compiling Node StructuredDataWrapper.swift
[129/151] Compiling Node Errors.swift
[130/151] Compiling Node Exports.swift
[131/151] Compiling Node Identifier.swift
[136/152] Compiling Sockets Types.swift
[137/152] Compiling Sockets Exports.swift
[138/152] Compiling Sockets Config.swift
[139/152] Compiling Sockets Descriptor.swift
[150/152] Compiling Sockets FDSet.swift
[151/152] Compiling Sockets TCPWriteableSocket.swift
[152/152] Compiling Sockets UDPSocket.swift
[154/165] Compiling TLS Utilities.swift
[155/166] 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>
                                             ^~~
[156/166] 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>
                                             ^~~
[157/166] 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>
                                             ^~~
[158/166] 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>
                                             ^~~
[159/166] 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>
                                             ^~~
[160/166] 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>
                                             ^~~
[161/166] 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>
                                             ^~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[162/166] 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() \
          ^
[163/166] 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>
                                             ^~~
[164/166] 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>
                                             ^~~
[165/166] 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
                    ^
                                     )
[166/166] 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
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 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/12] 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/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 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>
                                             ^~~
[6/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>
                                             ^~~
[7/13] Compiling TLS Mode.swift
[8/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(           )
[9/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: emit-module command failed with exit code 1 (use -v to see invocation)
[10/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() \
          ^
[11/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>
                                             ^~~
[12/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>
                                             ^~~
[13/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: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1