The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SlackKit 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/pvzig/SlackKit.git
Reference: 4.8.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/pvzig/SlackKit
 * tag               4.8.0      -> FETCH_HEAD
HEAD is now at 3823aee Revert oauth endpoint change and query params fix (#207)
Cloned https://github.com/pvzig/SlackKit.git
Revision (git rev-parse @):
3823aee4cfd05d618d2aaf334681b9bc4db89a63
SUCCESS checkout https://github.com/pvzig/SlackKit.git at 4.8.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pvzig/SlackKit.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/daltoniam/Starscream
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/vapor/websocket
[1/2411] Fetching websocket
[50/8402] Fetching websocket, swifter
[2756/13197] Fetching websocket, swifter, starscream
Fetched https://github.com/vapor/websocket from cache (0.78s)
Fetched https://github.com/daltoniam/Starscream from cache (0.78s)
Fetched https://github.com/httpswift/swifter.git from cache (0.79s)
Computing version for https://github.com/vapor/websocket
Computed https://github.com/vapor/websocket at 1.1.2 (1.28s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/core.git
[1/2786] Fetching crypto
[2787/28253] Fetching crypto, http
[7372/48396] Fetching crypto, http, core
[9908/60543] Fetching crypto, http, core, swift-nio-ssl
[44793/125040] Fetching crypto, http, core, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/crypto.git from cache (1.87s)
Fetched https://github.com/vapor/core.git from cache (1.88s)
[56750/102111] Fetching http, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/http.git from cache (1.89s)
[31497/76644] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (5.03s)
Fetched https://github.com/apple/swift-nio.git from cache (5.11s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.43s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.44s)
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.45s)
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.23s)
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.44s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.54s)
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.25s)
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/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.44s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.52s)
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-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/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/vapor/websocket
Working copy of https://github.com/vapor/websocket resolved at 1.1.2
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-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/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.6
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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/38] Write sources
[22/38] Compiling CNIOZlib empty.c
[22/38] Compiling CNIOLinux ifaddrs-android.c
[24/38] Compiling CNIOSHA1 c_nio_sha1.c
[25/38] Compiling CNIOLinux shim.c
[26/38] Compiling CNIODarwin shim.c
[27/38] Compiling CBcrypt blf.c
[28/38] Compiling CBcrypt bcrypt.c
[29/38] Write swift-version-24593BA9C3E375BF.txt
[30/38] Write sources
[31/38] Compiling CNIOHTTPParser c_nio_http_parser.c
[32/38] Compiling CNIOOpenSSL shims.c
[33/38] Compiling CBase32 base32.c
[34/38] Compiling CNIOOpenSSL helpers.c
[35/38] Write sources
[36/38] Compiling CCryptoOpenSSL shim.c
[38/94] Emitting module Debugging
[38/94] Compiling c-atomics.c
[40/97] Emitting module Swifter
[41/99] Compiling SKCore SlackError.swift
[42/99] Compiling SKCore Team.swift
[43/99] Compiling SKCore TeamIcon.swift
[44/102] Compiling Debugging SourceLocation.swift
[45/102] Emitting module SKCore
[46/102] Compiling SKCore Action.swift
[47/102] Compiling SKCore Attachment.swift
[48/102] Compiling SKCore AttachmentField.swift
[49/102] Compiling SKCore BlockComposition.swift
[50/102] Compiling SKCore BlockElement.swift
[51/102] Compiling SKCore BlockLayout.swift
[52/102] Compiling SKCore Bot.swift
[53/102] Compiling SKCore Channel.swift
[54/102] Compiling SKCore Comment.swift
[55/102] Compiling SKCore CustomProfile.swift
[56/102] Compiling SKCore CustomProfileField.swift
[57/102] Compiling SKCore DoNotDisturbStatus.swift
[58/102] Compiling NIOPriorityQueue PriorityQueue.swift
[59/102] Compiling NIOConcurrencyHelpers atomics.swift
[60/102] Emitting module NIOConcurrencyHelpers
[61/102] Compiling SKCore Topic.swift
[62/102] Compiling SKCore User.swift
[63/102] Compiling SKCore UserGroup.swift
[64/102] Compiling COperatingSystem libc.swift
[65/102] Emitting module COperatingSystem
[66/103] Compiling SKCore Edited.swift
[67/103] Compiling SKCore Event.swift
[68/103] Compiling Swifter String+SHA1.swift
[69/103] Compiling Swifter WebSockets.swift
[78/103] Compiling SKCore Extensions.swift
[79/103] Compiling SKCore File.swift
[80/103] Compiling SKCore History.swift
[81/103] Compiling SKCore Item.swift
[84/103] Compiling SKCore RTMOptions.swift
[85/103] Compiling SKCore Reaction.swift
[86/103] Compiling SKCore Reply.swift
[87/103] Compiling SKCore Scope.swift
[98/104] Compiling Debugging Demangler.swift
[101/105] Compiling Debugging Debuggable.swift
[102/106] Emitting module NIOPriorityQueue
[103/106] Compiling NIOPriorityQueue Heap.swift
[104/107] Compiling NIOConcurrencyHelpers lock.swift
[109/164] Compiling SKWebAPI Endpoint.swift
[110/164] Emitting module SKWebAPI
[111/164] Emitting module SKClient
[112/164] Compiling SKClient Client.swift
/host/spi-builder-workspace/SKClient/Sources/Client.swift:186:9: warning: default will never be executed
        @unknown default:
        ^
[114/165] Compiling NIO ByteBuffer-int.swift
[115/165] Compiling NIO ByteBuffer-views.swift
[116/165] Compiling NIO Channel.swift
[117/165] Compiling NIO ChannelHandler.swift
[118/165] Compiling NIO ChannelHandlers.swift
[119/165] Compiling NIO ChannelInvoker.swift
[120/165] Compiling NIO ChannelOption.swift
[121/171] Compiling SKWebAPI NetworkInterface.swift
[122/171] Compiling SKWebAPI WebAPI.swift
[124/172] Compiling NIO Heap.swift
[125/172] Compiling NIO IO.swift
[126/172] Compiling NIO IOData.swift
[127/172] Compiling NIO IntegerTypes.swift
[128/172] Compiling NIO Interfaces.swift
[129/172] Compiling NIO Linux.swift
[130/172] Compiling NIO LinuxCPUSet.swift
[131/172] Compiling NIO MarkedCircularBuffer.swift
[132/172] Compiling NIO MulticastChannel.swift
[133/172] Compiling NIO NIOAny.swift
[134/172] Compiling NIO NonBlockingFileIO.swift
[135/172] Compiling NIO PendingDatagramWritesManager.swift
[136/172] Compiling NIO PendingWritesManager.swift
[137/172] Compiling NIO PriorityQueue.swift
[138/172] Compiling NIO RecvByteBufferAllocator.swift
[139/172] Compiling NIO Resolver.swift
[140/172] Compiling NIO Selectable.swift
[141/172] Compiling NIO Selector.swift
[142/172] Compiling NIO ServerSocket.swift
[143/172] Compiling NIO Socket.swift
[144/172] Compiling NIO SocketAddresses.swift
[145/205] Compiling SKServer TitanLogs.swift
[146/205] Compiling SKServer TitanMethod.swift
[147/205] Compiling SKServer TitanRequest.swift
[148/205] Compiling SKServer TitanResponse.swift
[149/205] Compiling SKServer TitanErrorHandling.swift
[150/205] Compiling SKServer TitanFormURLEncodedBodyParser.swift
[151/205] Compiling SKServer TitanHealthz.swift
[152/205] Compiling SKServer TitanJSONRequestBody.swift
[153/205] Compiling SKServer TitanJSONResponseBody.swift
[154/205] Compiling SKServer TitanQueryString.swift
[155/205] Compiling SKServer InitializerOverloads.swift
[156/209] Compiling SKServer TitanError.swift
[157/209] Compiling SKServer RequestRoute.swift
[158/209] Compiling SKServer SKResponse.swift
[159/209] Compiling SKServer WebhookRequest.swift
[160/209] Compiling SKServer SKServer.swift
[161/209] Compiling SKServer SlackKitResponder.swift
[162/209] Compiling SKServer TitanHeader.swift
[167/209] Compiling SKServer AuthorizeResponse.swift
[168/209] Compiling SKServer IncomingWebhook.swift
[169/209] Compiling SKServer MessageActionRequest.swift
[170/209] Compiling SKServer MessageActionRoute.swift
[171/209] Compiling SKServer OAuthResponse.swift
[172/209] Compiling SKServer Titan.swift
[173/209] Compiling SKServer Titan404.swift
[174/209] Compiling SKServer TitanCORS.swift
[175/209] Compiling SKServer TitanCore.swift
[186/209] Compiling SKServer SwifterServer.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
                    return .ok(.json(json as! AnyObject))
                                          ^~~
                                          as
[187/209] Compiling SKServer MessageActionMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
                    return .ok(.json(json as! AnyObject))
                                          ^~~
                                          as
[188/209] Compiling SKServer OAuthMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
                    return .ok(.json(json as! AnyObject))
                                          ^~~
                                          as
[189/209] Compiling SKServer RedirectMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
                    return .ok(.json(json as! AnyObject))
                                          ^~~
                                          as
[190/209] Compiling SKServer ResponseMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
                    return .ok(.json(json as! AnyObject))
                                          ^~~
                                          as
[191/209] Emitting module SKServer
[192/209] Compiling SKServer PathParameterSupport.swift
[193/209] Compiling SKServer TitanParameterizedRoutes.swift
[194/209] Compiling SKServer TitanRoutesByMethod.swift
[195/209] Compiling SKServer TitanRoutingExtension.swift
[197/210] Compiling NIO SocketChannel.swift
[198/210] Compiling NIO SocketOptionProvider.swift
[199/210] Compiling NIO System.swift
[200/210] Compiling NIO Thread.swift
[201/210] Compiling NIO TypeAssistedChannelHandler.swift
[202/210] Compiling NIO Utilities.swift
[203/210] Emitting module NIO
[212/253] Compiling NIOTLS TLSEvents.swift
[213/253] Emitting module Async
[214/254] Compiling Async Async+NIO.swift
[215/254] Compiling Async AsyncError.swift
[216/254] Compiling Bits Bytes.swift
[217/254] Compiling Async Collection+Future.swift
[218/254] Compiling Async Deprecated.swift
[219/255] Compiling Async Exports.swift
[220/255] Compiling Async Future+DoCatch.swift
[221/255] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[222/255] Emitting module NIOFoundationCompat
[223/255] Compiling Async Future+Flatten.swift
[224/255] Compiling Async Future+Global.swift
[227/255] Compiling Bits Deprecated.swift
[228/255] Compiling Async Worker.swift
[235/256] Emitting module Bits
[237/256] Compiling Async FutureType.swift
[238/256] Compiling Async QueueHandler.swift
[239/256] Compiling Bits Data+Strings.swift
[240/256] Compiling Bits Data+Bytes.swift
[241/256] Compiling Async Future+Map.swift
[242/256] Compiling Async Future+Transform.swift
[243/257] Compiling Async Future+Variadic.swift
[244/257] Compiling Async Future+Void.swift
[246/258] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[248/287] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[249/287] Emitting module NIOTLS
[250/287] Compiling NIOTLS SNIHandler.swift
[251/288] Compiling NIOHTTP1 HTTPEncoder.swift
[252/288] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[253/288] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[255/288] Compiling Random RandomProtocol.swift
[256/288] Compiling Random URandom.swift
[257/288] Emitting module Random
[258/288] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[259/288] Compiling Random Array+Random.swift
[260/288] Compiling Random OSRandom.swift
[262/305] Compiling NIOOpenSSL SSLErrors.swift
[263/305] Compiling NIOOpenSSL SSLInit.swift
[264/305] Compiling NIOOpenSSL SSLConnection.swift
[265/308] Compiling Core NotFound.swift
[266/308] Compiling Core OptionalType.swift
[267/308] Compiling Core Process+Execute.swift
[268/308] Compiling Core Reflectable.swift
[269/308] Compiling Core String+Utilities.swift
[270/308] Compiling Core Thread+Async.swift
[271/308] Compiling NIOOpenSSL ByteBufferBIO.swift
[272/308] Compiling NIOOpenSSL IdentityVerification.swift
[273/308] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[274/308] Compiling NIOOpenSSL PosixPort.swift
[275/308] Emitting module NIOHTTP1
[278/308] Compiling NIOOpenSSL SSLCertificate.swift
[279/308] Compiling NIOOpenSSL OpenSSLHandler.swift
[280/308] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[281/308] Compiling NIOHTTP1 HTTPTypes.swift
[282/308] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[284/318] Emitting module NIOOpenSSL
[285/320] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[286/321] Compiling NIOWebSocket WebSocketErrorCodes.swift
[287/321] Compiling NIOWebSocket WebSocketOpcode.swift
[290/321] Emitting module NIOWebSocket
[291/321] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[292/321] Compiling NIOWebSocket Base64.swift
[293/321] Compiling NIOWebSocket SHA1.swift
[294/321] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[295/321] Compiling NIOOpenSSL TLSConfiguration.swift
[299/321] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[300/321] Compiling NIOWebSocket WebSocketUpgrader.swift
[301/321] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[302/321] Compiling NIOOpenSSL SSLPointerTricks.swift
[303/321] Compiling NIOOpenSSL SSLPrivateKey.swift
[304/321] Compiling NIOOpenSSL SSLPublicKey.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 {
                                                     ~^~~~
/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)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[310/321] Compiling NIOOpenSSL SSLContext.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 {
                                                     ~^~~~
/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)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[311/321] Emitting module Core
[312/321] Compiling NIOWebSocket WebSocketFrame.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/12] Compiling Core LosslessDataConvertible.swift
[3/12] Emitting module NIOWebSocket
[4/17] Compiling Core Exports.swift
[5/17] Compiling Core DirectoryConfig.swift
[6/17] Compiling Core File.swift
[8/23] Compiling Core NestedData.swift
[9/25] Emitting module NIOOpenSSL
[10/25] 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 {
                                                     ~^~~~
[11/25] 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)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2