Build Information
Failed to build TLS, reference 2.1.3 (a5981b
), with Swift 6.0 for Linux on 31 Oct 2024 18:07:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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: 6.0
Building package at path: $PWD
https://github.com/vapor-community/tls.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/vapor/ctls.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/core.git
[1/3312] Fetching sockets
[1293/3383] Fetching sockets, ctls
[1795/23526] Fetching sockets, ctls, core
Fetched https://github.com/vapor/ctls.git from cache (0.22s)
Fetched https://github.com/vapor/sockets.git from cache (0.22s)
[6043/20143] Fetching core
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.48s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.49s)
Fetching https://github.com/vapor/bits.git
Fetching https://github.com/vapor/debugging.git
[1/260] Fetching debugging
[230/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.21s)
Fetched https://github.com/vapor/debugging.git from cache (0.21s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.47s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.49s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.49s)
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/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
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 Bits Operators.swift
[11/32] Compiling Bits String+BytesConvertible.swift
[12/32] Emitting module Debugging
[13/32] Compiling Debugging Debuggable.swift
[15/33] Compiling Bits UnsignedInteger+BytesConvertible.swift
[16/33] Compiling Bits UnsignedInteger+Shifting.swift
[17/33] Compiling Bits Byte+Random.swift
[18/33] Compiling Bits Byte+UTF8Numbers.swift
[19/33] Compiling Bits ByteSequence+Conversions.swift
[20/33] Emitting module libc
[21/33] Compiling libc libc.swift
[23/34] Compiling Bits Bytes+Percent.swift
[24/34] Compiling Bits BytesConvertible.swift
[25/34] Compiling Bits Bytes+Base64.swift
[26/34] Compiling Bits Bytes+Hex.swift
[27/34] Compiling Bits Byte+ControlCharacters.swift
[28/34] Compiling Bits Byte+Convenience.swift
[29/34] Compiling Bits Byte+PatternMatching.swift
[30/34] Compiling Bits Aliases.swift
[31/34] Compiling Bits Base64Encoder.swift
[32/34] Compiling Bits Byte+Alphabet.swift
[33/34] Compiling Bits Data+BytesConvertible.swift
[34/34] Compiling Bits HexEncoder.swift
[36/57] Compiling Core Extendable.swift
[37/57] Compiling Core FileProtocol.swift
[38/57] Compiling Core Int+Hex.swift
[39/59] Compiling Core Result.swift
[40/59] Compiling Core Semaphore.swift
[41/59] Compiling Core Sequence.swift
[42/59] Emitting module Core
[43/59] Compiling Core Collection+Safe.swift
[44/59] Compiling Core DataFile.swift
[45/59] Compiling Core Dispatch.swift
[46/59] Compiling Core DispatchTime+Utilities.swift
[47/59] Compiling Core EmptyInitializable.swift
[48/59] Compiling Core Exports.swift
[49/59] Compiling Core StaticDataBuffer.swift
[50/59] Compiling Core String+CaseInsensitiveCompare.swift
[51/59] Compiling Core String+Polymorphic.swift
[52/59] Compiling Core Lock.swift
[53/59] Compiling Core Portal.swift
[54/59] Compiling Core RFC1123.swift
[55/59] Compiling Core Array.swift
[56/59] Compiling Core Bits.swift
[57/59] Compiling Core Cache.swift
[58/59] Compiling Core String.swift
[59/59] Compiling Core WorkingDirectory.swift
[61/70] Compiling Transport StreamError.swift
[62/71] Compiling Transport ServerStream.swift
[63/71] Compiling Transport Exports.swift
[64/71] Compiling Transport ClientStream.swift
[65/71] Emitting module Transport
[66/71] Compiling Transport InternetStream.swift
[67/71] Compiling Transport Port.swift
[68/71] Compiling Transport FoundationStream.swift
[69/71] Compiling Transport Stream.swift
[70/71] Compiling Transport ReadableStream.swift
[71/71] Compiling Transport WriteableStream.swift
[73/93] Emitting module Sockets
[74/95] Compiling Sockets TCPReadableSocket.swift
[75/95] Compiling Sockets TCPSocket.swift
[76/95] Compiling Sockets RawSocket.swift
[77/95] Compiling Sockets Select.swift
[78/95] Compiling Sockets Socket.swift
[79/95] Compiling Sockets Types.swift
[80/95] Compiling Sockets Exports.swift
[81/95] Compiling Sockets Config.swift
[82/95] Compiling Sockets Descriptor.swift
[83/95] Compiling Sockets InternetSocket.swift
[84/95] Compiling Sockets Pipe.swift
[85/95] Compiling Sockets SocketOptions.swift
[86/95] Compiling Sockets TCPEstablishedSocket.swift
[87/95] Compiling Sockets TCPInternetSocket.swift
[88/95] Compiling Sockets Address+C.swift
[89/95] Compiling Sockets Address.swift
[90/95] Compiling Sockets Buffer.swift
[91/95] Compiling Sockets Conversions.swift
[92/95] Compiling Sockets Error.swift
[93/95] Compiling Sockets FDSet.swift
[94/95] Compiling Sockets TCPWriteableSocket.swift
[95/95] Compiling Sockets UDPSocket.swift
[97/108] Compiling TLS Utilities.swift
[98/109] Compiling TLS Socket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
[99/109] Compiling TLS ServerSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
3 | import Dispatch
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
| `- error: cannot find type 'SSL_CTX' in scope
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
[100/109] Compiling TLS Mode.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
[101/109] Compiling TLS ReadableSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
[102/109] Compiling TLS Exports.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
[103/109] Compiling TLS InternetSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
[104/109] Compiling TLS WriteableSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
error: emit-module command failed with exit code 1 (use -v to see invocation)
[105/109] Emitting module TLS
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
3 | import Dispatch
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
| `- error: cannot find type 'SSL_CTX' in scope
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
| `- error: cannot find type 'SSL_METHOD' in scope
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
8 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
/host/spi-builder-workspace/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
18 | /// https://stackoverflow.com/a/37887068/2611971
19 | private static let isGloballyInitialized: Bool = {
20 | SSL_library_init()
| `- error: cannot find 'SSL_library_init' in scope
21 | SSL_load_error_strings()
22 | OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | # define SSL_library_init() OPENSSL_init_ssl(0, NULL)
| `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
19 | private static let isGloballyInitialized: Bool = {
20 | SSL_library_init()
21 | SSL_load_error_strings()
| `- error: cannot find 'SSL_load_error_strings' in scope
22 | OPENSSL_config(nil)
23 | OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | # define SSL_load_error_strings() \
| `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 | OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 | | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
21 | SSL_load_error_strings()
22 | OPENSSL_config(nil)
23 | OPENSSL_add_all_algorithms_conf()
| `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
24 | return true
25 | }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | # define OPENSSL_add_all_algorithms_conf() \
| `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 | OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 | | OPENSSL_INIT_ADD_ALL_DIGESTS \
[106/109] Compiling TLS Context.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
3 | import Dispatch
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
| `- error: cannot find type 'SSL_CTX' in scope
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
| `- error: cannot find type 'SSL_METHOD' in scope
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
8 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
/host/spi-builder-workspace/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
18 | /// https://stackoverflow.com/a/37887068/2611971
19 | private static let isGloballyInitialized: Bool = {
20 | SSL_library_init()
| `- error: cannot find 'SSL_library_init' in scope
21 | SSL_load_error_strings()
22 | OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | # define SSL_library_init() OPENSSL_init_ssl(0, NULL)
| `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
19 | private static let isGloballyInitialized: Bool = {
20 | SSL_library_init()
21 | SSL_load_error_strings()
| `- error: cannot find 'SSL_load_error_strings' in scope
22 | OPENSSL_config(nil)
23 | OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | # define SSL_load_error_strings() \
| `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 | OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 | | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
21 | SSL_load_error_strings()
22 | OPENSSL_config(nil)
23 | OPENSSL_add_all_algorithms_conf()
| `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
24 | return true
25 | }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | # define OPENSSL_add_all_algorithms_conf() \
| `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 | OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 | | OPENSSL_INIT_ADD_ALL_DIGESTS \
/host/spi-builder-workspace/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
48 | switch mode {
49 | case .server:
50 | method = SSLv23_server_method()
| `- error: cannot find 'SSLv23_server_method' in scope
51 | case .client:
52 | method = SSLv23_client_method()
/host/spi-builder-workspace/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
50 | method = SSLv23_server_method()
51 | case .client:
52 | method = SSLv23_client_method()
| `- error: cannot find 'SSLv23_client_method' in scope
53 | }
54 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:63:42: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
61 | }
62 |
63 | SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
64 |
65 | if mode == .client {
/host/spi-builder-workspace/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
66 | SSL_CTX_ctrl(
67 | ctx,
68 | SSL_CTRL_OPTIONS,
| `- error: cannot find 'SSL_CTRL_OPTIONS' in scope
69 | SSL_OP_NO_SSLv2
70 | | SSL_OP_NO_SSLv3
/host/spi-builder-workspace/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
68 | SSL_CTRL_OPTIONS,
69 | SSL_OP_NO_SSLv2
70 | | SSL_OP_NO_SSLv3
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
71 | | SSL_OP_NO_COMPRESSION,
72 | nil
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/Sources/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
69 | SSL_OP_NO_SSLv2
70 | | SSL_OP_NO_SSLv3
71 | | SSL_OP_NO_COMPRESSION,
| `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
72 | nil
73 | )
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION SSL_OP_BIT(16)
386 | /* Don't use compression even if supported */
387 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17)
| `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
388 | /* Permit unsafe legacy renegotiation */
389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION SSL_OP_BIT(18)
/host/spi-builder-workspace/Sources/TLS/Context.swift:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
68 | SSL_CTRL_OPTIONS,
69 | SSL_OP_NO_SSLv2
70 | | SSL_OP_NO_SSLv3
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
71 | | SSL_OP_NO_COMPRESSION,
72 | nil
/host/spi-builder-workspace/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
67 | ctx,
68 | SSL_CTRL_OPTIONS,
69 | SSL_OP_NO_SSLv2
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
70 | | SSL_OP_NO_SSLv3
71 | | SSL_OP_NO_COMPRESSION,
[107/109] Compiling TLS Error.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
3 | import Dispatch
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
| `- error: cannot find type 'SSL_CTX' in scope
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:6:42: error: cannot find type 'SSL_METHOD' in scope
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
| `- error: cannot find type 'SSL_METHOD' in scope
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
8 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
/host/spi-builder-workspace/Sources/TLS/Context.swift:20:9: error: cannot find 'SSL_library_init' in scope
18 | /// https://stackoverflow.com/a/37887068/2611971
19 | private static let isGloballyInitialized: Bool = {
20 | SSL_library_init()
| `- error: cannot find 'SSL_library_init' in scope
21 | SSL_load_error_strings()
22 | OPENSSL_config(nil)
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
2093 |
2094 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
2095 | # define SSL_library_init() OPENSSL_init_ssl(0, NULL)
| `- note: macro 'SSL_library_init' unavailable: function like macros not supported
2096 | # endif
2097 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:21:9: error: cannot find 'SSL_load_error_strings' in scope
19 | private static let isGloballyInitialized: Bool = {
20 | SSL_library_init()
21 | SSL_load_error_strings()
| `- error: cannot find 'SSL_load_error_strings' in scope
22 | OPENSSL_config(nil)
23 | OPENSSL_add_all_algorithms_conf()
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1706 |
1707 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1708 | # define SSL_load_error_strings() \
| `- note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
1709 | OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
1710 | | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
/host/spi-builder-workspace/Sources/TLS/Context.swift:23:9: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
21 | SSL_load_error_strings()
22 | OPENSSL_config(nil)
23 | OPENSSL_add_all_algorithms_conf()
| `- error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
24 | return true
25 | }()
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1144 |
1145 | # ifndef OPENSSL_NO_DEPRECATED_1_1_0
1146 | # define OPENSSL_add_all_algorithms_conf() \
| `- note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
1147 | OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS \
1148 | | OPENSSL_INIT_ADD_ALL_DIGESTS \
/host/spi-builder-workspace/Sources/TLS/Context.swift:50:22: error: cannot find 'SSLv23_server_method' in scope
48 | switch mode {
49 | case .server:
50 | method = SSLv23_server_method()
| `- error: cannot find 'SSLv23_server_method' in scope
51 | case .client:
52 | method = SSLv23_client_method()
/host/spi-builder-workspace/Sources/TLS/Context.swift:52:22: error: cannot find 'SSLv23_client_method' in scope
50 | method = SSLv23_server_method()
51 | case .client:
52 | method = SSLv23_client_method()
| `- error: cannot find 'SSLv23_client_method' in scope
53 | }
54 |
/host/spi-builder-workspace/Sources/TLS/Context.swift:63:42: error: cannot convert value of type 'UInt32' to expected argument type 'Int'
61 | }
62 |
63 | SSL_CTX_ctrl(ctx, SSL_CTRL_MODE, SSL_MODE_AUTO_RETRY, nil)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'Int'
64 |
65 | if mode == .client {
/host/spi-builder-workspace/Sources/TLS/Context.swift:68:17: error: cannot find 'SSL_CTRL_OPTIONS' in scope
66 | SSL_CTX_ctrl(
67 | ctx,
68 | SSL_CTRL_OPTIONS,
| `- error: cannot find 'SSL_CTRL_OPTIONS' in scope
69 | SSL_OP_NO_SSLv2
70 | | SSL_OP_NO_SSLv3
/host/spi-builder-workspace/Sources/TLS/Context.swift:70:23: error: cannot find 'SSL_OP_NO_SSLv3' in scope
68 | SSL_CTRL_OPTIONS,
69 | SSL_OP_NO_SSLv2
70 | | SSL_OP_NO_SSLv3
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
71 | | SSL_OP_NO_COMPRESSION,
72 | nil
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/Sources/TLS/Context.swift:71:23: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
69 | SSL_OP_NO_SSLv2
70 | | SSL_OP_NO_SSLv3
71 | | SSL_OP_NO_COMPRESSION,
| `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
72 | nil
73 | )
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION SSL_OP_BIT(16)
386 | /* Don't use compression even if supported */
387 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17)
| `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
388 | /* Permit unsafe legacy renegotiation */
389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION SSL_OP_BIT(18)
/host/spi-builder-workspace/Sources/TLS/Context.swift:70:21: error: cannot convert value of type 'Int32' to expected argument type 'Int'
68 | SSL_CTRL_OPTIONS,
69 | SSL_OP_NO_SSLv2
70 | | SSL_OP_NO_SSLv3
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
71 | | SSL_OP_NO_COMPRESSION,
72 | nil
/host/spi-builder-workspace/Sources/TLS/Context.swift:69:17: error: cannot convert value of type 'Int32' to expected argument type 'Int'
67 | ctx,
68 | SSL_CTRL_OPTIONS,
69 | SSL_OP_NO_SSLv2
| `- error: cannot convert value of type 'Int32' to expected argument type 'Int'
70 | | SSL_OP_NO_SSLv3
71 | | SSL_OP_NO_COMPRESSION,
[108/109] Compiling TLS Certificates.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
3 | import Dispatch
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
| `- error: cannot find type 'SSL_CTX' in scope
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
[109/109] Compiling TLS ClientSocket.swift
/host/spi-builder-workspace/Sources/TLS/Context.swift:5:50: error: cannot find type 'SSL_CTX' in scope
3 | import Dispatch
4 |
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
| `- error: cannot find type 'SSL_CTX' in scope
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
/host/spi-builder-workspace/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
7 | public typealias CSSL = UnsafeMutablePointer<SSL>
| `- error: cannot find type 'SSL' in scope
8 |
9 | /// An SSL context that contains the
BUILD FAILURE 6.0 linux