Build Information
Failed to build SwiftBoxLogging, reference 1.0.0 (1534cf
), with Swift 6.0 for Linux on 27 Nov 2024 12:51:14 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-logging.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-logging
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 1534cfe Initial commit
Cloned https://github.com/allegro/swiftbox-logging.git
Revision (git rev-parse @):
1534cfe2960eb863a5c6a598c9076490c8d1faa1
SUCCESS checkout https://github.com/allegro/swiftbox-logging.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/allegro/swiftbox-logging.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/vapor/vapor.git
[1/70299] Fetching vapor
Fetched https://github.com/vapor/vapor.git from cache (2.09s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (2.21s)
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/service.git
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
[1/919] Fetching service
[920/21609] Fetching service, routing
[921/22188] Fetching service, routing, validation
[3155/22569] Fetching service, routing, validation, url-encoded-form
[3182/25093] Fetching service, routing, validation, url-encoded-form, websocket
[11646/26375] Fetching service, routing, validation, url-encoded-form, websocket, template-kit
Fetched https://github.com/vapor/websocket.git from cache (0.41s)
[15782/23851] Fetching service, routing, validation, url-encoded-form, template-kit
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/vapor/template-kit.git from cache (0.42s)
[15328/22569] Fetching service, routing, validation, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.42s)
[15154/22188] Fetching service, routing, validation
Fetching https://github.com/vapor/database-kit.git
[22189/23369] Fetching service, routing, validation, database-kit
[22414/25462] Fetching service, routing, validation, database-kit, multipart
Fetched https://github.com/vapor/database-kit.git from cache (0.34s)
Fetching https://github.com/vapor/crypto.git
[22692/27067] Fetching service, routing, validation, multipart, crypto
Fetched https://github.com/vapor/service.git from cache (0.98s)
[22330/26148] Fetching routing, validation, multipart, crypto
Fetched https://github.com/vapor/validation.git from cache (0.99s)
[21779/25569] Fetching routing, multipart, crypto
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/routing.git from cache (1.01s)
Fetched https://github.com/vapor/crypto.git from cache (0.32s)
[504/22236] Fetching multipart, core
[3526/27706] Fetching multipart, core, console
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/console.git from cache (1.34s)
Fetched https://github.com/vapor/core.git from cache (1.36s)
Fetched https://github.com/vapor/multipart.git from cache (1.98s)
[1/25467] Fetching http
Fetched https://github.com/vapor/http.git from cache (4.60s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (1.40s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/71949] Fetching swift-nio
[2879/85258] Fetching swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.19s)
Fetched https://github.com/apple/swift-nio.git from cache (4.25s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.47s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.53s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.19s)
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.49s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.51s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.54s)
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.52s)
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.18s)
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.60s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.61s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.99s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (1.00s)
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.99s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.97s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.66s)
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/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/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-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.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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/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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.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/74] Write sources
[27/74] Compiling CNIODarwin shim.c
[27/74] Compiling CNIOZlib empty.c
[29/74] Compiling CBcrypt blf.c
[30/74] Compiling CNIOSHA1 c_nio_sha1.c
[31/74] Compiling CNIOLinux ifaddrs-android.c
[32/74] Compiling CNIOLinux shim.c
[33/74] Write swift-version-24593BA9C3E375BF.txt
[33/74] Write sources
[36/74] Compiling CCryptoOpenSSL shim.c
[37/74] Compiling CBcrypt bcrypt.c
[38/74] Compiling CNIOHTTPParser c_nio_http_parser.c
[39/74] Compiling CBase32 base32.c
[40/74] Compiling CNIOOpenSSL helpers.c
[41/78] Compiling CNIOOpenSSL shims.c
[43/83] Emitting module NIOPriorityQueue
[43/83] Compiling c-atomics.c
[45/86] Compiling NIOPriorityQueue PriorityQueue.swift
[46/86] Compiling Debugging SourceLocation.swift
[47/86] Emitting module COperatingSystem
[48/86] Compiling COperatingSystem libc.swift
[49/87] Compiling NIOPriorityQueue Heap.swift
[50/88] Compiling NIOConcurrencyHelpers atomics.swift
[51/88] Emitting module NIOConcurrencyHelpers
[52/88] Compiling NIOConcurrencyHelpers lock.swift
[55/89] Wrapping AST for NIOPriorityQueue for debugging
[56/89] Wrapping AST for NIOConcurrencyHelpers for debugging
[57/89] Wrapping AST for COperatingSystem for debugging
[59/139] Compiling Debugging Demangler.swift
[60/139] Emitting module Debugging
[61/139] Compiling Debugging Debuggable.swift
[62/140] Wrapping AST for Debugging for debugging
[64/140] Compiling NIO MarkedCircularBuffer.swift
[65/140] Compiling NIO MulticastChannel.swift
[66/140] Compiling NIO NIOAny.swift
[67/140] Compiling NIO NonBlockingFileIO.swift
[68/140] Compiling NIO PendingDatagramWritesManager.swift
[69/140] Compiling NIO PendingWritesManager.swift
[70/140] Compiling NIO PriorityQueue.swift
[71/140] Compiling NIO Heap.swift
[72/140] Compiling NIO IO.swift
[73/140] Compiling NIO IOData.swift
[74/140] Compiling NIO IntegerTypes.swift
[75/140] Compiling NIO Interfaces.swift
[76/140] Compiling NIO Linux.swift
[77/140] Compiling NIO LinuxCPUSet.swift
[78/146] Compiling NIO RecvByteBufferAllocator.swift
[79/146] Compiling NIO Resolver.swift
[80/146] Compiling NIO Selectable.swift
[81/146] Compiling NIO Selector.swift
[82/146] Compiling NIO ServerSocket.swift
[83/146] Compiling NIO Socket.swift
[84/146] Compiling NIO SocketAddresses.swift
[85/146] Compiling NIO EventLoop.swift
[86/146] Compiling NIO EventLoopFuture.swift
[87/146] Compiling NIO FileDescriptor.swift
[88/146] Compiling NIO FileHandle.swift
[89/146] Compiling NIO FileRegion.swift
[90/146] Compiling NIO GetaddrinfoResolver.swift
[91/146] Compiling NIO HappyEyeballs.swift
[92/146] Compiling NIO ByteBuffer-int.swift
[93/146] Compiling NIO ByteBuffer-views.swift
[94/146] Compiling NIO Channel.swift
[95/146] Compiling NIO ChannelHandler.swift
[96/146] Compiling NIO ChannelHandlers.swift
[97/146] Compiling NIO ChannelInvoker.swift
[98/146] Compiling NIO ChannelOption.swift
[99/146] Compiling NIO ChannelPipeline.swift
[100/146] Compiling NIO CircularBuffer.swift
[101/146] Compiling NIO Codec.swift
[102/146] Compiling NIO CompositeError.swift
[103/146] Compiling NIO ContiguousCollection.swift
[104/146] Compiling NIO DeadChannel.swift
[105/146] Compiling NIO Embedded.swift
[106/146] Emitting module NIO
[107/146] Compiling NIO AddressedEnvelope.swift
[108/146] Compiling NIO BaseSocket.swift
[109/146] Compiling NIO BaseSocketChannel.swift
[110/146] Compiling NIO BlockingIOThreadPool.swift
[111/146] Compiling NIO Bootstrap.swift
[112/146] Compiling NIO ByteBuffer-aux.swift
[113/146] Compiling NIO ByteBuffer-core.swift
[114/146] Compiling NIO SocketChannel.swift
[115/146] Compiling NIO SocketOptionProvider.swift
[116/146] Compiling NIO System.swift
[117/146] Compiling NIO Thread.swift
[118/146] Compiling NIO TypeAssistedChannelHandler.swift
[119/146] Compiling NIO Utilities.swift
[120/151] Wrapping AST for NIO for debugging
[122/189] Compiling NIOTLS TLSEvents.swift
[123/189] Compiling Bits BitsError.swift
[124/189] Compiling Bits Byte+Alphabet.swift
[125/190] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[126/190] Compiling Bits ByteBuffer+peek.swift
[127/190] Compiling Async Future+Map.swift
[128/190] Compiling Async Future+Transform.swift
[129/190] Compiling Bits Byte+Control.swift
[130/190] Compiling Bits Byte+Digit.swift
[131/190] Emitting module Async
[132/190] Compiling Bits Bytes.swift
[133/191] Compiling Bits ByteBuffer+require.swift
[134/191] Compiling Bits ByteBuffer+string.swift
[135/191] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[136/191] Emitting module NIOFoundationCompat
[137/192] Compiling Async Worker.swift
[140/192] Compiling Bits Deprecated.swift
[143/192] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[147/193] Emitting module Bits
[148/193] Compiling Async FutureType.swift
[149/193] Compiling Async QueueHandler.swift
[152/193] Compiling Async Future+Variadic.swift
[153/193] Compiling Async Future+Void.swift
[154/194] Compiling Bits Data+Bytes.swift
[155/194] Compiling Bits Data+Strings.swift
[156/195] Wrapping AST for NIOFoundationCompat for debugging
[159/195] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[160/195] Emitting module NIOTLS
[161/195] Compiling NIOTLS SNIHandler.swift
[162/196] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[162/196] Wrapping AST for Async for debugging
[164/210] Wrapping AST for Bits for debugging
[166/219] Compiling NIOHTTP1 HTTPEncoder.swift
[166/220] Wrapping AST for NIOTLS for debugging
[168/240] Compiling Random URandom.swift
[169/240] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[170/240] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[171/240] Compiling Random RandomProtocol.swift
[172/240] Compiling Random Array+Random.swift
[173/240] Emitting module Random
[174/240] Compiling Random OSRandom.swift
[175/241] Compiling NIOOpenSSL SSLConnection.swift
[176/241] Compiling NIOOpenSSL SSLContext.swift
[177/241] Compiling NIOOpenSSL SSLErrors.swift
[178/241] Compiling NIOOpenSSL SSLInit.swift
[179/241] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[180/241] Compiling NIOOpenSSL SSLPointerTricks.swift
[181/244] Compiling Core NotFound.swift
[182/244] Compiling Core OptionalType.swift
[183/244] Compiling Core Process+Execute.swift
[185/244] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[186/244] Compiling NIOHTTP1 HTTPTypes.swift
[186/244] Wrapping AST for Random for debugging
[188/244] Compiling Core Reflectable.swift
[189/244] Compiling Core String+Utilities.swift
[190/244] Compiling Core Thread+Async.swift
[191/244] Emitting module NIOHTTP1
[192/244] Compiling NIOOpenSSL PosixPort.swift
[193/244] Compiling NIOOpenSSL SSLCertificate.swift
[197/245] Compiling NIOOpenSSL OpenSSLHandler.swift
[198/245] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[199/245] Compiling NIOOpenSSL ByteBufferBIO.swift
[200/245] Compiling NIOOpenSSL IdentityVerification.swift
[201/245] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[202/245] Compiling NIOOpenSSL SSLPrivateKey.swift
[203/245] 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
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
[210/247] Emitting module NIOOpenSSL
[218/247] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[219/247] Compiling NIOOpenSSL TLSConfiguration.swift
[219/247] Wrapping AST for NIOHTTP1 for debugging
BUILD FAILURE 6.0 linux