Build Information
Failed to build SwiftQ, reference 0.3.0 (01ef37
), with Swift 6.0 for Linux on 26 Nov 2024 18:25:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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: 6.0
Building package at path: $PWD
https://github.com/john-connolly/swiftq.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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/redis.git
[1/3735] 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.43s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/sockets.git
[1/1144] Fetching tls
[36/21287] Fetching tls, core
[931/24599] Fetching tls, core, sockets
[1167/24747] Fetching tls, core, sockets, random
[3301/28958] Fetching tls, core, sockets, random, node
Fetched https://github.com/vapor/tls.git from cache (0.27s)
Fetched https://github.com/vapor/sockets.git from cache (0.27s)
[11545/24502] Fetching core, random, node
Fetched https://github.com/vapor/random.git from cache (0.29s)
[16499/24354] Fetching core, node
Fetched https://github.com/vapor/node.git from cache (0.29s)
[13093/20143] Fetching core
Fetched https://github.com/vapor/core.git from cache (0.69s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.42s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.43s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.18s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.42s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/260] Fetching debugging
[261/618] Fetching debugging, bits
Fetched https://github.com/vapor/bits.git from cache (0.20s)
Fetched https://github.com/vapor/debugging.git from cache (0.20s)
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.43s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.42s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.42s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.43s)
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/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
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
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/random.git
Working copy of https://github.com/vapor/random.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.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
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] Compiling Bits Operators.swift
[15/38] Compiling Bits String+BytesConvertible.swift
[16/40] Compiling PathIndexable PathIndexable.swift
[17/40] Emitting module PathIndexable
[18/40] Compiling PathIndexable PathIndexable+Subscripting.swift
[20/41] Compiling Debugging Debuggable.swift
[21/41] Emitting module Debugging
[23/42] Compiling Bits UnsignedInteger+BytesConvertible.swift
[24/42] Compiling Bits UnsignedInteger+Shifting.swift
[25/42] Compiling Bits Byte+ControlCharacters.swift
[26/42] Compiling Bits Byte+Convenience.swift
[27/42] Compiling Bits Byte+PatternMatching.swift
[28/42] Compiling Bits Aliases.swift
[29/42] Compiling Bits Base64Encoder.swift
[30/42] Compiling Bits Byte+Alphabet.swift
[31/42] Emitting module Bits
[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 Bytes+Base64.swift
[41/43] Compiling Bits Bytes+Hex.swift
[42/43] Compiling Bits Data+BytesConvertible.swift
[43/43] Compiling Bits HexEncoder.swift
[45/66] Compiling Core Extendable.swift
[46/66] Compiling Core FileProtocol.swift
[47/66] Compiling Core Int+Hex.swift
[48/68] Emitting module Core
[49/68] Compiling Core Collection+Safe.swift
[50/68] Compiling Core DataFile.swift
[51/68] Compiling Core Dispatch.swift
[52/68] Compiling Core Result.swift
[53/68] Compiling Core Semaphore.swift
[54/68] Compiling Core Sequence.swift
[55/68] Compiling Core DispatchTime+Utilities.swift
[56/68] Compiling Core EmptyInitializable.swift
[57/68] Compiling Core Exports.swift
[58/68] Compiling Core Lock.swift
[59/68] Compiling Core Portal.swift
[60/68] Compiling Core RFC1123.swift
[61/68] Compiling Core StaticDataBuffer.swift
[62/68] Compiling Core String+CaseInsensitiveCompare.swift
[63/68] Compiling Core String+Polymorphic.swift
[64/68] Compiling Core Array.swift
[65/68] Compiling Core Bits.swift
[66/68] Compiling Core Cache.swift
[67/68] Compiling Core String.swift
[68/68] Compiling Core WorkingDirectory.swift
[70/121] Compiling Random Exports.swift
[71/121] Compiling Random OSRandom.swift
[72/121] Compiling Node Integer+Convertible.swift
[73/121] Compiling Node Schema+Convertible.swift
[74/122] Compiling Transport Stream.swift
[75/122] Compiling Transport StreamError.swift
[76/122] Compiling Random URandom.swift
[77/122] Compiling Random RandomProtocol.swift
[78/122] Compiling Random EmptyInitializable.swift
[79/122] Compiling Random Array+Random.swift
[80/122] Emitting module Random
[81/123] Emitting module Transport
[82/123] Compiling Node SchemaWrapper+Convertible.swift
[83/123] Compiling Node String+Convertible.swift
[84/123] Compiling Transport FoundationStream.swift
[85/123] Compiling Transport ServerStream.swift
[86/123] Compiling Transport ReadableStream.swift
[87/123] Compiling Transport WriteableStream.swift
[89/124] Compiling Node StructuredDataWrapper+Equatable.swift
[90/124] Compiling Node StructuredDataWrapper+Literals.swift
[91/124] Compiling Node StructuredDataWrapper+PathIndexable.swift
[92/124] Compiling Node StructuredDataWrapper+Polymorphic.swift
[97/124] Compiling Node UUID+Convertible.swift
[99/128] Emitting module Node
[100/128] Compiling Node UnsignedInteger+Convertible.swift
[101/128] Compiling Node Context.swift
[102/128] Compiling Node Node.swift
[103/128] Compiling Node NodeConvertible.swift
[104/128] Compiling Node NodeInitializable.swift
[105/128] Compiling Node Getters.swift
[106/128] Compiling Node Setters.swift
[107/128] Compiling Node Bool+Convertible.swift
[108/128] Compiling Node Date+Convertible.swift
[109/128] Compiling Node FloatingPoint+Convertible.swift
[110/149] Compiling Node StructuredData+PathIndexable.swift
[111/149] Compiling Node StructuredData+Polymorphic.swift
[112/149] Compiling Node StructuredData.swift
[113/149] Compiling Node StructuredDataWrapper+Cases.swift
[114/149] Compiling Node StructuredDataWrapper+Convenience.swift
[115/149] Compiling Sockets TCPReadableSocket.swift
[116/149] Compiling Sockets TCPSocket.swift
[117/149] Compiling Sockets Types.swift
[118/149] Compiling Sockets Exports.swift
[119/149] Compiling Sockets Config.swift
[120/149] Compiling Node Optional+Convertible.swift
[121/149] Compiling Node Set+Convertible.swift
[122/149] Compiling Node Number.swift
[123/149] Compiling Node StructuredData+Equatable.swift
[124/149] Compiling Node StructuredData+Init.swift
[127/149] Compiling Node StructuredDataWrapper.swift
[128/149] Compiling Node Errors.swift
[129/149] Compiling Node Exports.swift
[130/149] Compiling Node Identifier.swift
[131/151] Emitting module Sockets
[132/152] Compiling Sockets Descriptor.swift
[133/152] Compiling Sockets InternetSocket.swift
[134/152] Compiling Sockets Pipe.swift
[135/152] Compiling Sockets RawSocket.swift
[136/152] Compiling Sockets Select.swift
[137/152] Compiling Sockets Socket.swift
[142/152] Compiling Sockets SocketOptions.swift
[143/152] Compiling Sockets TCPEstablishedSocket.swift
[144/152] Compiling Sockets TCPInternetSocket.swift
[145/152] Compiling Sockets Address+C.swift
[146/152] Compiling Sockets Address.swift
[147/152] Compiling Sockets Buffer.swift
[148/152] Compiling Sockets Conversions.swift
[149/152] Compiling Sockets Error.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 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
[156/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
[157/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
[158/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
[159/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
[160/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
[161/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
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
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 \
[163/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
[164/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
[165/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
[166/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
BUILD FAILURE 6.0 linux