This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build VaporRedisClient with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reswifq/redis-client-vapor.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/reswifq/redis-client-vapor
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 29160f2 Merge branch 'master' of github.com:reswifq/redis-client-vapor
Cloned https://github.com/reswifq/redis-client-vapor.git
Revision (git rev-parse @):
29160f257b412de375396ed7cd725bc1ecab2b54
SUCCESS checkout https://github.com/reswifq/redis-client-vapor.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/reswifq/redis-client-vapor.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/vapor/redis.git
Fetching https://github.com/reswifq/redis-client.git
[1/3735] Fetching redis
[2/3830] Fetching redis, redis-client
Fetched https://github.com/reswifq/redis-client.git from cache (0.24s)
Fetched https://github.com/vapor/redis.git from cache (0.24s)
Computing version for https://github.com/reswifq/redis-client.git
Computed https://github.com/reswifq/redis-client.git at 1.3.0 (0.85s)
Fetching https://github.com/reswifq/pool.git
[1/69] Fetching pool
Fetched https://github.com/reswifq/pool.git from cache (0.22s)
Computing version for https://github.com/reswifq/pool.git
Computed https://github.com/reswifq/pool.git at 1.3.0 (0.46s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 2.2.0 (1.14s)
Fetching https://github.com/vapor/tls.git
Fetching https://github.com/vapor/random.git
Fetching https://github.com/vapor/sockets.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/node.git
[1/148] Fetching random
[149/4359] Fetching random, node
[1034/24502] Fetching random, node, core
[6147/27814] Fetching random, node, core, sockets
[6148/28958] Fetching random, node, core, sockets, tls
Fetched https://github.com/vapor/node.git from cache (0.40s)
[20920/24747] Fetching random, core, sockets, tls
Fetched https://github.com/vapor/random.git from cache (1.04s)
Fetched https://github.com/vapor/tls.git from cache (1.04s)
Fetched https://github.com/vapor/sockets.git from cache (1.04s)
Fetched https://github.com/vapor/core.git from cache (1.05s)
Computing version for https://github.com/vapor/random.git
Computed https://github.com/vapor/random.git at 1.2.0 (0.54s)
Computing version for https://github.com/vapor/tls.git
Computed https://github.com/vapor/tls.git at 2.1.3 (0.45s)
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.43s)
Fetching https://github.com/vapor/debugging.git
Fetching https://github.com/vapor/bits.git
[1/358] Fetching bits
[274/618] Fetching bits, debugging
Fetched https://github.com/vapor/debugging.git from cache (0.22s)
Fetched https://github.com/vapor/bits.git from cache (0.22s)
Computing version for https://github.com/vapor/debugging.git
Computed https://github.com/vapor/debugging.git at 1.1.1 (0.43s)
Computing version for https://github.com/vapor/bits.git
Computed https://github.com/vapor/bits.git at 1.1.1 (0.44s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.48s)
Computing version for https://github.com/vapor/sockets.git
Computed https://github.com/vapor/sockets.git at 2.2.3 (0.45s)
Computing version for https://github.com/vapor/node.git
Computed https://github.com/vapor/node.git at 2.1.5 (0.45s)
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/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 2.2.0
Creating working copy for https://github.com/vapor/node.git
Working copy of https://github.com/vapor/node.git resolved at 2.1.5
Creating working copy for https://github.com/vapor/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/reswifq/redis-client.git
Working copy of https://github.com/reswifq/redis-client.git resolved at 1.3.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/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/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
Creating working copy for https://github.com/reswifq/pool.git
Working copy of https://github.com/reswifq/pool.git resolved at 1.3.0
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/15] Write sources
[14/15] Write swift-version-24593BA9C3E375BF.txt
[16/42] Compiling PathIndexable PathIndexable.swift
[17/42] Emitting module PathIndexable
[18/42] Compiling PathIndexable PathIndexable+Subscripting.swift
[20/43] Emitting module Bits
[21/44] Emitting module Debugging
[22/45] Compiling Debugging Debuggable.swift
[23/46] Compiling Bits Operators.swift
[24/46] Compiling Bits String+BytesConvertible.swift
[26/46] Compiling Bits UnsignedInteger+BytesConvertible.swift
[27/46] Compiling Bits UnsignedInteger+Shifting.swift
[28/46] Emitting module libc
[29/46] Compiling libc libc.swift
[31/47] Compiling Bits Aliases.swift
[32/47] Compiling Bits Base64Encoder.swift
[33/47] Compiling Bits Byte+Alphabet.swift
[34/47] Compiling Bits Byte+ControlCharacters.swift
[35/47] Compiling Bits Byte+Convenience.swift
[36/47] Compiling Bits Byte+PatternMatching.swift
[37/47] Compiling Bits Data+BytesConvertible.swift
[38/47] Compiling Bits HexEncoder.swift
[39/47] Compiling Bits Bytes+Base64.swift
[40/47] Compiling Bits Bytes+Hex.swift
[41/47] Compiling Bits Byte+Random.swift
[42/47] Compiling Bits Byte+UTF8Numbers.swift
[43/47] Compiling Bits ByteSequence+Conversions.swift
[44/47] Compiling Bits Bytes+Percent.swift
[45/47] Compiling Bits BytesConvertible.swift
[46/47] Emitting module Pool
[47/47] Compiling Pool Pool.swift
[50/75] Emitting module Core
[51/77] Compiling Core DispatchTime+Utilities.swift
[52/77] Compiling Core EmptyInitializable.swift
[53/77] Compiling Core Exports.swift
[54/77] Compiling RedisClient RedisClientPool.swift
[55/77] Compiling RedisClient RedisClientResponse.swift
[56/77] Compiling Core Lock.swift
[57/77] Compiling Core Portal.swift
[58/77] Compiling Core RFC1123.swift
[59/77] Compiling Core Array.swift
[60/77] Compiling Core Bits.swift
[61/77] Compiling Core Cache.swift
[62/77] Compiling Core Collection+Safe.swift
[63/77] Compiling Core DataFile.swift
[64/77] Compiling Core Dispatch.swift
[65/77] Compiling Core String.swift
[66/77] Compiling Core WorkingDirectory.swift
[67/77] Compiling Core Extendable.swift
[68/77] Compiling Core FileProtocol.swift
[69/77] Compiling Core Int+Hex.swift
[70/77] Compiling Core Result.swift
[71/77] Compiling Core Semaphore.swift
[72/77] Compiling Core Sequence.swift
[73/77] Compiling Core StaticDataBuffer.swift
[74/77] Compiling Core String+CaseInsensitiveCompare.swift
[75/77] Compiling Core String+Polymorphic.swift
[76/78] Emitting module RedisClient
[77/78] Compiling RedisClient RedisClient.swift
[80/131] Compiling Transport Stream.swift
[81/132] Compiling Random URandom.swift
[82/132] Compiling Random RandomProtocol.swift
[83/132] Compiling Transport WriteableStream.swift
[84/132] Compiling Random Exports.swift
[85/132] Compiling Random OSRandom.swift
[86/132] Compiling Transport StreamError.swift
[87/132] Compiling Random Array+Random.swift
[88/132] Compiling Random EmptyInitializable.swift
[89/132] Emitting module Random
[90/133] Compiling Transport ServerStream.swift
[91/133] Compiling Transport FoundationStream.swift
[92/133] Compiling Transport ReadableStream.swift
[93/133] Compiling Node Getters.swift
[94/133] Compiling Node Setters.swift
[95/133] Emitting module Transport
[96/133] Compiling Node Bool+Convertible.swift
[97/133] Compiling Node Date+Convertible.swift
[100/134] Compiling Node NodeRepresentable.swift
[101/134] Compiling Node Array+Convertible.swift
[102/134] Compiling Node Dictionary+Convertible.swift
[103/134] Compiling Node Fuzzy+Any.swift
[104/134] Compiling Node FuzzyConverter.swift
[105/138] Compiling Node StructuredDataWrapper+Equatable.swift
[106/138] Compiling Node StructuredDataWrapper+Literals.swift
[107/138] Compiling Node StructuredDataWrapper+PathIndexable.swift
[108/138] Compiling Node StructuredDataWrapper+Polymorphic.swift
[109/138] Compiling Node Integer+Convertible.swift
[110/138] Compiling Node Schema+Convertible.swift
[111/138] Compiling Node SchemaWrapper+Convertible.swift
[112/138] Compiling Node String+Convertible.swift
[113/138] Compiling Node UUID+Convertible.swift
[114/138] Compiling Node UnsignedInteger+Convertible.swift
[115/138] Compiling Node Context.swift
[116/138] Compiling Node Node.swift
[117/138] Compiling Node NodeConvertible.swift
[118/138] Compiling Node NodeInitializable.swift
[123/138] Compiling Node FloatingPoint+Convertible.swift
[124/159] Compiling Node StructuredData+PathIndexable.swift
[125/159] Compiling Node StructuredData+Polymorphic.swift
[126/159] Compiling Node StructuredData.swift
[127/159] Compiling Node StructuredDataWrapper+Cases.swift
[128/159] Compiling Node StructuredDataWrapper+Convenience.swift
[129/159] Emitting module Node
[130/159] Compiling Node Optional+Convertible.swift
[131/159] Compiling Node Set+Convertible.swift
[132/159] Compiling Node Number.swift
[133/159] Compiling Node StructuredData+Equatable.swift
[134/159] Compiling Node StructuredData+Init.swift
[135/159] Emitting module Sockets
[136/161] Compiling Sockets RawSocket.swift
[137/161] Compiling Sockets Select.swift
[138/161] Compiling Sockets Socket.swift
[139/161] Compiling Node StructuredDataWrapper.swift
[140/161] Compiling Node Errors.swift
[141/161] Compiling Node Exports.swift
[142/161] Compiling Node Identifier.swift
[143/162] Compiling Sockets Descriptor.swift
[144/162] Compiling Sockets InternetSocket.swift
[145/162] Compiling Sockets Pipe.swift
[147/162] Compiling Sockets SocketOptions.swift
[148/162] Compiling Sockets TCPEstablishedSocket.swift
[149/162] Compiling Sockets TCPInternetSocket.swift
[150/162] Compiling Sockets Conversions.swift
[151/162] Compiling Sockets Error.swift
[152/162] Compiling Sockets FDSet.swift
[153/162] Compiling Sockets TCPWriteableSocket.swift
[154/162] Compiling Sockets UDPSocket.swift
[155/162] Compiling Sockets Address+C.swift
[156/162] Compiling Sockets Address.swift
[157/162] Compiling Sockets Buffer.swift
[158/162] Compiling Sockets Types.swift
[159/162] Compiling Sockets Exports.swift
[160/162] Compiling Sockets Config.swift
[161/162] Compiling Sockets TCPReadableSocket.swift
[162/162] Compiling Sockets TCPSocket.swift
[164/175] Compiling TLS Utilities.swift
[165/176] Compiling TLS Mode.swift
/host/spi-builder-workspace/.build/checkouts/tls/Sources/TLS/Context.swift:7:46: error: cannot find type 'SSL' in scope
  5 | public typealias CContext = UnsafeMutablePointer<SSL_CTX>
  6 | public typealias CMethod = UnsafePointer<SSL_METHOD>
  7 | public typealias CSSL = UnsafeMutablePointer<SSL>
    |                                              `- error: cannot find type 'SSL' in scope
  8 |
  9 | /// An SSL context that contains the
[166/176] 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
[167/176] 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
[168/176] 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
[169/176] 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
[170/176] 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
[171/176] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[172/176] 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 \
[173/176] 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
[174/176] 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
[175/176] 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
[176/176] 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
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.