Build Information
Failed to build SwiftBoxMetricsStatsD, reference 1.0.0 (f1fa0c
), with Swift 6.0 for Linux on 27 Nov 2024 05:41:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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: 6.0
Building package at path: $PWD
https://github.com/allegro/swiftbox-metrics-statsd.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/allegro/swiftbox-logging.git
[1/29] Fetching swiftbox-logging
[30/2119] Fetching swiftbox-logging, swift-metrics
Fetched https://github.com/allegro/swiftbox-logging.git from cache (0.23s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.23s)
Computing version for https://github.com/allegro/swiftbox-logging.git
Computed https://github.com/allegro/swiftbox-logging.git at 1.0.0 (0.45s)
Fetching https://github.com/vapor/vapor.git
[1/70295] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (1.67s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 1.2.1 (0.45s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (1.93s)
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/template-kit.git
[1/579] Fetching validation
[580/1498] Fetching validation, service
[957/2780] Fetching validation, service, template-kit
[1249/5304] Fetching validation, service, template-kit, websocket
[2929/5685] Fetching validation, service, template-kit, websocket, url-encoded-form
[4828/26375] Fetching validation, service, template-kit, websocket, url-encoded-form, routing
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.26s)
[8201/25994] Fetching validation, service, template-kit, websocket, routing
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/vapor/service.git from cache (0.27s)
[7903/25075] Fetching validation, template-kit, websocket, routing
Fetching https://github.com/vapor/http.git
[20318/50542] Fetching validation, template-kit, websocket, routing, http
[20828/52635] Fetching validation, template-kit, websocket, routing, http, multipart
Fetched https://github.com/vapor/template-kit.git from cache (0.81s)
Fetched https://github.com/vapor/validation.git from cache (0.81s)
Fetched https://github.com/vapor/websocket.git from cache (0.81s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/routing.git from cache (0.83s)
Fetching https://github.com/vapor/console.git
[21386/27560] Fetching http, multipart
[25971/47703] Fetching http, multipart, core
[26979/50489] Fetching http, multipart, core, crypto
[27292/55959] Fetching http, multipart, core, crypto, console
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/crypto.git from cache (0.38s)
[45541/53173] Fetching http, multipart, core, console
Fetched https://github.com/vapor/console.git from cache (0.37s)
[42085/47703] Fetching http, multipart, core
Fetched https://github.com/vapor/http.git from cache (1.02s)
[16819/22236] Fetching multipart, core
[20647/23417] Fetching multipart, core, database-kit
Fetched https://github.com/vapor/database-kit.git from cache (0.29s)
Fetched https://github.com/vapor/multipart.git from cache (1.52s)
Fetched https://github.com/vapor/core.git from cache (0.97s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.44s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/13309] Fetching swift-nio-ssl
[1199/85244] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.60s)
[48916/71935] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.16s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.44s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.50s)
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.20s)
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.45s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.45s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.46s)
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.47s)
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.45s)
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/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.47s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.45s)
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.45s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.45s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.46s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.47s)
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/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/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/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/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/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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.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/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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/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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
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 CNIOZlib empty.c
[31/82] Compiling CNIOLinux ifaddrs-android.c
[32/82] Compiling CNIODarwin shim.c
[33/82] Compiling CNIOSHA1 c_nio_sha1.c
[34/82] Compiling CNIOLinux shim.c
[35/82] Compiling CBcrypt bcrypt.c
[36/82] Compiling CBcrypt blf.c
[36/82] Write sources
[39/82] Compiling CBase32 base32.c
[40/82] Compiling CNIOHTTPParser c_nio_http_parser.c
[41/82] Compiling CCryptoOpenSSL shim.c
[42/82] Compiling CNIOOpenSSL shims.c
[43/82] Write swift-version-24593BA9C3E375BF.txt
[44/82] Compiling CNIOOpenSSL helpers.c
[46/94] Emitting module CoreMetrics
[46/94] Compiling c-atomics.c
[48/97] Compiling NIOPriorityQueue PriorityQueue.swift
[49/97] Compiling CoreMetrics Metrics.swift
[50/97] Emitting module NIOConcurrencyHelpers
[51/97] Compiling NIOConcurrencyHelpers atomics.swift
[52/97] Emitting module COperatingSystem
[53/97] Compiling COperatingSystem libc.swift
[54/98] Compiling NIOConcurrencyHelpers lock.swift
[57/99] Compiling CoreMetrics Locks.swift
[58/100] Emitting module NIOPriorityQueue
[59/100] Compiling NIOPriorityQueue Heap.swift
[61/101] Wrapping AST for COperatingSystem for debugging
[62/101] Wrapping AST for NIOConcurrencyHelpers for debugging
[63/101] Wrapping AST for NIOPriorityQueue for debugging
[64/101] Wrapping AST for CoreMetrics for debugging
[66/153] Compiling Debugging SourceLocation.swift
[67/153] Compiling Debugging Debuggable.swift
[68/153] Compiling Debugging Demangler.swift
[69/153] Emitting module Debugging
[70/154] Wrapping AST for Debugging for debugging
[72/154] Emitting module Metrics
[73/154] Compiling Metrics Metrics.swift
[74/155] Wrapping AST for Metrics for debugging
[76/155] Emitting module NIO
[77/161] Compiling NIO RecvByteBufferAllocator.swift
[78/161] Compiling NIO Resolver.swift
[79/161] Compiling NIO Selectable.swift
[80/161] Compiling NIO Selector.swift
[81/161] Compiling NIO ServerSocket.swift
[82/161] Compiling NIO Socket.swift
[83/161] Compiling NIO SocketAddresses.swift
[84/161] Compiling NIO Heap.swift
[85/161] Compiling NIO IO.swift
[86/161] Compiling NIO IOData.swift
[87/161] Compiling NIO IntegerTypes.swift
[88/161] Compiling NIO Interfaces.swift
[89/161] Compiling NIO Linux.swift
[90/161] Compiling NIO LinuxCPUSet.swift
[91/161] Compiling NIO EventLoop.swift
[92/161] Compiling NIO EventLoopFuture.swift
[93/161] Compiling NIO FileDescriptor.swift
[94/161] Compiling NIO FileHandle.swift
[95/161] Compiling NIO FileRegion.swift
[96/161] Compiling NIO GetaddrinfoResolver.swift
[97/161] Compiling NIO HappyEyeballs.swift
[98/161] Compiling NIO ChannelPipeline.swift
[99/161] Compiling NIO CircularBuffer.swift
[100/161] Compiling NIO Codec.swift
[101/161] Compiling NIO CompositeError.swift
[102/161] Compiling NIO ContiguousCollection.swift
[103/161] Compiling NIO DeadChannel.swift
[104/161] Compiling NIO Embedded.swift
[105/161] Compiling NIO ByteBuffer-int.swift
[106/161] Compiling NIO ByteBuffer-views.swift
[107/161] Compiling NIO Channel.swift
[108/161] Compiling NIO ChannelHandler.swift
[109/161] Compiling NIO ChannelHandlers.swift
[110/161] Compiling NIO ChannelInvoker.swift
[111/161] Compiling NIO ChannelOption.swift
[112/161] Compiling NIO MarkedCircularBuffer.swift
[113/161] Compiling NIO MulticastChannel.swift
[114/161] Compiling NIO NIOAny.swift
[115/161] Compiling NIO NonBlockingFileIO.swift
[116/161] Compiling NIO PendingDatagramWritesManager.swift
[117/161] Compiling NIO PendingWritesManager.swift
[118/161] Compiling NIO PriorityQueue.swift
[119/161] Compiling NIO AddressedEnvelope.swift
[120/161] Compiling NIO BaseSocket.swift
[121/161] Compiling NIO BaseSocketChannel.swift
[122/161] Compiling NIO BlockingIOThreadPool.swift
[123/161] Compiling NIO Bootstrap.swift
[124/161] Compiling NIO ByteBuffer-aux.swift
[125/161] Compiling NIO ByteBuffer-core.swift
[126/161] Compiling NIO SocketChannel.swift
[127/161] Compiling NIO SocketOptionProvider.swift
[128/161] Compiling NIO System.swift
[129/161] Compiling NIO Thread.swift
[130/161] Compiling NIO TypeAssistedChannelHandler.swift
[131/161] Compiling NIO Utilities.swift
[132/166] Wrapping AST for NIO for debugging
[134/204] Compiling NIOTLS TLSEvents.swift
[135/204] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[136/204] Compiling Async Collection+Future.swift
[137/204] Compiling Async Deprecated.swift
[138/205] Emitting module Bits
[139/206] Emitting module Async
[140/206] Emitting module NIOFoundationCompat
[141/206] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[142/207] Compiling Async Worker.swift
[143/207] Compiling Async Async+NIO.swift
[144/207] Compiling Async AsyncError.swift
[145/207] Compiling Async Exports.swift
[146/207] Compiling Async Future+DoCatch.swift
[148/207] Compiling Bits Deprecated.swift
[149/207] Compiling Async Future+Flatten.swift
[150/207] Compiling Async Future+Global.swift
[151/207] Compiling Bits Bytes.swift
[152/207] Compiling Bits Data+Bytes.swift
[152/207] Wrapping AST for NIOFoundationCompat for debugging
[156/207] Compiling NIOTLS SNIHandler.swift
[157/207] Emitting module NIOTLS
[160/208] Compiling Async Future+Map.swift
[161/208] Compiling Async Future+Transform.swift
[166/208] Compiling Async Future+Variadic.swift
[167/208] Compiling Async Future+Void.swift
[168/208] Compiling Async FutureType.swift
[169/208] Compiling Async QueueHandler.swift
[171/209] Compiling Bits Data+Strings.swift
[172/210] Wrapping AST for NIOTLS for debugging
[174/224] Wrapping AST for Async for debugging
[176/226] Compiling NIOHTTP1 HTTPEncoder.swift
[176/227] Wrapping AST for Bits for debugging
[178/227] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[179/227] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[180/255] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[181/255] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[182/255] Compiling NIOHTTP1 HTTPTypes.swift
[183/255] Compiling Random RandomProtocol.swift
[184/255] Compiling Random URandom.swift
[185/255] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[186/255] Compiling Random Array+Random.swift
[187/255] Compiling Random OSRandom.swift
[188/255] Emitting module Random
[190/256] Compiling Core DirectoryConfig.swift
[191/256] Compiling Core Exports.swift
[192/256] Compiling Core File.swift
[193/259] Compiling Core BasicKey.swift
[194/259] Compiling Core CaseInsensitiveString.swift
[195/259] Emitting module NIOHTTP1
[196/260] Compiling Core Data+Hex.swift
[197/260] Compiling Core DataCoders.swift
[198/260] Compiling Core Deprecated.swift
[198/260] Wrapping AST for Random for debugging
[201/260] Compiling Core NotFound.swift
[202/260] Compiling Core OptionalType.swift
[203/260] Compiling Core Process+Execute.swift
[204/260] Compiling Core Reflectable.swift
[205/260] Compiling Core String+Utilities.swift
[206/260] Compiling Core Thread+Async.swift
[206/260] Wrapping AST for NIOHTTP1 for debugging
[208/268] Emitting module NIOOpenSSL
[209/271] Compiling Core Future+Unwrap.swift
[210/271] Compiling Core FutureEncoder.swift
[213/271] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[214/271] Compiling NIOWebSocket WebSocketOpcode.swift
[215/271] Compiling NIOWebSocket Base64.swift
[216/271] Compiling NIOWebSocket SHA1.swift
[217/271] Compiling Core Decodable+Reflectable.swift
[218/271] Compiling Core ReflectionDecodable.swift
[219/271] Compiling Core ReflectionDecoders.swift
[220/271] Compiling Core CoreError.swift
[221/271] Compiling Core Data+Base64URL.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
306 | /// if available.
307 | func getPeerCertificate() -> OpenSSLCertificate? {
308 | guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
| `- error: cannot find 'SSL_get_peer_certificate' in scope
309 | return nil
310 | }
/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'
306 | /// if available.
307 | func getPeerCertificate() -> OpenSSLCertificate? {
308 | guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
| `- error: cannot infer contextual base in reference to member 'make'
309 | return nil
310 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
128 | CNIOOpenSSL_SSL_CTX_set_mode(ctx, Int(SSL_MODE_RELEASE_BUFFERS | SSL_MODE_AUTO_RETRY))
129 |
130 | var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
| `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
131 |
132 | // Handle TLS versions
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION SSL_OP_BIT(16)
386 | /* Don't use compression even if supported */
387 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17)
| `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
388 | /* Permit unsafe legacy renegotiation */
389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
133 | switch configuration.minimumTLSVersion {
134 | case .tlsv13:
135 | opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
| `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
136 | fallthrough
137 | case .tlsv12:
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
| `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
422 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29)
/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
136 | fallthrough
137 | case .tlsv12:
138 | opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
| `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
139 | fallthrough
140 | case .tlsv11:
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
| `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
422 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29)
423 | # define SSL_OP_NO_DTLSv1 SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
139 | fallthrough
140 | case .tlsv11:
141 | opensslOptions |= Int(SSL_OP_NO_TLSv1)
| `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
142 | fallthrough
143 | case .tlsv1:
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
| `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
142 | fallthrough
143 | case .tlsv1:
144 | opensslOptions |= Int(SSL_OP_NO_SSLv3)
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
145 | fallthrough
146 | case .sslv3:
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
153 | switch configuration.maximumTLSVersion {
154 | case .some(.sslv2):
155 | opensslOptions |= Int(SSL_OP_NO_SSLv3)
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
156 | fallthrough
157 | case .some(.sslv3):
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
156 | fallthrough
157 | case .some(.sslv3):
158 | opensslOptions |= Int(SSL_OP_NO_TLSv1)
| `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
159 | fallthrough
160 | case .some(.tlsv1):
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
| `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
/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
159 | fallthrough
160 | case .some(.tlsv1):
161 | opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
| `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
162 | fallthrough
163 | case .some(.tlsv11):
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
| `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
422 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29)
423 | # define SSL_OP_NO_DTLSv1 SSL_OP_BIT(26)
/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
162 | fallthrough
163 | case .some(.tlsv11):
164 | opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
| `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
165 | fallthrough
166 | case .some(.tlsv12):
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
| `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
422 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29)
/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
165 | fallthrough
166 | case .some(.tlsv12):
167 | opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
| `- error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
168 | case .some(.tlsv13), .none:
169 | break
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
306 | /// if available.
307 | func getPeerCertificate() -> OpenSSLCertificate? {
308 | guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
| `- error: cannot find 'SSL_get_peer_certificate' in scope
309 | return nil
310 | }
/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'
306 | /// if available.
307 | func getPeerCertificate() -> OpenSSLCertificate? {
308 | guard let certPtr = SSL_get_peer_certificate(.make(optional: ssl)) else {
| `- error: cannot infer contextual base in reference to member 'make'
309 | return nil
310 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:130:34: error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
128 | CNIOOpenSSL_SSL_CTX_set_mode(ctx, Int(SSL_MODE_RELEASE_BUFFERS | SSL_MODE_AUTO_RETRY))
129 |
130 | var opensslOptions = Int(SSL_OP_NO_COMPRESSION)
| `- error: cannot find 'SSL_OP_NO_COMPRESSION' in scope
131 |
132 | // Handle TLS versions
/usr/include/openssl/ssl.h:387:10: note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
385 | # define SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION SSL_OP_BIT(16)
386 | /* Don't use compression even if supported */
387 | # define SSL_OP_NO_COMPRESSION SSL_OP_BIT(17)
| `- note: macro 'SSL_OP_NO_COMPRESSION' unavailable: structure not supported
388 | /* Permit unsafe legacy renegotiation */
389 | # define SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION SSL_OP_BIT(18)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:135:35: error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
133 | switch configuration.minimumTLSVersion {
134 | case .tlsv13:
135 | opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
| `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
136 | fallthrough
137 | case .tlsv12:
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
| `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
422 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29)
/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
136 | fallthrough
137 | case .tlsv12:
138 | opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
| `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
139 | fallthrough
140 | case .tlsv11:
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
| `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
422 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29)
423 | # define SSL_OP_NO_DTLSv1 SSL_OP_BIT(26)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:141:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
139 | fallthrough
140 | case .tlsv11:
141 | opensslOptions |= Int(SSL_OP_NO_TLSv1)
| `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
142 | fallthrough
143 | case .tlsv1:
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
| `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:144:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
142 | fallthrough
143 | case .tlsv1:
144 | opensslOptions |= Int(SSL_OP_NO_SSLv3)
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
145 | fallthrough
146 | case .sslv3:
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:155:35: error: cannot find 'SSL_OP_NO_SSLv3' in scope
153 | switch configuration.maximumTLSVersion {
154 | case .some(.sslv2):
155 | opensslOptions |= Int(SSL_OP_NO_SSLv3)
| `- error: cannot find 'SSL_OP_NO_SSLv3' in scope
156 | fallthrough
157 | case .some(.sslv3):
/usr/include/openssl/ssl.h:418:10: note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
416 | */
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
| `- note: macro 'SSL_OP_NO_SSLv3' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLContext.swift:158:35: error: cannot find 'SSL_OP_NO_TLSv1' in scope
156 | fallthrough
157 | case .some(.sslv3):
158 | opensslOptions |= Int(SSL_OP_NO_TLSv1)
| `- error: cannot find 'SSL_OP_NO_TLSv1' in scope
159 | fallthrough
160 | case .some(.tlsv1):
/usr/include/openssl/ssl.h:419:10: note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
417 | # define SSL_OP_NO_ANTI_REPLAY SSL_OP_BIT(24)
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
| `- note: macro 'SSL_OP_NO_TLSv1' unavailable: structure not supported
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
/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
159 | fallthrough
160 | case .some(.tlsv1):
161 | opensslOptions |= Int(SSL_OP_NO_TLSv1_1)
| `- error: cannot find 'SSL_OP_NO_TLSv1_1' in scope
162 | fallthrough
163 | case .some(.tlsv11):
/usr/include/openssl/ssl.h:421:10: note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
| `- note: macro 'SSL_OP_NO_TLSv1_1' unavailable: structure not supported
422 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29)
423 | # define SSL_OP_NO_DTLSv1 SSL_OP_BIT(26)
/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
162 | fallthrough
163 | case .some(.tlsv11):
164 | opensslOptions |= Int(SSL_OP_NO_TLSv1_2)
| `- error: cannot find 'SSL_OP_NO_TLSv1_2' in scope
165 | fallthrough
166 | case .some(.tlsv12):
/usr/include/openssl/ssl.h:420:10: note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
418 | # define SSL_OP_NO_SSLv3 SSL_OP_BIT(25)
419 | # define SSL_OP_NO_TLSv1 SSL_OP_BIT(26)
420 | # define SSL_OP_NO_TLSv1_2 SSL_OP_BIT(27)
| `- note: macro 'SSL_OP_NO_TLSv1_2' unavailable: structure not supported
421 | # define SSL_OP_NO_TLSv1_1 SSL_OP_BIT(28)
422 | # define SSL_OP_NO_TLSv1_3 SSL_OP_BIT(29)
/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
165 | fallthrough
166 | case .some(.tlsv12):
167 | opensslOptions |= Int(CNIOOpenSSL_SSL_OP_NO_TLSv1_3)
| `- error: cannot find 'CNIOOpenSSL_SSL_OP_NO_TLSv1_3' in scope
168 | case .some(.tlsv13), .none:
169 | break
[233/272] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[234/272] Compiling NIOOpenSSL TLSConfiguration.swift
BUILD FAILURE 6.0 linux