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 ForecastIO-Vapor with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aaastorga/darksky-provider.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/aaastorga/darksky-provider
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7dfb258 Update DarkSkyClient.swift
Cloned https://github.com/aaastorga/darksky-provider.git
Revision (git rev-parse @):
7dfb258e0e2fb4168922483aacc6774e7b14626d
SUCCESS checkout https://github.com/aaastorga/darksky-provider.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/aaastorga/darksky-provider.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/service.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/919] Fetching service
[920/934] Fetching service, swift-nio-zlib-support
[935/950] Fetching service, swift-nio-zlib-support, swift-nio-ssl-support
[951/26417] Fetching service, swift-nio-zlib-support, swift-nio-ssl-support, http
[21325/38564] Fetching service, swift-nio-zlib-support, swift-nio-ssl-support, http, swift-nio-ssl
[38565/103039] Fetching service, swift-nio-zlib-support, swift-nio-ssl-support, http, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (1.10s)
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (1.10s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/service.git from cache (1.10s)
[49865/102089] Fetching http, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.12s)
Fetched https://github.com/vapor/http.git from cache (1.12s)
[12895/64475] Fetching swift-nio
[16120/84618] Fetching swift-nio, core
[36305/151896] Fetching swift-nio, core, vapor
Fetched https://github.com/vapor/core.git from cache (1.88s)
Fetched https://github.com/vapor/vapor.git from cache (1.91s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.45s)
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/template-kit.git
[1/579] Fetching validation
[580/21247] Fetching validation, routing
[994/23658] Fetching validation, routing, websocket
[5265/24039] Fetching validation, routing, websocket, url-encoded-form
Fetched https://github.com/vapor/validation.git from cache (1.10s)
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/apple/swift-nio.git from cache (4.57s)
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/routing.git from cache (1.11s)
Fetching https://github.com/vapor/crypto.git
[1/1282] Fetching template-kit
[1283/2463] Fetching template-kit, database-kit
[2464/5249] Fetching template-kit, database-kit, crypto
[2687/6949] Fetching template-kit, database-kit, crypto, multipart
Fetched https://github.com/vapor/url-encoded-form.git from cache (1.30s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/vapor/websocket.git from cache (1.30s)
Fetched https://github.com/vapor/template-kit.git from cache (1.30s)
[1601/5667] Fetching database-kit, crypto, multipart
Fetched https://github.com/vapor/database-kit.git from cache (0.21s)
[1903/4486] Fetching crypto, multipart
Fetched https://github.com/vapor/crypto.git from cache (0.26s)
[511/6978] Fetching multipart, console
Fetched https://github.com/vapor/console.git from cache (0.34s)
[527/1700] Fetching multipart
Fetched https://github.com/vapor/multipart.git from cache (1.34s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.39s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.1.3 (0.40s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.5.1 (0.43s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.39s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.00s)
Computed https://github.com/vapor/core.git at 3.1.3 (0.00s)
Computed https://github.com/vapor/http.git at 3.4.0 (0.00s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.1.0 (0.40s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.37s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.38s)
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.44s)
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.00s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.38s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.0.2 (0.39s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.41s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.38s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.38s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.40s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.38s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.39s)
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.1.3
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/42] Write sources
[27/42] Compiling CNIOZlib empty.c
[28/42] Compiling CNIOSHA1 c_nio_sha1.c
[29/42] Compiling CNIODarwin shim.c
[30/42] Compiling CNIOLinux ifaddrs-android.c
[31/42] Compiling CNIOOpenSSL empty.c
[32/42] Compiling CNIOLinux shim.c
[32/42] Write sources
[35/42] Compiling CBase32 base32.c
[36/42] Compiling CBcrypt bcrypt.c
[37/42] Compiling CBcrypt blf.c
[38/42] Compiling CNIOHTTPParser c_nio_http_parser.c
[39/42] Write swift-version-24593BA9C3E375BF.txt
[40/42] Compiling CCryptoOpenSSL shim.c
[42/51] Emitting module NIOPriorityQueue
[42/51] Compiling c-atomics.c
[44/54] Compiling Debugging SourceLocation.swift
[45/54] Compiling NIOPriorityQueue PriorityQueue.swift
[46/54] Compiling Debugging Demangler.swift
[47/54] Emitting module COperatingSystem
[48/54] Compiling COperatingSystem libc.swift
[49/55] Emitting module Debugging
[50/55] Compiling Debugging Debuggable.swift
[52/56] Compiling NIOConcurrencyHelpers atomics.swift
[53/56] Emitting module NIOConcurrencyHelpers
[54/56] Compiling NIOConcurrencyHelpers lock.swift
[56/57] Compiling NIOPriorityQueue Heap.swift
[59/108] Compiling NIO Heap.swift
[60/108] Compiling NIO IO.swift
[61/108] Compiling NIO IOData.swift
[62/108] Compiling NIO IntegerTypes.swift
[63/108] Compiling NIO Interfaces.swift
[64/108] Compiling NIO Linux.swift
[65/108] Compiling NIO LinuxCPUSet.swift
[66/114] Emitting module NIO
[67/114] Compiling NIO EventLoop.swift
[68/114] Compiling NIO EventLoopFuture.swift
[69/114] Compiling NIO FileDescriptor.swift
[70/114] Compiling NIO FileHandle.swift
[71/114] Compiling NIO FileRegion.swift
[72/114] Compiling NIO GetaddrinfoResolver.swift
[73/114] Compiling NIO HappyEyeballs.swift
[74/114] Compiling NIO RecvByteBufferAllocator.swift
[75/114] Compiling NIO Resolver.swift
[76/114] Compiling NIO Selectable.swift
[77/114] Compiling NIO Selector.swift
[78/114] Compiling NIO ServerSocket.swift
[79/114] Compiling NIO Socket.swift
[80/114] Compiling NIO SocketAddresses.swift
[81/114] Compiling NIO MarkedCircularBuffer.swift
[82/114] Compiling NIO MulticastChannel.swift
[83/114] Compiling NIO NIOAny.swift
[84/114] Compiling NIO NonBlockingFileIO.swift
[85/114] Compiling NIO PendingDatagramWritesManager.swift
[86/114] Compiling NIO PendingWritesManager.swift
[87/114] Compiling NIO PriorityQueue.swift
[88/114] Compiling NIO ByteBuffer-int.swift
[89/114] Compiling NIO ByteBuffer-views.swift
[90/114] Compiling NIO Channel.swift
[91/114] Compiling NIO ChannelHandler.swift
[92/114] Compiling NIO ChannelHandlers.swift
[93/114] Compiling NIO ChannelInvoker.swift
[94/114] Compiling NIO ChannelOption.swift
[95/114] Compiling NIO ChannelPipeline.swift
[96/114] Compiling NIO CircularBuffer.swift
[97/114] Compiling NIO Codec.swift
[98/114] Compiling NIO CompositeError.swift
[99/114] Compiling NIO ContiguousCollection.swift
[100/114] Compiling NIO DeadChannel.swift
[101/114] Compiling NIO Embedded.swift
[102/114] Compiling NIO AddressedEnvelope.swift
[103/114] Compiling NIO BaseSocket.swift
[104/114] Compiling NIO BaseSocketChannel.swift
[105/114] Compiling NIO BlockingIOThreadPool.swift
[106/114] Compiling NIO Bootstrap.swift
[107/114] Compiling NIO ByteBuffer-aux.swift
[108/114] Compiling NIO ByteBuffer-core.swift
[109/114] Compiling NIO SocketChannel.swift
[110/114] Compiling NIO SocketOptionProvider.swift
[111/114] Compiling NIO System.swift
[112/114] Compiling NIO Thread.swift
[113/114] Compiling NIO TypeAssistedChannelHandler.swift
[114/114] Compiling NIO Utilities.swift
[116/157] Compiling NIOTLS TLSEvents.swift
[117/157] Compiling Async Future+Map.swift
[118/157] Compiling Async Future+Transform.swift
[119/158] Compiling Bits ByteBuffer+require.swift
[120/158] Compiling Bits ByteBuffer+string.swift
[121/158] Emitting module Async
[122/158] Compiling Async Exports.swift
[123/158] Compiling Async Future+DoCatch.swift
[124/158] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[125/158] Emitting module NIOTLS
[126/158] Compiling Async Collection+Future.swift
[127/158] Compiling Async Deprecated.swift
[128/158] Compiling Async Async+NIO.swift
[129/158] Compiling Async AsyncError.swift
[130/158] Compiling Async Worker.swift
[131/158] Emitting module NIOFoundationCompat
[132/158] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[133/158] Emitting module Bits
[140/160] Compiling Async FutureType.swift
[141/160] Compiling Async QueueHandler.swift
[142/160] Compiling Async Future+Variadic.swift
[143/160] Compiling Async Future+Void.swift
[145/161] Compiling Bits Deprecated.swift
[146/161] Compiling Bits Bytes.swift
[147/161] Compiling Bits Data+Bytes.swift
[150/161] Compiling Bits Data+Strings.swift
[153/162] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[154/163] Compiling NIOTLS SNIHandler.swift
[156/164] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[157/164] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[158/176] Compiling NIOHTTP1 HTTPEncoder.swift
[159/202] Emitting module Random
[160/202] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[161/202] Compiling Random Array+Random.swift
[162/202] Compiling Random OSRandom.swift
[163/202] Compiling Random RandomProtocol.swift
[164/202] Compiling Random URandom.swift
[166/203] Compiling Core Deprecated.swift
[167/203] Compiling Core DirectoryConfig.swift
[168/203] Compiling Core Exports.swift
[169/203] Compiling Core NestedData.swift
[170/203] Compiling Core OptionalType.swift
[171/203] Compiling Core Process+Execute.swift
[172/206] Compiling Core Data+Base64URL.swift
[173/206] Compiling Core Data+Hex.swift
[174/206] Compiling Core DataCoders.swift
[175/206] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[176/206] Compiling NIOHTTP1 HTTPTypes.swift
[177/206] Compiling Core Reflectable.swift
[178/206] Compiling Core String+Utilities.swift
[179/206] Compiling Core Thread+Async.swift
[180/206] Emitting module NIOHTTP1
[181/206] Compiling NIOOpenSSL OpenSSLHandler.swift
[182/206] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[183/207] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[184/207] Compiling NIOOpenSSL SSLCertificate.swift
[185/207] Compiling NIOOpenSSL SSLConnection.swift
[188/207] Compiling NIOOpenSSL IdentityVerification.swift
[190/216] Compiling NIOOpenSSL SSLInit.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:28:5: error: cannot find 'SSL_library_init' in scope
    SSL_library_init()
    ^~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
#  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:29:5: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
    OPENSSL_add_all_algorithms_conf()
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
#  define OPENSSL_add_all_algorithms_conf() \
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:30:5: error: cannot find 'SSL_load_error_strings' in scope
    SSL_load_error_strings()
    ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
#  define SSL_load_error_strings() \
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:31:5: error: cannot find 'ERR_load_crypto_strings' in scope
    ERR_load_crypto_strings()
    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:468:10: note: macro 'ERR_load_crypto_strings' unavailable: function like macros not supported
# define ERR_load_crypto_strings() \
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:39:8: error: cannot find 'CRYPTO_get_locking_callback' in scope
    if CRYPTO_get_locking_callback() == nil { setupLockingCallbacks() }
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/crypto.h:291:11: note: macro 'CRYPTO_get_locking_callback' unavailable: function like macros not supported
#  define CRYPTO_get_locking_callback()         (NULL)
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:51:25: error: cannot find 'CRYPTO_num_locks' in scope
    let lockCount = Int(CRYPTO_num_locks())
                        ^~~~~~~~~~~~~~~~
/usr/include/openssl/crypto.h:289:11: note: macro 'CRYPTO_num_locks' unavailable: function like macros not supported
#  define CRYPTO_num_locks()            (1)
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:74:5: error: cannot find 'CRYPTO_set_id_callback' in scope
    CRYPTO_set_id_callback(getThreadID)
    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:75:5: error: cannot find 'CRYPTO_set_locking_callback' in scope
    CRYPTO_set_locking_callback(opensslLockingCallback)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[191/216] Compiling NIOOpenSSL SSLPrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:27:44: error: cannot find type 'EVP_PKEY' in scope
    internal let ref: UnsafeMutablePointer<EVP_PKEY>
                                           ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:29:58: error: cannot find type 'EVP_PKEY' in scope
    private init(withReference ref: UnsafeMutablePointer<EVP_PKEY>) {
                                                         ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:93:65: error: cannot find type 'EVP_PKEY' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<EVP_PKEY>) -> OpenSSLPrivateKey {
                                                                ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:43:39: error: cannot find type 'EVP_PKEY' in scope
        let key: UnsafeMutablePointer<EVP_PKEY>?
                                      ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:55:14: error: no exact matches in call to initializer
        self.init(withReference: key!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:35:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:60:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:68:39: error: cannot find type 'EVP_PKEY' in scope
        let key: UnsafeMutablePointer<EVP_PKEY>?
                                      ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:80:14: error: no exact matches in call to initializer
        self.init(withReference: key!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:35:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:60:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:94:16: error: no exact matches in call to initializer
        return OpenSSLPrivateKey(withReference: UnsafeMutablePointer(mutating: pointer))
               ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:35:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:60:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:94:49: error: generic parameter 'Pointee' could not be inferred
        return OpenSSLPrivateKey(withReference: UnsafeMutablePointer(mutating: pointer))
                                                ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:94:49: note: explicitly specify the generic arguments to fix this issue
        return OpenSSLPrivateKey(withReference: UnsafeMutablePointer(mutating: pointer))
                                                ^
                                                                    <Any>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[192/216] Emitting module NIOOpenSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:40:58: error: cannot find type 'X509' in scope
    private init(withReference ref: UnsafeMutablePointer<X509>) {
                                                         ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:106:65: error: cannot find type 'X509' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<X509>) -> OpenSSLCertificate {
                                                                ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:179:49: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    private let nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>
                                                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:183:42: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    init(nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>) {
                                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:39:43: error: cannot find type 'SSL' in scope
    private let ssl: UnsafeMutablePointer<SSL>
                                          ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:41:51: error: cannot find type 'BIO' in scope
    private let fromNetwork: UnsafeMutablePointer<BIO>
                                                  ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:42:49: error: cannot find type 'BIO' in scope
    private let toNetwork: UnsafeMutablePointer<BIO>
                                                ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:52:40: error: cannot find type 'SSL' in scope
    init? (_ ssl: UnsafeMutablePointer<SSL>, parentContext: SSLContext) {
                                       ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:72:75: error: cannot find type 'X509_STORE_CTX' in scope
private func verifyCallback(preverifyOk: Int32, ctx: UnsafeMutablePointer<X509_STORE_CTX>?) -> Int32 {
                                                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:77:53: error: cannot find type 'SSL' in scope
private func alpnCallback(ssl: UnsafeMutablePointer<SSL>?,
                                                    ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:110:50: error: cannot find type 'SSL_CTX' in scope
    private let sslContext: UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:254:95: error: cannot find type 'SSL_CTX' in scope
    private static func useCertificateChainFile(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) {
                                                                                              ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:265:102: error: cannot find type 'SSL_CTX' in scope
    private static func setLeafCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                     ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:272:113: error: cannot find type 'SSL_CTX' in scope
    private static func addAdditionalChainCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                                ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:279:95: error: cannot find type 'SSL_CTX' in scope
    private static func setPrivateKey(_ key: OpenSSLPrivateKey, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                              ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:285:102: error: cannot find type 'SSL_CTX' in scope
    private static func addRootCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                     ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:292:89: error: cannot find type 'SSL_CTX' in scope
    private static func usePrivateKeyFile(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) {
                                                                                        ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:314:91: error: cannot find type 'SSL_CTX' in scope
    private static func loadVerifyLocations(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                          ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:337:96: error: cannot find type 'SSL_CTX' in scope
    private static func setAlpnProtocols(_ protocols: [[UInt8]], context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                               ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:351:71: error: cannot find type 'SSL_CTX' in scope
    private static func setAlpnCallback(context: UnsafeMutablePointer<SSL_CTX>) {
                                                                      ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:27:44: error: cannot find type 'EVP_PKEY' in scope
    internal let ref: UnsafeMutablePointer<EVP_PKEY>
                                           ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:29:58: error: cannot find type 'EVP_PKEY' in scope
    private init(withReference ref: UnsafeMutablePointer<EVP_PKEY>) {
                                                         ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:93:65: error: cannot find type 'EVP_PKEY' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<EVP_PKEY>) -> OpenSSLPrivateKey {
                                                                ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:179:49: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    private let nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>
                                                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:179:49: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    private let nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>
                                                ^~~~~~~~~~~~~~~~~~~~~
[195/217] Compiling NIOWebSocket Base64.swift
[196/217] Compiling NIOWebSocket SHA1.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:40:58: error: cannot find type 'X509' in scope
    private init(withReference ref: UnsafeMutablePointer<X509>) {
                                                         ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:106:65: error: cannot find type 'X509' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<X509>) -> OpenSSLCertificate {
                                                                ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:179:49: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    private let nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>
                                                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:183:42: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    init(nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>) {
                                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:56:40: error: cannot find type 'X509' in scope
        let x509: UnsafeMutablePointer<X509>?
                                       ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:68:14: error: no exact matches in call to initializer
        self.init(withReference: x509!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:81:40: error: cannot find type 'X509' in scope
        let x509: UnsafeMutablePointer<X509>?
                                       ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:93:14: error: no exact matches in call to initializer
        self.init(withReference: x509!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:16: error: no exact matches in call to initializer
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
               ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:50: error: generic parameter 'Pointee' could not be inferred
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
                                                 ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:50: note: explicitly specify the generic arguments to fix this issue
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
                                                 ^
                                                                     <Any>
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:115:61: error: cannot find 'stack_st_GENERAL_NAME' in scope
        let sanNames = sanExtension.assumingMemoryBound(to: stack_st_GENERAL_NAME.self)
                                                            ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:159:21: error: missing arguments for parameters #2, #3 in call
        CRYPTO_free(namePtr)
                    ^
CNIOOpenSSL.CRYPTO_free:1:13: note: 'CRYPTO_free' declared here
public func CRYPTO_free(_ ptr: UnsafeMutableRawPointer!, _ file: UnsafePointer<CChar>!, _ line: Int32)
            ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:39:43: error: cannot find type 'SSL' in scope
    private let ssl: UnsafeMutablePointer<SSL>
                                          ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:41:51: error: cannot find type 'BIO' in scope
    private let fromNetwork: UnsafeMutablePointer<BIO>
                                                  ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:42:49: error: cannot find type 'BIO' in scope
    private let toNetwork: UnsafeMutablePointer<BIO>
                                                ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:52:40: error: cannot find type 'SSL' in scope
    init? (_ ssl: UnsafeMutablePointer<SSL>, parentContext: SSLContext) {
                                       ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:290:29: error: cannot find 'SSL_get_peer_certificate' in scope
        guard let certPtr = SSL_get_peer_certificate(ssl) else {
                            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:40:58: error: cannot find type 'X509' in scope
    private init(withReference ref: UnsafeMutablePointer<X509>) {
                                                         ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:106:65: error: cannot find type 'X509' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<X509>) -> OpenSSLCertificate {
                                                                ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:179:49: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    private let nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>
                                                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:183:42: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    init(nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>) {
                                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:56:40: error: cannot find type 'X509' in scope
        let x509: UnsafeMutablePointer<X509>?
                                       ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:68:14: error: no exact matches in call to initializer
        self.init(withReference: x509!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:81:40: error: cannot find type 'X509' in scope
        let x509: UnsafeMutablePointer<X509>?
                                       ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:93:14: error: no exact matches in call to initializer
        self.init(withReference: x509!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:16: error: no exact matches in call to initializer
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
               ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:50: error: generic parameter 'Pointee' could not be inferred
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
                                                 ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:50: note: explicitly specify the generic arguments to fix this issue
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
                                                 ^
                                                                     <Any>
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:115:61: error: cannot find 'stack_st_GENERAL_NAME' in scope
        let sanNames = sanExtension.assumingMemoryBound(to: stack_st_GENERAL_NAME.self)
                                                            ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:159:21: error: missing arguments for parameters #2, #3 in call
        CRYPTO_free(namePtr)
                    ^
CNIOOpenSSL.CRYPTO_free:1:13: note: 'CRYPTO_free' declared here
public func CRYPTO_free(_ ptr: UnsafeMutableRawPointer!, _ file: UnsafePointer<CChar>!, _ line: Int32)
            ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:39:43: error: cannot find type 'SSL' in scope
    private let ssl: UnsafeMutablePointer<SSL>
                                          ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:41:51: error: cannot find type 'BIO' in scope
    private let fromNetwork: UnsafeMutablePointer<BIO>
                                                  ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:42:49: error: cannot find type 'BIO' in scope
    private let toNetwork: UnsafeMutablePointer<BIO>
                                                ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:52:40: error: cannot find type 'SSL' in scope
    init? (_ ssl: UnsafeMutablePointer<SSL>, parentContext: SSLContext) {
                                       ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:290:29: error: cannot find 'SSL_get_peer_certificate' in scope
        guard let certPtr = SSL_get_peer_certificate(ssl) else {
                            ^~~~~~~~~~~~~~~~~~~~~~~~
[199/217] Compiling NIOOpenSSL SSLContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:72:75: error: cannot find type 'X509_STORE_CTX' in scope
private func verifyCallback(preverifyOk: Int32, ctx: UnsafeMutablePointer<X509_STORE_CTX>?) -> Int32 {
                                                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:77:53: error: cannot find type 'SSL' in scope
private func alpnCallback(ssl: UnsafeMutablePointer<SSL>?,
                                                    ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:110:50: error: cannot find type 'SSL_CTX' in scope
    private let sslContext: UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:254:95: error: cannot find type 'SSL_CTX' in scope
    private static func useCertificateChainFile(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) {
                                                                                              ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:265:102: error: cannot find type 'SSL_CTX' in scope
    private static func setLeafCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                     ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:272:113: error: cannot find type 'SSL_CTX' in scope
    private static func addAdditionalChainCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                                ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:279:95: error: cannot find type 'SSL_CTX' in scope
    private static func setPrivateKey(_ key: OpenSSLPrivateKey, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                              ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:285:102: error: cannot find type 'SSL_CTX' in scope
    private static func addRootCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                     ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:292:89: error: cannot find type 'SSL_CTX' in scope
    private static func usePrivateKeyFile(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) {
                                                                                        ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:314:91: error: cannot find type 'SSL_CTX' in scope
    private static func loadVerifyLocations(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                          ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:337:96: error: cannot find type 'SSL_CTX' in scope
    private static func setAlpnProtocols(_ protocols: [[UInt8]], context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                               ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:351:71: error: cannot find type 'SSL_CTX' in scope
    private static func setAlpnCallback(context: UnsafeMutablePointer<SSL_CTX>) {
                                                                      ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:117:37: error: cannot find 'SSLv23_method' in scope
        guard let ctx = SSL_CTX_new(SSLv23_method()) else { throw NIOOpenSSLError.unableToAllocateOpenSSLObject }
                                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:122:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
        var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
                                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
# define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:127:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
                                  ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
# define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
                                  ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
# define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:133:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1)
                                  ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
# define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:136:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
            opensslOptions |= Int(SSL_OP_NO_SSLv3)
                                  ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
# define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:147:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
            opensslOptions |= Int(SSL_OP_NO_SSLv3)
                                  ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
# define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:150:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1)
                                  ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
# define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:153:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
                                  ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
# define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:156:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
                                  ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
# define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:27: error: cannot find 'SSL_CTRL_OPTIONS' in scope
        SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, opensslOptions, nil)
                          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:52:40: error: cannot find type 'SSL' in scope
    init? (_ ssl: UnsafeMutablePointer<SSL>, parentContext: SSLContext) {
                                       ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:274:72: error: cannot convert value of type 'OpaquePointer?' to expected argument type 'UnsafeMutableRawPointer?'
        guard 1 == SSL_CTX_ctrl(context, SSL_CTRL_EXTRA_CHAIN_CERT, 0, X509_dup(cert.ref)) else {
                                                                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:27:44: error: cannot find type 'EVP_PKEY' in scope
    internal let ref: UnsafeMutablePointer<EVP_PKEY>
                                           ^~~~~~~~
[200/217] Compiling NIOOpenSSL SSLErrors.swift
[201/217] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[202/218] Compiling NIOOpenSSL TLSConfiguration.swift
[203/218] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[204/218] Compiling NIOWebSocket WebSocketOpcode.swift
[205/218] Emitting module NIOWebSocket
[208/218] Compiling NIOWebSocket WebSocketUpgrader.swift
[209/218] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[210/218] Emitting module Core
[211/218] Compiling NIOWebSocket WebSocketErrorCodes.swift
[212/218] Compiling NIOWebSocket WebSocketFrame.swift
[214/219] Compiling Core File.swift
[215/219] Compiling Core Future+Unwrap.swift
[216/219] Compiling Core FutureEncoder.swift
[217/219] Compiling Core HeaderValue.swift
[218/219] Compiling Core LosslessDataConvertible.swift
[219/219] Compiling Core MediaType.swift
error: fatalError
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling NIOOpenSSL SSLCertificate.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:40:58: error: cannot find type 'X509' in scope
    private init(withReference ref: UnsafeMutablePointer<X509>) {
                                                         ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:106:65: error: cannot find type 'X509' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<X509>) -> OpenSSLCertificate {
                                                                ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:179:49: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    private let nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>
                                                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:183:42: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    init(nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>) {
                                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:56:40: error: cannot find type 'X509' in scope
        let x509: UnsafeMutablePointer<X509>?
                                       ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:68:14: error: no exact matches in call to initializer
        self.init(withReference: x509!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:81:40: error: cannot find type 'X509' in scope
        let x509: UnsafeMutablePointer<X509>?
                                       ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:93:14: error: no exact matches in call to initializer
        self.init(withReference: x509!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:16: error: no exact matches in call to initializer
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
               ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:48:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:73:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:50: error: generic parameter 'Pointee' could not be inferred
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
                                                 ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:107:50: note: explicitly specify the generic arguments to fix this issue
        return OpenSSLCertificate(withReference: UnsafeMutablePointer(mutating: pointer))
                                                 ^
                                                                     <Any>
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:115:61: error: cannot find 'stack_st_GENERAL_NAME' in scope
        let sanNames = sanExtension.assumingMemoryBound(to: stack_st_GENERAL_NAME.self)
                                                            ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:159:21: error: missing arguments for parameters #2, #3 in call
        CRYPTO_free(namePtr)
                    ^
CNIOOpenSSL.CRYPTO_free:1:13: note: 'CRYPTO_free' declared here
public func CRYPTO_free(_ ptr: UnsafeMutableRawPointer!, _ file: UnsafePointer<CChar>!, _ line: Int32)
            ^
[3/11] Compiling NIOOpenSSL SSLInit.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:28:5: error: cannot find 'SSL_library_init' in scope
    SSL_library_init()
    ^~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:2095:11: note: macro 'SSL_library_init' unavailable: function like macros not supported
#  define SSL_library_init() OPENSSL_init_ssl(0, NULL)
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:29:5: error: cannot find 'OPENSSL_add_all_algorithms_conf' in scope
    OPENSSL_add_all_algorithms_conf()
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/evp.h:1146:11: note: macro 'OPENSSL_add_all_algorithms_conf' unavailable: function like macros not supported
#  define OPENSSL_add_all_algorithms_conf() \
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:30:5: error: cannot find 'SSL_load_error_strings' in scope
    SSL_load_error_strings()
    ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:1708:11: note: macro 'SSL_load_error_strings' unavailable: function like macros not supported
#  define SSL_load_error_strings() \
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:31:5: error: cannot find 'ERR_load_crypto_strings' in scope
    ERR_load_crypto_strings()
    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/err.h:468:10: note: macro 'ERR_load_crypto_strings' unavailable: function like macros not supported
# define ERR_load_crypto_strings() \
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:39:8: error: cannot find 'CRYPTO_get_locking_callback' in scope
    if CRYPTO_get_locking_callback() == nil { setupLockingCallbacks() }
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/crypto.h:291:11: note: macro 'CRYPTO_get_locking_callback' unavailable: function like macros not supported
#  define CRYPTO_get_locking_callback()         (NULL)
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:51:25: error: cannot find 'CRYPTO_num_locks' in scope
    let lockCount = Int(CRYPTO_num_locks())
                        ^~~~~~~~~~~~~~~~
/usr/include/openssl/crypto.h:289:11: note: macro 'CRYPTO_num_locks' unavailable: function like macros not supported
#  define CRYPTO_num_locks()            (1)
          ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:74:5: error: cannot find 'CRYPTO_set_id_callback' in scope
    CRYPTO_set_id_callback(getThreadID)
    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLInit.swift:75:5: error: cannot find 'CRYPTO_set_locking_callback' in scope
    CRYPTO_set_locking_callback(opensslLockingCallback)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/11] Compiling NIOOpenSSL SSLPrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:27:44: error: cannot find type 'EVP_PKEY' in scope
    internal let ref: UnsafeMutablePointer<EVP_PKEY>
                                           ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:29:58: error: cannot find type 'EVP_PKEY' in scope
    private init(withReference ref: UnsafeMutablePointer<EVP_PKEY>) {
                                                         ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:93:65: error: cannot find type 'EVP_PKEY' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<EVP_PKEY>) -> OpenSSLPrivateKey {
                                                                ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:43:39: error: cannot find type 'EVP_PKEY' in scope
        let key: UnsafeMutablePointer<EVP_PKEY>?
                                      ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:55:14: error: no exact matches in call to initializer
        self.init(withReference: key!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:35:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:60:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:68:39: error: cannot find type 'EVP_PKEY' in scope
        let key: UnsafeMutablePointer<EVP_PKEY>?
                                      ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:80:14: error: no exact matches in call to initializer
        self.init(withReference: key!)
             ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:35:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:60:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:94:16: error: no exact matches in call to initializer
        return OpenSSLPrivateKey(withReference: UnsafeMutablePointer(mutating: pointer))
               ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:35:24: note: candidate has partially matching parameter list (file: String, format: OpenSSLSerializationFormats)
    public convenience init (file: String, format: OpenSSLSerializationFormats) throws {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:60:24: note: candidate has partially matching parameter list (buffer: [Int8], format: OpenSSLSerializationFormats)
    public convenience init (buffer: [Int8], format: OpenSSLSerializationFormats) throws  {
                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:94:49: error: generic parameter 'Pointee' could not be inferred
        return OpenSSLPrivateKey(withReference: UnsafeMutablePointer(mutating: pointer))
                                                ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:94:49: note: explicitly specify the generic arguments to fix this issue
        return OpenSSLPrivateKey(withReference: UnsafeMutablePointer(mutating: pointer))
                                                ^
                                                                    <Any>
[5/11] Compiling NIOOpenSSL OpenSSLClientHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/14] Emitting module NIOOpenSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:40:58: error: cannot find type 'X509' in scope
    private init(withReference ref: UnsafeMutablePointer<X509>) {
                                                         ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:106:65: error: cannot find type 'X509' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<X509>) -> OpenSSLCertificate {
                                                                ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:179:49: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    private let nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>
                                                ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:183:42: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    init(nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>) {
                                         ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:39:43: error: cannot find type 'SSL' in scope
    private let ssl: UnsafeMutablePointer<SSL>
                                          ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:41:51: error: cannot find type 'BIO' in scope
    private let fromNetwork: UnsafeMutablePointer<BIO>
                                                  ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:42:49: error: cannot find type 'BIO' in scope
    private let toNetwork: UnsafeMutablePointer<BIO>
                                                ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:52:40: error: cannot find type 'SSL' in scope
    init? (_ ssl: UnsafeMutablePointer<SSL>, parentContext: SSLContext) {
                                       ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:72:75: error: cannot find type 'X509_STORE_CTX' in scope
private func verifyCallback(preverifyOk: Int32, ctx: UnsafeMutablePointer<X509_STORE_CTX>?) -> Int32 {
                                                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:77:53: error: cannot find type 'SSL' in scope
private func alpnCallback(ssl: UnsafeMutablePointer<SSL>?,
                                                    ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:110:50: error: cannot find type 'SSL_CTX' in scope
    private let sslContext: UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:254:95: error: cannot find type 'SSL_CTX' in scope
    private static func useCertificateChainFile(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) {
                                                                                              ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:265:102: error: cannot find type 'SSL_CTX' in scope
    private static func setLeafCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                     ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:272:113: error: cannot find type 'SSL_CTX' in scope
    private static func addAdditionalChainCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                                ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:279:95: error: cannot find type 'SSL_CTX' in scope
    private static func setPrivateKey(_ key: OpenSSLPrivateKey, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                              ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:285:102: error: cannot find type 'SSL_CTX' in scope
    private static func addRootCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                     ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:292:89: error: cannot find type 'SSL_CTX' in scope
    private static func usePrivateKeyFile(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) {
                                                                                        ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:314:91: error: cannot find type 'SSL_CTX' in scope
    private static func loadVerifyLocations(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                          ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:337:96: error: cannot find type 'SSL_CTX' in scope
    private static func setAlpnProtocols(_ protocols: [[UInt8]], context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                               ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:351:71: error: cannot find type 'SSL_CTX' in scope
    private static func setAlpnCallback(context: UnsafeMutablePointer<SSL_CTX>) {
                                                                      ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:27:44: error: cannot find type 'EVP_PKEY' in scope
    internal let ref: UnsafeMutablePointer<EVP_PKEY>
                                           ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:29:58: error: cannot find type 'EVP_PKEY' in scope
    private init(withReference ref: UnsafeMutablePointer<EVP_PKEY>) {
                                                         ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:93:65: error: cannot find type 'EVP_PKEY' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<EVP_PKEY>) -> OpenSSLPrivateKey {
                                                                ^~~~~~~~
[7/14] Compiling NIOOpenSSL IdentityVerification.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:179:49: error: cannot find type 'stack_st_GENERAL_NAME' in scope
    private let nameStack: UnsafeMutablePointer<stack_st_GENERAL_NAME>
                                                ^~~~~~~~~~~~~~~~~~~~~
[8/15] Emitting module NIOWebSocket
[9/16] Compiling NIOOpenSSL SSLContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:72:75: error: cannot find type 'X509_STORE_CTX' in scope
private func verifyCallback(preverifyOk: Int32, ctx: UnsafeMutablePointer<X509_STORE_CTX>?) -> Int32 {
                                                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:77:53: error: cannot find type 'SSL' in scope
private func alpnCallback(ssl: UnsafeMutablePointer<SSL>?,
                                                    ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:110:50: error: cannot find type 'SSL_CTX' in scope
    private let sslContext: UnsafeMutablePointer<SSL_CTX>
                                                 ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:254:95: error: cannot find type 'SSL_CTX' in scope
    private static func useCertificateChainFile(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) {
                                                                                              ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:265:102: error: cannot find type 'SSL_CTX' in scope
    private static func setLeafCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                     ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:272:113: error: cannot find type 'SSL_CTX' in scope
    private static func addAdditionalChainCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                                ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:279:95: error: cannot find type 'SSL_CTX' in scope
    private static func setPrivateKey(_ key: OpenSSLPrivateKey, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                              ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:285:102: error: cannot find type 'SSL_CTX' in scope
    private static func addRootCertificate(_ cert: OpenSSLCertificate, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                                     ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:292:89: error: cannot find type 'SSL_CTX' in scope
    private static func usePrivateKeyFile(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) {
                                                                                        ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:314:91: error: cannot find type 'SSL_CTX' in scope
    private static func loadVerifyLocations(_ path: String, context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                          ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:337:96: error: cannot find type 'SSL_CTX' in scope
    private static func setAlpnProtocols(_ protocols: [[UInt8]], context: UnsafeMutablePointer<SSL_CTX>) throws {
                                                                                               ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:351:71: error: cannot find type 'SSL_CTX' in scope
    private static func setAlpnCallback(context: UnsafeMutablePointer<SSL_CTX>) {
                                                                      ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:117:37: error: cannot find 'SSLv23_method' in scope
        guard let ctx = SSL_CTX_new(SSLv23_method()) else { throw NIOOpenSSLError.unableToAllocateOpenSSLObject }
                                    ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:122:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
        var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
                                 ^~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
# define SSL_OP_NO_COMPRESSION                           SSL_OP_BIT(17)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:127:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
                                  ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
# define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
                                  ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
# define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:133:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1)
                                  ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
# define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:136:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
            opensslOptions |= Int(SSL_OP_NO_SSLv3)
                                  ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
# define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:147:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
            opensslOptions |= Int(SSL_OP_NO_SSLv3)
                                  ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
# define SSL_OP_NO_SSLv3                                 SSL_OP_BIT(25)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:150:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1)
                                  ^~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
# define SSL_OP_NO_TLSv1                                 SSL_OP_BIT(26)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:153:35: error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
                                  ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
# define SSL_OP_NO_TLSv1_1                               SSL_OP_BIT(28)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:156:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
            opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
                                  ^~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
# define SSL_OP_NO_TLSv1_2                               SSL_OP_BIT(27)
         ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:164:27: error: cannot find 'SSL_CTRL_OPTIONS' in scope
        SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, opensslOptions, nil)
                          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:52:40: error: cannot find type 'SSL' in scope
    init? (_ ssl: UnsafeMutablePointer<SSL>, parentContext: SSLContext) {
                                       ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:28:44: error: cannot find type 'X509' in scope
    internal let ref: UnsafeMutablePointer<X509>
                                           ^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:274:72: error: cannot convert value of type 'OpaquePointer?' to expected argument type 'UnsafeMutableRawPointer?'
        guard 1 == SSL_CTX_ctrl(context, SSL_CTRL_EXTRA_CHAIN_CERT, 0, X509_dup(cert.ref)) else {
                                                                       ^
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLPrivateKey.swift:27:44: error: cannot find type 'EVP_PKEY' in scope
    internal let ref: UnsafeMutablePointer<EVP_PKEY>
                                           ^~~~~~~~
[10/16] Compiling NIOOpenSSL SSLConnection.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:39:43: error: cannot find type 'SSL' in scope
    private let ssl: UnsafeMutablePointer<SSL>
                                          ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:41:51: error: cannot find type 'BIO' in scope
    private let fromNetwork: UnsafeMutablePointer<BIO>
                                                  ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:42:49: error: cannot find type 'BIO' in scope
    private let toNetwork: UnsafeMutablePointer<BIO>
                                                ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:52:40: error: cannot find type 'SSL' in scope
    init? (_ ssl: UnsafeMutablePointer<SSL>, parentContext: SSLContext) {
                                       ^~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:290:29: error: cannot find 'SSL_get_peer_certificate' in scope
        guard let certPtr = SSL_get_peer_certificate(ssl) else {
                            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLCertificate.swift:106:65: error: cannot find type 'X509' in scope
    static public func fromUnsafePointer(pointer: UnsafePointer<X509>) -> OpenSSLCertificate {
                                                                ^~~~
[12/16] Compiling NIOOpenSSL TLSConfiguration.swift
[13/16] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[14/16] Compiling NIOOpenSSL SSLErrors.swift
[15/16] Compiling NIOOpenSSL OpenSSLHandler.swift
error: fatalError
BUILD FAILURE 5.10 linux