Build Information
Failed to build SwiftQ with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-connolly/swiftq.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/john-connolly/swiftq
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1a6f856 Merge pull request #8 from John-Connolly/Development
Cloned https://github.com/john-connolly/swiftq.git
Revision (git rev-parse @):
1a6f856bbbc0b6256c371edfe208bbca7df17857
SUCCESS checkout https://github.com/john-connolly/swiftq.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/john-connolly/swiftq.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/vapor/redis.git
[1/3735] Fetching redis
Fetched https://github.com/vapor/redis.git from cache (0.25s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 2.2.0 (0.43s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/core.git
[1/148] Fetching random
[149/1292] Fetching random, tls
[676/5503] Fetching random, tls, node
[1757/25646] Fetching random, tls, node, core
[5835/28958] Fetching random, tls, node, core, sockets
Fetched https://github.com/vapor/tls.git from cache (0.25s)
[9973/27814] Fetching random, node, core, sockets
Fetched https://github.com/vapor/random.git from cache (0.68s)
Fetched https://github.com/vapor/sockets.git from cache (0.69s)
Fetched https://github.com/vapor/node.git from cache (0.69s)
Fetched https://github.com/vapor/core.git from cache (0.70s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.43s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.44s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.20s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.44s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[359/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.24s)
Fetched https://github.com/vapor/debugging.git from cache (0.24s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.42s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.43s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.43s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.43s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.44s)
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/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/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/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
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/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/38] Emitting module PathIndexable
[15/38] Compiling PathIndexable PathIndexable+Subscripting.swift
[16/38] Compiling PathIndexable PathIndexable.swift
[17/39] Emitting module Debugging
[18/39] Compiling Debugging Debuggable.swift
[21/40] Compiling Bits Operators.swift
[22/40] Compiling Bits String+BytesConvertible.swift
[23/42] Emitting module Bits
[24/42] Compiling Bits Aliases.swift
[25/42] Compiling Bits Base64Encoder.swift
[26/42] Compiling Bits Byte+Alphabet.swift
[27/42] Compiling Bits UnsignedInteger+BytesConvertible.swift
[28/42] Compiling Bits UnsignedInteger+Shifting.swift
[29/42] Compiling Bits Byte+ControlCharacters.swift
[30/42] Compiling Bits Byte+Convenience.swift
[31/42] Compiling Bits Byte+PatternMatching.swift
[32/42] Emitting module libc
[33/42] Compiling libc libc.swift
[35/43] Compiling Bits Byte+Random.swift
[36/43] Compiling Bits Byte+UTF8Numbers.swift
[37/43] Compiling Bits ByteSequence+Conversions.swift
[38/43] Compiling Bits Bytes+Percent.swift
[39/43] Compiling Bits BytesConvertible.swift
[40/43] Compiling Bits Data+BytesConvertible.swift
[41/43] Compiling Bits HexEncoder.swift
[42/43] Compiling Bits Bytes+Base64.swift
[43/43] Compiling Bits Bytes+Hex.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 String.swift
[50/68] Compiling Core WorkingDirectory.swift
[51/68] Compiling Core Collection+Safe.swift
[52/68] Compiling Core DataFile.swift
[53/68] Compiling Core Dispatch.swift
[54/68] Compiling Core Array.swift
[55/68] Compiling Core Bits.swift
[56/68] Compiling Core Cache.swift
[57/68] Compiling Core Extendable.swift
[58/68] Compiling Core FileProtocol.swift
[59/68] Compiling Core Int+Hex.swift
[60/68] Compiling Core Result.swift
[61/68] Compiling Core Semaphore.swift
[62/68] Compiling Core Sequence.swift
[63/68] Compiling Core Lock.swift
[64/68] Compiling Core Portal.swift
[65/68] Compiling Core RFC1123.swift
[66/68] Compiling Core StaticDataBuffer.swift
[67/68] Compiling Core String+CaseInsensitiveCompare.swift
[68/68] Compiling Core String+Polymorphic.swift
[70/121] Emitting module Transport
[71/121] Compiling Random OSRandom.swift
[72/121] Compiling Random Exports.swift
[73/121] Compiling Transport Stream.swift
[74/121] Compiling Transport StreamError.swift
[75/122] Compiling Transport FoundationStream.swift
[76/122] Compiling Transport ServerStream.swift
[77/122] Compiling Transport ReadableStream.swift
[78/122] Emitting module Random
[79/122] Compiling Random Array+Random.swift
[80/122] Compiling Random EmptyInitializable.swift
[81/122] Compiling Node Getters.swift
[82/122] Compiling Node Setters.swift
[83/122] Compiling Node Bool+Convertible.swift
[84/122] Compiling Node Date+Convertible.swift
[85/122] Compiling Random RandomProtocol.swift
[86/122] Compiling Random URandom.swift
[88/123] Compiling Transport WriteableStream.swift
[90/124] Compiling Node Integer+Convertible.swift
[91/124] Compiling Node Schema+Convertible.swift
[92/124] Compiling Node SchemaWrapper+Convertible.swift
[93/124] Compiling Node String+Convertible.swift
[94/124] Compiling Node UUID+Convertible.swift
[99/128] Compiling Node FloatingPoint+Convertible.swift
[100/128] Emitting module Node
[101/149] Compiling Node StructuredDataWrapper+Equatable.swift
[102/149] Compiling Node StructuredDataWrapper+Literals.swift
[103/149] Compiling Node StructuredDataWrapper+PathIndexable.swift
[104/149] Compiling Node StructuredDataWrapper+Polymorphic.swift
[105/149] Compiling Node StructuredData+PathIndexable.swift
[106/149] Compiling Node StructuredData+Polymorphic.swift
[107/149] Compiling Node StructuredData.swift
[108/149] Compiling Node StructuredDataWrapper+Cases.swift
[109/149] Compiling Node StructuredDataWrapper+Convenience.swift
[110/149] Compiling Sockets TCPReadableSocket.swift
[111/149] Compiling Sockets TCPSocket.swift
[112/149] Compiling Sockets Conversions.swift
[113/149] Compiling Sockets Error.swift
[114/149] Compiling Sockets FDSet.swift
[115/149] Compiling Node Optional+Convertible.swift
[116/149] Compiling Node Set+Convertible.swift
[117/149] Compiling Node Number.swift
[118/149] Compiling Node StructuredData+Equatable.swift
[119/149] Compiling Node StructuredData+Init.swift
[120/149] Compiling Sockets InternetSocket.swift
[121/149] Compiling Sockets Pipe.swift
[122/149] Compiling Sockets Types.swift
[123/149] Compiling Sockets Exports.swift
[124/149] Compiling Sockets Config.swift
[125/149] Compiling Node StructuredDataWrapper.swift
[126/149] Compiling Node Errors.swift
[127/149] Compiling Node Exports.swift
[128/149] Compiling Node Identifier.swift
[129/150] Emitting module Sockets
[131/152] Compiling Sockets RawSocket.swift
[132/152] Compiling Sockets Select.swift
[133/152] Compiling Sockets Socket.swift
[134/152] Compiling Sockets Address+C.swift
[135/152] Compiling Sockets Address.swift
[136/152] Compiling Sockets Buffer.swift
[137/152] Compiling Sockets TCPWriteableSocket.swift
[138/152] Compiling Sockets UDPSocket.swift
[144/152] Compiling Sockets SocketOptions.swift
[145/152] Compiling Sockets TCPEstablishedSocket.swift
[146/152] Compiling Sockets TCPInternetSocket.swift
[150/152] Compiling Sockets Descriptor.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
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
[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
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)
[157/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
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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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 \
[158/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
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/.build/checkouts/tls/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
[159/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
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/.build/checkouts/tls/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
[160/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
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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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,
/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'
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
[161/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
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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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/.build/checkouts/tls/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,
/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'
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
[162/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
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
[163/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
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/.build/checkouts/tls/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
[164/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
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
[165/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
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
[166/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
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