The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HTTP with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/vapor/http.git
Reference: 3.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/vapor/http
 * tag               3.4.0      -> FETCH_HEAD
HEAD is now at 0464b71 SameSite Attribute support none, default = lax (#376)
Cloned https://github.com/vapor/http.git
Revision (git rev-parse @):
0464b715a4b59f54078bcf7a4b424767b03db5a5
SUCCESS checkout https://github.com/vapor/http.git at 3.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/vapor/http.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/20143] Fetching core
[16116/32290] Fetching core, swift-nio-ssl
[27068/96787] Fetching core, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.45s)
Fetched https://github.com/vapor/core.git from cache (1.45s)
[16770/64497] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.53s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.21s)
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.42s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.46s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.21s)
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.41s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.48s)
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.10.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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
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
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/40] Write sources
[12/40] Compiling CNIOLinux ifaddrs-android.c
[12/40] Compiling CNIOZlib empty.c
[14/40] Compiling CNIOSHA1 c_nio_sha1.c
[14/40] Write sources
[17/40] Compiling CNIODarwin shim.c
[18/40] Compiling CNIOLinux shim.c
[19/40] Compiling CNIOHTTPParser c_nio_http_parser.c
[20/40] Write swift-version-24593BA9C3E375BF.txt
[21/40] Compiling CNIOOpenSSL helpers.c
[22/40] Compiling CNIOOpenSSL shims.c
[23/49] Compiling c-atomics.c
[25/52] Compiling Debugging SourceLocation.swift
[26/52] Emitting module COperatingSystem
[27/52] Compiling COperatingSystem libc.swift
[28/53] Compiling Debugging Demangler.swift
[29/53] Emitting module NIOConcurrencyHelpers
[30/53] Compiling NIOConcurrencyHelpers atomics.swift
[31/53] Compiling NIOConcurrencyHelpers lock.swift
[33/54] Emitting module Debugging
[34/54] Compiling Debugging Debuggable.swift
[35/55] Compiling NIOPriorityQueue PriorityQueue.swift
[36/55] Emitting module NIOPriorityQueue
[37/55] Compiling NIOPriorityQueue Heap.swift
[38/56] Wrapping AST for COperatingSystem for debugging
[41/56] Wrapping AST for NIOConcurrencyHelpers for debugging
[42/56] Wrapping AST for Debugging for debugging
[43/56] Wrapping AST for NIOPriorityQueue for debugging
[45/106] Compiling NIO ByteBuffer-int.swift
[46/106] Compiling NIO ByteBuffer-views.swift
[47/106] Compiling NIO Channel.swift
[48/106] Compiling NIO ChannelHandler.swift
[49/106] Compiling NIO ChannelHandlers.swift
[50/106] Compiling NIO ChannelInvoker.swift
[51/106] Compiling NIO ChannelOption.swift
[52/112] Compiling NIO ChannelPipeline.swift
[53/112] Compiling NIO CircularBuffer.swift
[54/112] Compiling NIO Codec.swift
[55/112] Compiling NIO CompositeError.swift
[56/112] Compiling NIO ContiguousCollection.swift
[57/112] Compiling NIO DeadChannel.swift
[58/112] Compiling NIO Embedded.swift
[59/112] Emitting module NIO
[60/112] Compiling NIO MarkedCircularBuffer.swift
[61/112] Compiling NIO MulticastChannel.swift
[62/112] Compiling NIO NIOAny.swift
[63/112] Compiling NIO NonBlockingFileIO.swift
[64/112] Compiling NIO PendingDatagramWritesManager.swift
[65/112] Compiling NIO PendingWritesManager.swift
[66/112] Compiling NIO PriorityQueue.swift
[67/112] Compiling NIO Heap.swift
[68/112] Compiling NIO IO.swift
[69/112] Compiling NIO IOData.swift
[70/112] Compiling NIO IntegerTypes.swift
[71/112] Compiling NIO Interfaces.swift
[72/112] Compiling NIO Linux.swift
[73/112] Compiling NIO LinuxCPUSet.swift
[74/112] Compiling NIO RecvByteBufferAllocator.swift
[75/112] Compiling NIO Resolver.swift
[76/112] Compiling NIO Selectable.swift
[77/112] Compiling NIO Selector.swift
[78/112] Compiling NIO ServerSocket.swift
[79/112] Compiling NIO Socket.swift
[80/112] Compiling NIO SocketAddresses.swift
[81/112] Compiling NIO EventLoop.swift
[82/112] Compiling NIO EventLoopFuture.swift
[83/112] Compiling NIO FileDescriptor.swift
[84/112] Compiling NIO FileHandle.swift
[85/112] Compiling NIO FileRegion.swift
[86/112] Compiling NIO GetaddrinfoResolver.swift
[87/112] Compiling NIO HappyEyeballs.swift
[88/112] Compiling NIO SocketChannel.swift
[89/112] Compiling NIO SocketOptionProvider.swift
[90/112] Compiling NIO System.swift
[91/112] Compiling NIO Thread.swift
[92/112] Compiling NIO TypeAssistedChannelHandler.swift
[93/112] Compiling NIO Utilities.swift
[94/112] Compiling NIO AddressedEnvelope.swift
[95/112] Compiling NIO BaseSocket.swift
[96/112] Compiling NIO BaseSocketChannel.swift
[97/112] Compiling NIO BlockingIOThreadPool.swift
[98/112] Compiling NIO Bootstrap.swift
[99/112] Compiling NIO ByteBuffer-aux.swift
[100/112] Compiling NIO ByteBuffer-core.swift
[101/113] Wrapping AST for NIO for debugging
[103/155] Emitting module NIOFoundationCompat
[104/155] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[105/155] Compiling Bits Bytes.swift
[106/155] Emitting module NIOTLS
[107/155] Compiling NIOTLS TLSEvents.swift
[108/157] Emitting module Async
[110/158] Emitting module Bits
[111/158] Compiling Bits Deprecated.swift
[112/158] Compiling Async Worker.swift
[113/158] Compiling Bits ByteBuffer+require.swift
[114/158] Compiling Bits ByteBuffer+string.swift
[115/158] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[116/158] Compiling Bits ByteBuffer+peek.swift
[116/158] Wrapping AST for NIOFoundationCompat for debugging
[118/158] Compiling Bits Byte+Control.swift
[119/158] Compiling Bits Byte+Digit.swift
[120/158] Compiling Bits BitsError.swift
[121/158] Compiling Bits Byte+Alphabet.swift
[128/158] Compiling Async Future+Map.swift
[129/158] Compiling Async Future+Transform.swift
[130/158] Compiling Async Future+Variadic.swift
[131/158] Compiling Async Future+Void.swift
[134/158] Compiling Async Collection+Future.swift
[135/158] Compiling Async Deprecated.swift
[136/159] Emitting module NIOHTTP1
[137/160] Compiling Bits Data+Bytes.swift
[138/160] Compiling Bits Data+Strings.swift
[140/161] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[141/161] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[142/161] Compiling NIOTLS SNIHandler.swift
[143/162] Wrapping AST for Async for debugging
[145/162] Wrapping AST for Bits for debugging
[146/163] Wrapping AST for NIOTLS for debugging
[148/201] Compiling NIOHTTP1 HTTPEncoder.swift
[149/201] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[150/201] Compiling NIOOpenSSL SSLConnection.swift
[151/201] Compiling NIOOpenSSL SSLContext.swift
[152/201] Compiling NIOOpenSSL SSLPrivateKey.swift
[153/204] Compiling NIOOpenSSL SSLPublicKey.swift
[154/204] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[155/204] Compiling NIOOpenSSL SSLPointerTricks.swift
[156/204] Compiling NIOOpenSSL SSLErrors.swift
[157/204] Compiling NIOOpenSSL SSLInit.swift
[158/204] Compiling Core HeaderValue.swift
[159/204] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[160/204] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[161/204] Compiling NIOHTTP1 HTTPTypes.swift
[162/204] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[163/204] Compiling Core NotFound.swift
[164/204] Compiling Core OptionalType.swift
[165/204] Compiling Core Process+Execute.swift
[166/204] Compiling Core Reflectable.swift
[167/204] Compiling Core String+Utilities.swift
[168/204] Compiling Core Thread+Async.swift
[169/204] Compiling NIOOpenSSL OpenSSLHandler.swift
[170/204] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[174/205] Compiling NIOOpenSSL ByteBufferBIO.swift
[175/205] Compiling NIOOpenSSL IdentityVerification.swift
[176/205] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[177/205] Compiling NIOOpenSSL PosixPort.swift
[178/205] Compiling NIOOpenSSL SSLCertificate.swift
[178/205] Wrapping AST for NIOHTTP1 for debugging
[185/205] Emitting module NIOOpenSSL
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
        guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
                            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
        guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
                                                     ~^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130: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:135: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:138: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:141: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:144: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:155: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:158: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:161: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:164: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:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
            opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
        guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
                            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
        guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
                                                     ~^~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130: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:135: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:138: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:141: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:144: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:155: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:158: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:161: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:164: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:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
            opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[196/207] Emitting module Core
[197/207] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[198/207] Compiling NIOOpenSSL TLSConfiguration.swift
error: fatalError
[200/207] Compiling Core MediaType.swift
[201/207] Compiling Core NestedData.swift
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/17] Write swift-version-24593BA9C3E375BF.txt
[2/11] Emitting module NIOOpenSSL
[3/11] Compiling NIOOpenSSL SSLContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130: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:135: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:138: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:141: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:144: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:155: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:158: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:161: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:164: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:167:35: error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
            opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4/11] Compiling NIOOpenSSL SSLConnection.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
        guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
                            ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:55: error: cannot infer contextual base in reference to member 'make'
        guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
                                                     ~^~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2