Build Information
Failed to build Nats, reference 2.0.9 (3f3bbe
), with Swift 6.0 for Linux on 26 Nov 2024 17:07:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/hjuraev/nats-swift.git
Reference: 2.0.9
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/hjuraev/nats-swift
* tag 2.0.9 -> FETCH_HEAD
HEAD is now at 3f3bbe3 fix
Cloned https://github.com/hjuraev/nats-swift.git
Revision (git rev-parse @):
3f3bbe35f0403d82cb1bb62afae1791a4b5d2269
SUCCESS checkout https://github.com/hjuraev/nats-swift.git at 2.0.9
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/hjuraev/nats-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/apple/swift-protobuf.git
[1/70295] Fetching vapor
[7031/108168] Fetching vapor, swift-protobuf
Fetched https://github.com/vapor/vapor.git from cache (4.40s)
Fetched https://github.com/apple/swift-protobuf.git from cache (4.44s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (1.98s)
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/websocket.git
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/validation.git
[1/381] Fetching url-encoded-form
[382/1663] Fetching url-encoded-form, template-kit
[1485/2582] Fetching url-encoded-form, template-kit, service
[2087/23272] Fetching url-encoded-form, template-kit, service, routing
[2814/25796] Fetching url-encoded-form, template-kit, service, routing, websocket
[3060/26375] Fetching url-encoded-form, template-kit, service, routing, websocket, validation
Fetched https://github.com/vapor/validation.git from cache (0.28s)
Fetched https://github.com/vapor/template-kit.git from cache (0.28s)
[12307/24514] Fetching url-encoded-form, service, routing, websocket
Fetched https://github.com/vapor/websocket.git from cache (0.28s)
[9990/21990] Fetching url-encoded-form, service, routing
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/database-kit.git
[17440/23171] Fetching url-encoded-form, service, routing, database-kit
[18828/48638] Fetching url-encoded-form, service, routing, database-kit, http
Fetched https://github.com/vapor/database-kit.git from cache (0.20s)
[19175/47457] Fetching url-encoded-form, service, routing, http
Fetching https://github.com/vapor/crypto.git
[21164/49550] Fetching url-encoded-form, service, routing, http, multipart
[35228/52336] Fetching url-encoded-form, service, routing, http, multipart, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.26s)
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/service.git from cache (0.83s)
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.84s)
Fetched https://github.com/vapor/routing.git from cache (0.85s)
Fetching https://github.com/vapor/console.git
[21132/27560] Fetching http, multipart
[21387/47703] Fetching http, multipart, core
[38259/53173] Fetching http, multipart, core, console
Fetched https://github.com/vapor/console.git from cache (0.43s)
[42286/47703] Fetching http, multipart, core
Fetched https://github.com/vapor/core.git from cache (0.93s)
Fetched https://github.com/vapor/http.git from cache (1.66s)
Fetched https://github.com/vapor/multipart.git from cache (1.69s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.57s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.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 (5.70s)
Fetched https://github.com/apple/swift-nio.git from cache (5.80s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.85s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (4.04s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (2.29s)
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.34s)
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.90s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.87s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.89s)
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.87s)
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.29s)
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 (1.05s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.71s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.65s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.51s)
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.44s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.67s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.81s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.84s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.28.2 (0.76s)
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/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.28.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/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/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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.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/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/80] Write sources
[20/80] Copying PrivacyInfo.xcprivacy
[20/80] Write sources
[33/80] Compiling CNIOZlib empty.c
[34/80] Compiling CNIOLinux ifaddrs-android.c
[35/80] Compiling CNIOSHA1 c_nio_sha1.c
[36/80] Compiling CNIOLinux shim.c
[37/80] Compiling CNIODarwin shim.c
[38/80] Compiling CBcrypt blf.c
[39/80] Compiling CNIOOpenSSL helpers.c
[40/80] Compiling CBcrypt bcrypt.c
[41/80] Compiling CNIOHTTPParser c_nio_http_parser.c
[42/80] Compiling CNIOOpenSSL shims.c
[43/80] Compiling CBase32 base32.c
[44/80] Write swift-version-24593BA9C3E375BF.txt
[45/80] Compiling CCryptoOpenSSL shim.c
[46/172] Compiling c-atomics.c
[48/175] Compiling NIOPriorityQueue PriorityQueue.swift
[49/175] Compiling Debugging SourceLocation.swift
[50/175] Emitting module NIOConcurrencyHelpers
[51/175] Emitting module COperatingSystem
[52/175] Compiling COperatingSystem libc.swift
[53/176] Compiling NIOConcurrencyHelpers lock.swift
[54/176] Compiling NIOConcurrencyHelpers atomics.swift
[56/177] Emitting module NIOPriorityQueue
[57/177] Compiling NIOPriorityQueue Heap.swift
[59/178] Wrapping AST for COperatingSystem for debugging
[60/178] Wrapping AST for NIOConcurrencyHelpers for debugging
[61/178] Wrapping AST for NIOPriorityQueue for debugging
[63/228] Emitting module SwiftProtobuf
[64/239] Compiling Debugging Demangler.swift
[65/239] Emitting module Debugging
[66/239] Compiling Debugging Debuggable.swift
[67/240] Wrapping AST for Debugging for debugging
[69/240] Compiling SwiftProtobuf CustomJSONCodable.swift
[70/240] Compiling SwiftProtobuf Decoder.swift
[71/240] Compiling SwiftProtobuf DoubleParser.swift
[72/240] Compiling SwiftProtobuf Enum.swift
[73/240] Compiling SwiftProtobuf ExtensibleMessage.swift
[74/240] Compiling SwiftProtobuf ExtensionFieldValueSet.swift
[75/240] Compiling SwiftProtobuf ExtensionFields.swift
[76/240] Compiling SwiftProtobuf ExtensionMap.swift
[77/240] Compiling SwiftProtobuf FieldTag.swift
[78/240] Compiling SwiftProtobuf FieldTypes.swift
[79/240] Compiling SwiftProtobuf Google_Protobuf_Any+Extensions.swift
[80/240] Compiling SwiftProtobuf Google_Protobuf_Any+Registry.swift
[81/240] Compiling NIO Socket.swift
[82/240] Compiling NIO SocketAddresses.swift
[83/240] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
[84/240] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
[85/240] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
[86/240] Compiling SwiftProtobuf Message.swift
[87/240] Compiling SwiftProtobuf MessageExtension.swift
[88/240] Compiling SwiftProtobuf NameMap.swift
[89/240] Compiling SwiftProtobuf PathDecoder.swift
[90/240] Compiling SwiftProtobuf PathVisitor.swift
[91/240] Compiling SwiftProtobuf ProtoNameProviding.swift
[92/240] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
[93/240] Compiling SwiftProtobuf TextFormatEncodingVisitor.swift
[94/240] Compiling SwiftProtobuf TextFormatScanner.swift
[95/240] Compiling SwiftProtobuf TimeUtils.swift
[96/240] Compiling SwiftProtobuf UnknownStorage.swift
[97/240] Compiling SwiftProtobuf UnsafeRawPointer+Shims.swift
[98/240] Compiling SwiftProtobuf Varint.swift
[99/240] Compiling SwiftProtobuf Version.swift
[100/240] Compiling SwiftProtobuf Visitor.swift
[101/240] Compiling SwiftProtobuf WireFormat.swift
[102/240] Compiling SwiftProtobuf ZigZag.swift
[103/240] Compiling SwiftProtobuf any.pb.swift
[104/240] Compiling NIO MarkedCircularBuffer.swift
[105/240] Compiling NIO MulticastChannel.swift
[106/240] Compiling NIO NIOAny.swift
[107/240] Compiling NIO NonBlockingFileIO.swift
[108/240] Compiling NIO PendingDatagramWritesManager.swift
[109/240] Compiling NIO PendingWritesManager.swift
[110/240] Compiling NIO PriorityQueue.swift
[111/240] Compiling NIO RecvByteBufferAllocator.swift
[112/240] Compiling NIO Resolver.swift
[113/240] Compiling NIO Selectable.swift
[114/240] Compiling NIO Selector.swift
[115/240] Compiling NIO ServerSocket.swift
[116/240] Compiling NIO AddressedEnvelope.swift
[117/240] Compiling NIO BaseSocket.swift
[118/240] Compiling NIO BaseSocketChannel.swift
[119/240] Compiling NIO BlockingIOThreadPool.swift
[120/240] Compiling NIO Bootstrap.swift
[121/240] Compiling NIO ByteBuffer-aux.swift
[122/240] Compiling NIO ByteBuffer-core.swift
[123/240] Compiling NIO ChannelPipeline.swift
[124/240] Compiling NIO CircularBuffer.swift
[125/240] Compiling NIO Codec.swift
[126/240] Compiling NIO CompositeError.swift
[127/240] Compiling NIO ContiguousCollection.swift
[128/240] Compiling NIO DeadChannel.swift
[129/240] Compiling NIO Embedded.swift
[130/240] Compiling NIO ByteBuffer-int.swift
[131/240] Compiling NIO ByteBuffer-views.swift
[132/240] Compiling NIO Channel.swift
[133/240] Compiling NIO ChannelHandler.swift
[134/240] Compiling NIO ChannelHandlers.swift
[135/240] Compiling NIO ChannelInvoker.swift
[136/240] Compiling NIO ChannelOption.swift
[137/240] Compiling NIO EventLoop.swift
[138/240] Compiling NIO EventLoopFuture.swift
[139/240] Compiling NIO FileDescriptor.swift
[140/240] Compiling NIO FileHandle.swift
[141/240] Compiling NIO FileRegion.swift
[142/240] Compiling NIO GetaddrinfoResolver.swift
[143/240] Compiling NIO HappyEyeballs.swift
[144/240] Compiling NIO Heap.swift
[145/240] Compiling NIO IO.swift
[146/240] Compiling NIO IOData.swift
[147/240] Compiling NIO IntegerTypes.swift
[148/240] Compiling NIO Interfaces.swift
[149/240] Compiling NIO Linux.swift
[150/240] Compiling NIO LinuxCPUSet.swift
[158/246] Emitting module NIO
[201/246] Compiling NIO SocketChannel.swift
[202/246] Compiling NIO SocketOptionProvider.swift
[203/246] Compiling NIO System.swift
[204/246] Compiling NIO Thread.swift
[205/246] Compiling NIO TypeAssistedChannelHandler.swift
[206/246] Compiling NIO Utilities.swift
[207/247] Wrapping AST for NIO for debugging
[209/289] Compiling NIOTLS TLSEvents.swift
[210/289] Emitting module NIOFoundationCompat
[211/289] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[212/290] Compiling Async Async+NIO.swift
[213/290] Compiling Async AsyncError.swift
[214/290] Compiling Async Future+Flatten.swift
[215/290] Compiling Async Future+Global.swift
[216/290] Emitting module Async
[218/290] Compiling Async Collection+Future.swift
[219/290] Compiling Async Deprecated.swift
[220/290] Compiling Async Exports.swift
[221/290] Compiling Async Future+DoCatch.swift
[222/291] Emitting module Bits
[224/292] Wrapping AST for NIOFoundationCompat for debugging
[226/292] Compiling Bits Deprecated.swift
[227/292] Compiling Async Worker.swift
[230/292] Compiling Bits Data+Bytes.swift
[231/292] Compiling Bits Bytes.swift
[232/292] Compiling Bits Data+Strings.swift
[237/293] Compiling Async Future+Variadic.swift
[238/293] Compiling Async Future+Void.swift
[239/293] Compiling Async Future+Map.swift
[240/293] Compiling Async Future+Transform.swift
[241/293] Compiling Async FutureType.swift
[242/293] Compiling Async QueueHandler.swift
[243/294] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[244/294] Emitting module NIOTLS
[245/294] Compiling NIOTLS SNIHandler.swift
[249/295] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[250/295] Compiling NIOHTTP1 HTTPEncoder.swift
[250/296] Wrapping AST for Async for debugging
[251/296] Wrapping AST for Bits for debugging
[252/320] Wrapping AST for NIOTLS for debugging
[254/340] Emitting module NIOHTTP1
[255/340] Compiling NIOOpenSSL ByteBufferBIO.swift
[256/340] Compiling NIOOpenSSL IdentityVerification.swift
[257/340] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[258/340] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[259/340] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[260/340] Compiling NIOHTTP1 HTTPTypes.swift
[261/340] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[262/341] Compiling Random RandomProtocol.swift
[263/341] Compiling Random URandom.swift
[265/341] Compiling Random Array+Random.swift
[266/341] Emitting module Random
[267/341] Compiling Random OSRandom.swift
[268/342] Compiling Core NotFound.swift
[269/342] Compiling Core OptionalType.swift
[270/342] Compiling Core Process+Execute.swift
[274/345] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[274/345] Wrapping AST for NIOHTTP1 for debugging
[275/354] Wrapping AST for Random for debugging
[277/354] Compiling NIOOpenSSL SSLInit.swift
[278/354] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[279/354] Compiling NIOOpenSSL SSLPointerTricks.swift
[280/354] Compiling Core Reflectable.swift
[281/354] Compiling Core String+Utilities.swift
[282/354] Compiling Core Thread+Async.swift
[283/354] Compiling NIOWebSocket WebSocketOpcode.swift
[284/355] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[285/355] Compiling NIOOpenSSL SSLContext.swift
[286/355] Compiling NIOOpenSSL PosixPort.swift
[287/355] Compiling NIOOpenSSL SSLCertificate.swift
[288/355] Compiling NIOOpenSSL SSLErrors.swift
[289/355] Compiling NIOOpenSSL OpenSSLHandler.swift
[290/355] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[291/355] Compiling NIOOpenSSL SSLConnection.swift
[292/355] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[293/355] Compiling NIOWebSocket WebSocketErrorCodes.swift
[294/355] Emitting module NIOWebSocket
[295/355] Compiling NIOWebSocket Base64.swift
[296/355] Compiling NIOWebSocket SHA1.swift
[297/355] Compiling NIOWebSocket WebSocketFrame.swift
[298/355] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[303/357] Compiling NIOOpenSSL SSLPrivateKey.swift
[304/357] Compiling NIOOpenSSL SSLPublicKey.swift
[305/357] Compiling NIOWebSocket WebSocketUpgrader.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
[308/358] Emitting module NIOOpenSSL
[316/358] Wrapping AST for NIOWebSocket for debugging
[318/358] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[319/358] Compiling NIOOpenSSL TLSConfiguration.swift
BUILD FAILURE 6.0 linux