The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftBoxMetricsStatsD 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/allegro/swiftbox-metrics-statsd.git
Reference: 1.0.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/allegro/swiftbox-metrics-statsd
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at f1fa0cf Move code to new repository
Cloned https://github.com/allegro/swiftbox-metrics-statsd.git
Revision (git rev-parse @):
f1fa0cfd746dd081c0dcea99032394e8a90b270c
SUCCESS checkout https://github.com/allegro/swiftbox-metrics-statsd.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/allegro/swiftbox-metrics-statsd.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/allegro/swiftbox-logging.git
Fetching https://github.com/apple/swift-metrics.git
[1/1935] Fetching swift-metrics
[1704/1964] Fetching swift-metrics, swiftbox-logging
Fetched https://github.com/allegro/swiftbox-logging.git from cache (0.25s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.26s)
Computing version for https://github.com/allegro/swiftbox-logging.git
Computed https://github.com/allegro/swiftbox-logging.git at 1.0.0 (0.40s)
Fetching https://github.com/vapor/vapor.git
[1/67277] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.03s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 1.2.1 (0.41s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (1.18s)
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/routing.git
[1/919] Fetching service
[920/1498] Fetching service, validation
[1141/22166] Fetching service, validation, routing
[1396/24577] Fetching service, validation, routing, websocket
[1827/25859] Fetching service, validation, routing, websocket, template-kit
[3300/26240] Fetching service, validation, routing, websocket, template-kit, url-encoded-form
Fetched https://github.com/vapor/validation.git from cache (1.01s)
Fetched https://github.com/vapor/url-encoded-form.git from cache (1.01s)
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/vapor/service.git from cache (1.01s)
Fetched https://github.com/vapor/template-kit.git from cache (1.01s)
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/crypto.git
Fetched https://github.com/vapor/websocket.git from cache (1.02s)
Fetched https://github.com/vapor/routing.git from cache (1.04s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/console.git
[1/2786] Fetching crypto
[392/4486] Fetching crypto, multipart
[1802/5667] Fetching crypto, multipart, database-kit
[2886/25810] Fetching crypto, multipart, database-kit, core
[5083/51277] Fetching crypto, multipart, database-kit, core, http
[5539/56555] Fetching crypto, multipart, database-kit, core, http, console
Fetched https://github.com/vapor/database-kit.git from cache (0.41s)
[19966/55374] Fetching crypto, multipart, core, http, console
Fetched https://github.com/vapor/crypto.git from cache (0.71s)
[46814/52588] Fetching multipart, core, http, console
Fetched https://github.com/vapor/console.git from cache (0.72s)
[44592/47310] Fetching multipart, core, http
Fetched https://github.com/vapor/core.git from cache (0.99s)
Fetched https://github.com/vapor/http.git from cache (1.11s)
[511/1700] Fetching multipart
Fetched https://github.com/vapor/multipart.git from cache (1.68s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.43s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/12147] Fetching swift-nio-ssl
[6561/76586] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.86s)
Fetched https://github.com/apple/swift-nio.git from cache (4.92s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.39s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.44s)
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.28s)
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.38s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.40s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (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.39s)
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.22s)
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.38s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.40s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.40s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.39s)
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.38s)
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/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.53s)
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/multipart.git
Working copy of https://github.com/vapor/multipart.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/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/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/allegro/swiftbox-logging.git
Working copy of https://github.com/allegro/swiftbox-logging.git resolved at 1.0.0
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/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/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 1.2.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/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
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
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/82] Write sources
[30/82] Compiling CNIODarwin shim.c
[31/82] Compiling CNIOZlib empty.c
[32/82] Compiling CBcrypt blf.c
[33/82] Compiling CBcrypt bcrypt.c
[34/82] Compiling CNIOSHA1 c_nio_sha1.c
[35/82] Write swift-version-24593BA9C3E375BF.txt
[36/82] Compiling CNIOLinux ifaddrs-android.c
[37/82] Compiling CNIOHTTPParser c_nio_http_parser.c
[38/82] Compiling CBase32 base32.c
[39/82] Compiling CNIOLinux shim.c
[40/82] Compiling CCryptoOpenSSL shim.c
[41/82] Write sources
[43/88] Compiling CNIOOpenSSL helpers.c
[44/94] Compiling CNIOOpenSSL shims.c
[46/94] Emitting module COperatingSystem
[46/94] Compiling c-atomics.c
[48/97] Compiling Debugging SourceLocation.swift
[49/97] Compiling NIOPriorityQueue PriorityQueue.swift
[50/97] Compiling CoreMetrics Metrics.swift
[51/97] Emitting module NIOConcurrencyHelpers
[52/97] Compiling COperatingSystem libc.swift
[53/98] Compiling NIOConcurrencyHelpers atomics.swift
[54/98] Compiling NIOConcurrencyHelpers lock.swift
[57/99] Compiling NIOPriorityQueue Heap.swift
[58/99] Emitting module NIOPriorityQueue
[59/100] Compiling Debugging Demangler.swift
[60/100] Compiling CoreMetrics Locks.swift
[61/100] Emitting module CoreMetrics
[62/100] Compiling Debugging Debuggable.swift
[63/101] Emitting module Debugging
[63/102] Wrapping AST for NIOConcurrencyHelpers for debugging
[65/102] Wrapping AST for COperatingSystem for debugging
[68/102] Wrapping AST for NIOPriorityQueue for debugging
[69/102] Wrapping AST for Debugging for debugging
[70/102] Wrapping AST for CoreMetrics for debugging
[72/154] Compiling Metrics Metrics.swift
[73/154] Emitting module Metrics
[74/155] Wrapping AST for Metrics for debugging
[76/155] Compiling NIO MarkedCircularBuffer.swift
[77/155] Compiling NIO MulticastChannel.swift
[78/155] Compiling NIO NIOAny.swift
[79/155] Compiling NIO NonBlockingFileIO.swift
[80/155] Compiling NIO PendingDatagramWritesManager.swift
[81/155] Compiling NIO PendingWritesManager.swift
[82/155] Compiling NIO PriorityQueue.swift
[83/155] Compiling NIO RecvByteBufferAllocator.swift
[84/155] Compiling NIO Resolver.swift
[85/155] Compiling NIO Selectable.swift
[86/155] Compiling NIO Selector.swift
[87/155] Compiling NIO ServerSocket.swift
[88/155] Compiling NIO Socket.swift
[89/155] Compiling NIO SocketAddresses.swift
[90/161] Compiling NIO Heap.swift
[91/161] Compiling NIO IO.swift
[92/161] Compiling NIO IOData.swift
[93/161] Compiling NIO IntegerTypes.swift
[94/161] Compiling NIO Interfaces.swift
[95/161] Compiling NIO Linux.swift
[96/161] Compiling NIO LinuxCPUSet.swift
[97/161] Compiling NIO ByteBuffer-int.swift
[98/161] Compiling NIO ByteBuffer-views.swift
[99/161] Compiling NIO Channel.swift
[100/161] Compiling NIO ChannelHandler.swift
[101/161] Compiling NIO ChannelHandlers.swift
[102/161] Compiling NIO ChannelInvoker.swift
[103/161] Compiling NIO ChannelOption.swift
[104/161] Compiling NIO ChannelPipeline.swift
[105/161] Compiling NIO CircularBuffer.swift
[106/161] Compiling NIO Codec.swift
[107/161] Compiling NIO CompositeError.swift
[108/161] Compiling NIO ContiguousCollection.swift
[109/161] Compiling NIO DeadChannel.swift
[110/161] Compiling NIO Embedded.swift
[111/161] Compiling NIO EventLoop.swift
[112/161] Compiling NIO EventLoopFuture.swift
[113/161] Compiling NIO FileDescriptor.swift
[114/161] Compiling NIO FileHandle.swift
[115/161] Compiling NIO FileRegion.swift
[116/161] Compiling NIO GetaddrinfoResolver.swift
[117/161] Compiling NIO HappyEyeballs.swift
[118/161] Compiling NIO SocketChannel.swift
[119/161] Compiling NIO SocketOptionProvider.swift
[120/161] Compiling NIO System.swift
[121/161] Compiling NIO Thread.swift
[122/161] Compiling NIO TypeAssistedChannelHandler.swift
[123/161] Compiling NIO Utilities.swift
[124/161] Emitting module NIO
[125/161] Compiling NIO AddressedEnvelope.swift
[126/161] Compiling NIO BaseSocket.swift
[127/161] Compiling NIO BaseSocketChannel.swift
[128/161] Compiling NIO BlockingIOThreadPool.swift
[129/161] Compiling NIO Bootstrap.swift
[130/161] Compiling NIO ByteBuffer-aux.swift
[131/161] Compiling NIO ByteBuffer-core.swift
[132/162] Wrapping AST for NIO for debugging
[134/204] Emitting module Async
[135/205] Compiling NIOTLS TLSEvents.swift
[136/205] Compiling NIOHTTP1 ByteCollectionUtils.swift
[137/205] Compiling NIOHTTP1 HTTPDecoder.swift
[138/205] Compiling Bits ByteBuffer+require.swift
[139/205] Compiling Bits ByteBuffer+string.swift
[140/205] Compiling Bits BitsError.swift
[141/205] Compiling Bits Byte+Alphabet.swift
[142/205] Compiling Async Worker.swift
[143/205] Emitting module NIOTLS
[144/205] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[145/206] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[146/206] Emitting module NIOFoundationCompat
[149/207] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[152/208] Emitting module Bits
[156/208] Compiling Async FutureType.swift
[157/208] Compiling Async QueueHandler.swift
[158/208] Compiling Bits Deprecated.swift
[159/208] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[160/208] Compiling Bits ByteBuffer+peek.swift
[161/208] Compiling Bits Data+Strings.swift
[162/208] Compiling Bits Data+Bytes.swift
[163/208] Compiling Bits Bytes.swift
[164/209] Compiling Async Future+Map.swift
[165/209] Compiling Async Future+Transform.swift
[168/209] Compiling Async Future+Variadic.swift
[169/209] Compiling Async Future+Void.swift
[170/210] Wrapping AST for NIOFoundationCompat for debugging
[172/210] Wrapping AST for Bits for debugging
[173/220] Wrapping AST for Async for debugging
[175/229] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[176/238] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[177/238] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[178/238] Compiling NIOTLS SNIHandler.swift
[180/239] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[181/239] Emitting module Random
[182/239] Compiling Random RandomProtocol.swift
[183/239] Compiling Random URandom.swift
[184/239] Compiling NIOHTTP1 HTTPEncoder.swift
[185/239] Compiling Random Array+Random.swift
[186/239] Compiling Random OSRandom.swift
[188/240] Compiling Core Data+Hex.swift
[189/240] Compiling Core DataCoders.swift
[190/240] Compiling Core Deprecated.swift
[190/243] Wrapping AST for NIOTLS for debugging
[191/253] Wrapping AST for Random for debugging
[193/259] Compiling NIOOpenSSL SSLInit.swift
[194/259] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[195/259] Compiling NIOOpenSSL SSLPointerTricks.swift
[196/259] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[197/259] Compiling NIOOpenSSL PosixPort.swift
[198/259] Compiling NIOOpenSSL SSLCertificate.swift
[199/259] Compiling Core NotFound.swift
[200/259] Compiling Core OptionalType.swift
[201/259] Compiling Core Process+Execute.swift
[202/259] Compiling Core Reflectable.swift
[203/259] Compiling Core String+Utilities.swift
[204/259] Compiling Core Thread+Async.swift
[205/259] Compiling NIOOpenSSL OpenSSLHandler.swift
[206/259] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[207/259] Compiling NIOOpenSSL ByteBufferBIO.swift
[208/259] Compiling NIOOpenSSL IdentityVerification.swift
[209/259] Compiling NIOHTTP1 HTTPTypes.swift
[210/259] Emitting module NIOHTTP1
[213/260] Wrapping AST for NIOHTTP1 for debugging
[215/269] Emitting module NIOOpenSSL
[216/271] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[217/272] Compiling NIOWebSocket WebSocketErrorCodes.swift
[218/272] Compiling NIOWebSocket WebSocketOpcode.swift
[219/272] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[223/272] Compiling NIOWebSocket Base64.swift
[224/272] Compiling NIOWebSocket SHA1.swift
[225/272] Emitting module Core
[226/272] Compiling NIOOpenSSL SSLPrivateKey.swift
[227/272] Compiling NIOOpenSSL SSLPublicKey.swift
[228/272] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[229/272] Compiling NIOOpenSSL TLSConfiguration.swift
[230/272] Emitting module NIOWebSocket
[231/272] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[234/272] 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 {
                                                     ~^~~~
/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)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[235/272] 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)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[238/272] Compiling NIOWebSocket WebSocketFrame.swift
[239/272] Compiling NIOWebSocket WebSocketUpgrader.swift
[240/273] Compiling NIOOpenSSL SSLErrors.swift
[246/273] Compiling Core MediaType.swift
[247/273] Compiling Core NestedData.swift
error: fatalError
[251/274] Wrapping AST for NIOWebSocket for debugging
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/37] Write swift-version-24593BA9C3E375BF.txt
[1/24] Wrapping AST for NIOWebSocket for debugging
[3/28] Emitting module NIOOpenSSL
[4/28] 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)
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5/28] 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 1