Build Information
Failed to build TLS 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/vapor-community/tls.git
Reference: 2.1.3
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/vapor-community/tls
* tag 2.1.3 -> FETCH_HEAD
HEAD is now at a5981b0 Merge pull request #71 from vapor-community/warnings-real
Cloned https://github.com/vapor-community/tls.git
Revision (git rev-parse @):
a5981b0a370f227521330beb92b7ce6d636a1eb2
SUCCESS checkout https://github.com/vapor-community/tls.git at 2.1.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/vapor-community/tls.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/ctls.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/core.git
[1/71] Fetching ctls
[72/20214] Fetching ctls, core
[1080/23526] Fetching ctls, core, sockets
Fetched https://github.com/vapor/sockets.git from cache (0.68s)
Fetched https://github.com/vapor/ctls.git from cache (0.68s)
Fetched https://github.com/vapor/core.git from cache (0.70s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.40s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.43s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/358] Fetching bits
[356/618] Fetching bits, debugging
Fetched https://github.com/vapor/debugging.git from cache (0.27s)
Fetched https://github.com/vapor/bits.git from cache (0.27s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.41s)
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/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.53s)
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.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/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/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/30] Emitting module Bits
[10/32] Compiling Debugging Debuggable.swift
[11/32] Emitting module Debugging
[12/33] Compiling Bits Operators.swift
[13/33] Compiling Bits String+BytesConvertible.swift
[15/33] Compiling Bits UnsignedInteger+BytesConvertible.swift
[16/33] Compiling Bits UnsignedInteger+Shifting.swift
[17/33] Compiling Bits Aliases.swift
[18/33] Compiling Bits Base64Encoder.swift
[19/33] Compiling Bits Byte+Alphabet.swift
[20/33] Emitting module libc
[21/33] Compiling libc libc.swift
[22/34] Compiling Bits Bytes+Percent.swift
[23/34] Compiling Bits BytesConvertible.swift
[25/34] Compiling Bits Byte+ControlCharacters.swift
[26/34] Compiling Bits Byte+Convenience.swift
[27/34] Compiling Bits Byte+PatternMatching.swift
[28/34] Compiling Bits Byte+Random.swift
[29/34] Compiling Bits Byte+UTF8Numbers.swift
[30/34] Compiling Bits ByteSequence+Conversions.swift
[31/34] Compiling Bits Bytes+Base64.swift
[32/34] Compiling Bits Bytes+Hex.swift
[33/34] Compiling Bits Data+BytesConvertible.swift
[34/34] Compiling Bits HexEncoder.swift
[36/57] Compiling Core DispatchTime+Utilities.swift
[37/57] Compiling Core EmptyInitializable.swift
[38/57] Compiling Core Exports.swift
[39/59] Emitting module Core
[40/59] Compiling Core Result.swift
[41/59] Compiling Core Semaphore.swift
[42/59] Compiling Core Sequence.swift
[43/59] Compiling Core Array.swift
[44/59] Compiling Core Bits.swift
[45/59] Compiling Core Cache.swift
[46/59] Compiling Core String.swift
[47/59] Compiling Core WorkingDirectory.swift
[48/59] Compiling Core Lock.swift
[49/59] Compiling Core Portal.swift
[50/59] Compiling Core RFC1123.swift
[51/59] Compiling Core Extendable.swift
[52/59] Compiling Core FileProtocol.swift
[53/59] Compiling Core Int+Hex.swift
[54/59] Compiling Core Collection+Safe.swift
[55/59] Compiling Core DataFile.swift
[56/59] Compiling Core Dispatch.swift
[57/59] Compiling Core StaticDataBuffer.swift
[58/59] Compiling Core String+CaseInsensitiveCompare.swift
[59/59] Compiling Core String+Polymorphic.swift
[61/70] Compiling Transport ServerStream.swift
[62/70] Compiling Transport FoundationStream.swift
[63/71] Compiling Transport Stream.swift
[64/71] Compiling Transport StreamError.swift
[65/71] Compiling Transport Exports.swift
[66/71] Compiling Transport ClientStream.swift
[67/71] Emitting module Transport
[68/71] Compiling Transport InternetStream.swift
[69/71] Compiling Transport Port.swift
[70/71] Compiling Transport WriteableStream.swift
[71/71] Compiling Transport ReadableStream.swift
[73/93] Emitting module Sockets
[74/95] Compiling Sockets Types.swift
[75/95] Compiling Sockets Exports.swift
[76/95] Compiling Sockets Config.swift
[77/95] Compiling Sockets Address+C.swift
[78/95] Compiling Sockets Address.swift
[79/95] Compiling Sockets Buffer.swift
[80/95] Compiling Sockets Descriptor.swift
[81/95] Compiling Sockets InternetSocket.swift
[82/95] Compiling Sockets Pipe.swift
[83/95] Compiling Sockets RawSocket.swift
[84/95] Compiling Sockets Select.swift
[85/95] Compiling Sockets Socket.swift
[86/95] Compiling Sockets Conversions.swift
[87/95] Compiling Sockets Error.swift
[88/95] Compiling Sockets FDSet.swift
[89/95] Compiling Sockets TCPReadableSocket.swift
[90/95] Compiling Sockets TCPSocket.swift
[91/95] Compiling Sockets SocketOptions.swift
[92/95] Compiling Sockets TCPEstablishedSocket.swift
[93/95] Compiling Sockets TCPInternetSocket.swift
[94/95] Compiling Sockets TCPWriteableSocket.swift
[95/95] Compiling Sockets UDPSocket.swift
[97/108] Compiling TLS Utilities.swift
[98/109] Compiling TLS WriteableSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[99/109] Compiling TLS Mode.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[100/109] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/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)
[101/109] Emitting module TLS
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
/host/spi-builder-workspace/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/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/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() \
^
[102/109] Compiling TLS Exports.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[103/109] Compiling TLS InternetSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[104/109] Compiling TLS Context.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
/host/spi-builder-workspace/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/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/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/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
method = SSLv23_server_method()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
method = SSLv23_client_method()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
SSL_CTRL_OPTIONS,
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/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/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/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
SSL_OP_NO_SSLv2
^
Int( )
[105/109] Compiling TLS Error.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
/host/spi-builder-workspace/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/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/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/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
method = SSLv23_server_method()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
method = SSLv23_client_method()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
SSL_CTRL_OPTIONS,
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/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/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/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
SSL_OP_NO_SSLv2
^
Int( )
[106/109] Compiling TLS Certificates.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[107/109] Compiling TLS ClientSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[108/109] Compiling TLS Socket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[109/109] Compiling TLS ServerSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/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/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[3/13] Compiling TLS Mode.swift
[4/13] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
[5/13] Compiling TLS Exports.swift
/host/spi-builder-workspace/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/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/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/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/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/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
/host/spi-builder-workspace/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/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/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/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/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/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/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/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
/host/spi-builder-workspace/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/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/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/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
method = SSLv23_server_method()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
method = SSLv23_client_method()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
SSL_CTRL_OPTIONS,
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/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/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/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/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
public typealias CContext = UnsafeMutablePointer<SSL_CTX>
^~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
public typealias CMethod = UnsafePointer<SSL_METHOD>
^~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
public typealias CSSL = UnsafeMutablePointer<SSL>
^~~
/host/spi-builder-workspace/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/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/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/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
method = SSLv23_server_method()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
method = SSLv23_client_method()
^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
SSL_CTRL_OPTIONS,
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/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/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/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/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