Build Information
Failed to build SwiftQ, reference 0.3.0 (01ef37
), with Swift 6.1 for Linux on 25 Apr 2025 12:04:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path: $PWD
https://github.com/john-connolly/swiftq.git
https://github.com/john-connolly/swiftq.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "redis",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/redis.git"
}
],
"manifest_display_name" : "SwiftQ",
"name" : "SwiftQ",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftQ",
"targets" : [
"SwiftQ"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftQTests",
"module_type" : "SwiftTarget",
"name" : "SwiftQTests",
"path" : "Tests/SwiftQTests",
"sources" : [
"SwiftQTests.swift"
],
"target_dependencies" : [
"SwiftQ"
],
"type" : "test"
},
{
"c99name" : "SwiftQ",
"module_type" : "SwiftTarget",
"name" : "SwiftQ",
"path" : "Sources/SwiftQ",
"product_dependencies" : [
"Redis"
],
"product_memberships" : [
"SwiftQ"
],
"sources" : [
"Configuration.swift",
"Core/Decoder.swift",
"Core/Host.swift",
"Core/JSONKey.swift",
"Core/Logger.swift",
"Core/Middleware.swift",
"Core/SwiftQ + Array.swift",
"Core/SwiftQ + Data.swift",
"Core/SwiftQ + Date.swift",
"Core/SwiftQ + Dictionary.swift",
"Core/SwiftQ + Optional.swift",
"Queues/QueueMonitor.swift",
"Queues/ReliableQueue.swift",
"Queues/ScheduledQueue.swift",
"Redis/Command.swift",
"Redis/ConnectionPool.swift",
"Redis/RedisAdaptor.swift",
"Redis/RedisConfiguration.swift",
"Redis/RedisKey.swift",
"Redis/RedisResponse.swift",
"SwiftQConsumer.swift",
"SwiftQError.swift",
"SwiftQProducer.swift",
"Task/EnqueueingBox.swift",
"Task/InitResource.swift",
"Task/PeriodicBox.swift",
"Task/PeriodicTask.swift",
"Task/PeriodicTime.swift",
"Task/RecoveryStrategy.swift",
"Task/ScheduledBox.swift",
"Task/Storage.swift",
"Task/Task.swift",
"Task/Time.swift",
"Worker/AsyncWorker.swift",
"Worker/Worker.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/vapor/redis.git
[1/3750] Fetching redis
Fetched https://github.com/vapor/redis.git from cache (0.28s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 2.2.0 (1.22s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/node.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/core.git
[1/148] Fetching random
[149/20291] Fetching random, core
[150/24502] Fetching random, core, node
[193/25646] Fetching random, core, node, tls
[547/28958] Fetching random, core, node, tls, sockets
Fetched https://github.com/vapor/random.git from cache (0.56s)
Fetched https://github.com/vapor/sockets.git from cache (0.56s)
Fetched https://github.com/vapor/node.git from cache (0.56s)
[17460/21287] Fetching core, tls
Fetched https://github.com/vapor/tls.git from cache (1.32s)
Fetched https://github.com/vapor/core.git from cache (1.35s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (2.27s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.55s)
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.23s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 2.2.1 (0.74s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[231/618] Fetching bits, debugging
Fetched https://github.com/vapor/bits.git from cache (0.26s)
Fetched https://github.com/vapor/debugging.git from cache (0.26s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.80s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (1.22s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.61s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.66s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.62s)
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/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 2.2.1
Creating working copy for https://github.com/vapor/sockets.git
Working copy of https://github.com/vapor/sockets.git resolved at 2.2.3
Creating working copy for https://github.com/vapor/tls.git
Working copy of https://github.com/vapor/tls.git resolved at 2.1.3
Creating working copy for https://github.com/vapor/debugging.git
Working copy of https://github.com/vapor/debugging.git resolved at 1.1.1
Creating working copy for https://github.com/vapor/bits.git
Working copy of https://github.com/vapor/bits.git resolved at 1.1.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/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
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 Debugging
[15/38] Compiling Debugging Debuggable.swift
[16/38] Emitting module Bits
[18/41] Compiling PathIndexable PathIndexable+Subscripting.swift
[19/41] Emitting module PathIndexable
[20/41] Compiling PathIndexable PathIndexable.swift
[22/42] Compiling Bits UnsignedInteger+BytesConvertible.swift
[23/42] Compiling Bits UnsignedInteger+Shifting.swift
[24/42] Compiling Bits Operators.swift
[25/42] Compiling Bits String+BytesConvertible.swift
[26/42] Emitting module libc
[27/42] Compiling libc libc.swift
[29/43] Compiling Bits Byte+Random.swift
[30/43] Compiling Bits Byte+UTF8Numbers.swift
[31/43] Compiling Bits ByteSequence+Conversions.swift
[32/43] Compiling Bits Aliases.swift
[33/43] Compiling Bits Base64Encoder.swift
[34/43] Compiling Bits Byte+Alphabet.swift
[35/43] Compiling Bits Bytes+Base64.swift
[36/43] Compiling Bits Bytes+Hex.swift
[37/43] Compiling Bits Byte+ControlCharacters.swift
[38/43] Compiling Bits Byte+Convenience.swift
[39/43] Compiling Bits Byte+PatternMatching.swift
[40/43] Compiling Bits Bytes+Percent.swift
[41/43] Compiling Bits BytesConvertible.swift
[42/43] Compiling Bits Data+BytesConvertible.swift
[43/43] Compiling Bits HexEncoder.swift
[45/66] Emitting module Core
[46/68] Compiling Core Result.swift
[47/68] Compiling Core Semaphore.swift
[48/68] Compiling Core Sequence.swift
[49/68] Compiling Core Array.swift
[50/68] Compiling Core Bits.swift
[51/68] Compiling Core Cache.swift
[52/68] Compiling Core Collection+Safe.swift
[53/68] Compiling Core DataFile.swift
[54/68] Compiling Core Dispatch.swift
[55/68] Compiling Core Lock.swift
[56/68] Compiling Core Portal.swift
[57/68] Compiling Core RFC1123.swift
[58/68] Compiling Core DispatchTime+Utilities.swift
[59/68] Compiling Core EmptyInitializable.swift
[60/68] Compiling Core Exports.swift
[61/68] Compiling Core Extendable.swift
[62/68] Compiling Core FileProtocol.swift
[63/68] Compiling Core Int+Hex.swift
[64/68] Compiling Core StaticDataBuffer.swift
[65/68] Compiling Core String+CaseInsensitiveCompare.swift
[66/68] Compiling Core String+Polymorphic.swift
[67/68] Compiling Core String.swift
[68/68] Compiling Core WorkingDirectory.swift
[70/121] Compiling Random URandom.swift
[71/121] Compiling Random EmptyInitializable.swift
[72/121] Compiling Transport ServerStream.swift
[73/122] Compiling Transport FoundationStream.swift
[74/122] Compiling Random Array+Random.swift
[75/122] Compiling Transport ReadableStream.swift
[76/122] Compiling Transport Exports.swift
[77/122] Compiling Transport ClientStream.swift
[78/122] Emitting module Transport
[79/122] Compiling Transport InternetStream.swift
[80/122] Compiling Transport Port.swift
[81/122] Emitting module Random
[82/122] Compiling Transport Stream.swift
[83/122] Compiling Transport StreamError.swift
[84/122] Compiling Transport WriteableStream.swift
[85/123] Compiling Random RandomProtocol.swift
[86/123] Compiling Node NodeRepresentable.swift
[87/123] Compiling Node Array+Convertible.swift
[88/123] Compiling Node Dictionary+Convertible.swift
[89/123] Compiling Node Fuzzy+Any.swift
[90/123] Compiling Node FuzzyConverter.swift
[91/123] Emitting module Node
[92/127] Compiling Node UnsignedInteger+Convertible.swift
[93/127] Compiling Node Context.swift
[94/127] Compiling Node Node.swift
[95/127] Compiling Node NodeConvertible.swift
[96/127] Compiling Node NodeInitializable.swift
[101/127] Compiling Node FloatingPoint+Convertible.swift
[103/127] Compiling Random Exports.swift
[104/127] Compiling Random OSRandom.swift
[105/128] Compiling Node StructuredDataWrapper+Equatable.swift
[106/128] Compiling Node StructuredDataWrapper+Literals.swift
[107/128] Compiling Node StructuredDataWrapper+PathIndexable.swift
[108/128] Compiling Node StructuredDataWrapper+Polymorphic.swift
[110/128] Compiling Node Integer+Convertible.swift
[111/128] Compiling Node Schema+Convertible.swift
[112/128] Compiling Node SchemaWrapper+Convertible.swift
[113/128] Compiling Node String+Convertible.swift
[114/128] Compiling Node UUID+Convertible.swift
[115/128] Compiling Node StructuredData+PathIndexable.swift
[116/128] Compiling Node StructuredData+Polymorphic.swift
[117/128] Compiling Node StructuredData.swift
[118/128] Compiling Node StructuredDataWrapper+Cases.swift
[119/128] Compiling Node StructuredDataWrapper+Convenience.swift
[120/128] Compiling Node Optional+Convertible.swift
[121/128] Compiling Node Set+Convertible.swift
[122/128] Compiling Node Number.swift
[123/128] Compiling Node StructuredData+Equatable.swift
[124/128] Compiling Node StructuredData+Init.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
[130/150] Emitting module Sockets
[131/152] Compiling Sockets Types.swift
[132/152] Compiling Sockets Exports.swift
[133/152] Compiling Sockets Config.swift
[134/152] Compiling Sockets SocketOptions.swift
[135/152] Compiling Sockets TCPEstablishedSocket.swift
[136/152] Compiling Sockets TCPInternetSocket.swift
[137/152] Compiling Sockets Descriptor.swift
[138/152] Compiling Sockets InternetSocket.swift
[139/152] Compiling Sockets Pipe.swift
[140/152] Compiling Sockets TCPWriteableSocket.swift
[141/152] Compiling Sockets UDPSocket.swift
[142/152] Compiling Sockets TCPReadableSocket.swift
[143/152] Compiling Sockets TCPSocket.swift
[144/152] Compiling Sockets Address+C.swift
[145/152] Compiling Sockets Address.swift
[146/152] Compiling Sockets Buffer.swift
[147/152] Compiling Sockets RawSocket.swift
[148/152] Compiling Sockets Select.swift
[149/152] Compiling Sockets Socket.swift
[150/152] Compiling Sockets Conversions.swift
[151/152] Compiling Sockets Error.swift
[152/152] Compiling Sockets FDSet.swift
[154/165] Compiling TLS Utilities.swift
[155/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[156/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 \
[157/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
[158/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
[159/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
[160/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
[161/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
[162/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
[163/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
[164/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
[165/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
[166/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
warning: you may be able to install ctls using your system-packager:
apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling Bits Operators.swift
[3/26] Compiling Bits String+BytesConvertible.swift
[4/28] Compiling PathIndexable PathIndexable+Subscripting.swift
[5/28] Compiling PathIndexable PathIndexable.swift
[6/28] Emitting module PathIndexable
[7/29] Compiling Bits Data+BytesConvertible.swift
[8/29] Compiling Bits HexEncoder.swift
[9/29] Emitting module libc
[10/29] Compiling libc libc.swift
[12/30] Emitting module Debugging
[13/30] Compiling Debugging Debuggable.swift
[14/31] Compiling Bits Bytes+Base64.swift
[15/31] Compiling Bits Bytes+Hex.swift
[16/31] Compiling Bits Bytes+Percent.swift
[17/31] Compiling Bits BytesConvertible.swift
[20/31] Compiling Bits Aliases.swift
[21/31] Compiling Bits Base64Encoder.swift
[22/31] Compiling Bits Byte+Alphabet.swift
[23/31] Emitting module Bits
[24/31] Compiling Bits UnsignedInteger+BytesConvertible.swift
[25/31] Compiling Bits UnsignedInteger+Shifting.swift
[26/31] Compiling Bits Byte+ControlCharacters.swift
[27/31] Compiling Bits Byte+Convenience.swift
[28/31] Compiling Bits Byte+PatternMatching.swift
[29/31] Compiling Bits Byte+Random.swift
[30/31] Compiling Bits Byte+UTF8Numbers.swift
[31/31] Compiling Bits ByteSequence+Conversions.swift
[33/54] Compiling Core Extendable.swift
[34/54] Compiling Core FileProtocol.swift
[35/54] Compiling Core Int+Hex.swift
[36/56] Emitting module Core
[37/56] Compiling Core Result.swift
[38/56] Compiling Core Semaphore.swift
[39/56] Compiling Core Sequence.swift
[40/56] Compiling Core String.swift
[41/56] Compiling Core WorkingDirectory.swift
[42/56] Compiling Core Collection+Safe.swift
[43/56] Compiling Core DataFile.swift
[44/56] Compiling Core Dispatch.swift
[45/56] Compiling Core Lock.swift
[46/56] Compiling Core Portal.swift
[47/56] Compiling Core RFC1123.swift
[48/56] Compiling Core DispatchTime+Utilities.swift
[49/56] Compiling Core EmptyInitializable.swift
[50/56] Compiling Core Exports.swift
[51/56] Compiling Core StaticDataBuffer.swift
[52/56] Compiling Core String+CaseInsensitiveCompare.swift
[53/56] Compiling Core String+Polymorphic.swift
[54/56] Compiling Core Array.swift
[55/56] Compiling Core Bits.swift
[56/56] Compiling Core Cache.swift
[58/109] Compiling Random URandom.swift
[59/109] Compiling Transport FoundationStream.swift
[60/110] Compiling Transport Stream.swift
[61/110] Compiling Transport ServerStream.swift
[62/110] Compiling Transport ReadableStream.swift
[63/110] Compiling Transport StreamError.swift
[64/110] Emitting module Random
[65/110] Compiling Random RandomProtocol.swift
[66/110] Compiling Random Exports.swift
[67/110] Compiling Random Array+Random.swift
[68/110] Compiling Random EmptyInitializable.swift
[69/110] Compiling Random OSRandom.swift
[70/111] Emitting module Node
[71/111] Compiling Node Getters.swift
[72/111] Compiling Node Setters.swift
[73/111] Compiling Node Bool+Convertible.swift
[74/111] Compiling Node Date+Convertible.swift
[75/111] Compiling Node FloatingPoint+Convertible.swift
[76/115] Compiling Node StructuredDataWrapper+Equatable.swift
[77/115] Compiling Node StructuredDataWrapper+Literals.swift
[78/115] Compiling Node StructuredDataWrapper+PathIndexable.swift
[79/115] Compiling Node StructuredDataWrapper+Polymorphic.swift
[84/115] Emitting module Transport
[85/115] Compiling Transport WriteableStream.swift
[87/116] Compiling Node StructuredData+PathIndexable.swift
[88/116] Compiling Node StructuredData+Polymorphic.swift
[89/116] Compiling Node StructuredData.swift
[90/116] Compiling Node StructuredDataWrapper+Cases.swift
[91/116] Compiling Node StructuredDataWrapper+Convenience.swift
[92/116] Compiling Node Integer+Convertible.swift
[93/116] Compiling Node Schema+Convertible.swift
[94/116] Compiling Node SchemaWrapper+Convertible.swift
[95/116] Compiling Node String+Convertible.swift
[96/116] Compiling Node UUID+Convertible.swift
[97/116] Compiling Node UnsignedInteger+Convertible.swift
[98/116] Compiling Node Context.swift
[99/116] Compiling Node Node.swift
[100/116] Compiling Node NodeConvertible.swift
[101/116] Compiling Node NodeInitializable.swift
[103/116] Compiling Node NodeRepresentable.swift
[104/116] Compiling Node Array+Convertible.swift
[105/116] Compiling Node Dictionary+Convertible.swift
[106/116] Compiling Node Fuzzy+Any.swift
[107/116] Compiling Node FuzzyConverter.swift
[108/116] Compiling Node Optional+Convertible.swift
[109/116] Compiling Node Set+Convertible.swift
[110/116] Compiling Node Number.swift
[111/116] Compiling Node StructuredData+Equatable.swift
[112/116] Compiling Node StructuredData+Init.swift
[113/116] Compiling Node StructuredDataWrapper.swift
[114/116] Compiling Node Errors.swift
[115/116] Compiling Node Exports.swift
[116/116] Compiling Node Identifier.swift
[118/138] Compiling Sockets TCPReadableSocket.swift
[119/138] Compiling Sockets TCPSocket.swift
[120/140] Emitting module Sockets
[121/140] Compiling Sockets RawSocket.swift
[122/140] Compiling Sockets Select.swift
[123/140] Compiling Sockets Socket.swift
[124/140] Compiling Sockets Descriptor.swift
[125/140] Compiling Sockets InternetSocket.swift
[126/140] Compiling Sockets Pipe.swift
[127/140] Compiling Sockets SocketOptions.swift
[128/140] Compiling Sockets TCPEstablishedSocket.swift
[129/140] Compiling Sockets TCPInternetSocket.swift
[130/140] Compiling Sockets Conversions.swift
[131/140] Compiling Sockets Error.swift
[132/140] Compiling Sockets FDSet.swift
[133/140] Compiling Sockets Address+C.swift
[134/140] Compiling Sockets Address.swift
[135/140] Compiling Sockets Buffer.swift
[136/140] Compiling Sockets Types.swift
[137/140] Compiling Sockets Exports.swift
[138/140] Compiling Sockets Config.swift
[139/140] Compiling Sockets TCPWriteableSocket.swift
[140/140] Compiling Sockets UDPSocket.swift
[142/153] 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)
[143/154] 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 \
[144/154] 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
[145/154] 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
[146/154] 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
[147/154] 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
[148/154] Compiling TLS Utilities.swift
[149/154] 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
[150/154] 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
[151/154] 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
[152/154] 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
[153/154] 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
[154/154] 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
BUILD FAILURE 6.1 linux