The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build XMPP, reference v0.0.3 (4022bf), with Swift 6.0 for Linux on 31 Oct 2024 07:05:13 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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluuxIO/XMPP.git
Reference: v0.0.3
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/FluuxIO/XMPP
 * tag               v0.0.3     -> FETCH_HEAD
HEAD is now at 4022bf6 Fix typo
Cloned https://github.com/FluuxIO/XMPP.git
Revision (git rev-parse @):
4022bf6b94d5ff9eaa73aa832a7f5b21504f45b3
SUCCESS checkout https://github.com/FluuxIO/XMPP.git at v0.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/FluuxIO/XMPP.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 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-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/13295] Fetching swift-nio-ssl
[2926/84386] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.77s)
[43366/71091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.40s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (2.03s)
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.16s)
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.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.51s)
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.17s)
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)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/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-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.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/15] Write sources
[7/15] Compiling CNIOLinux ifaddrs-android.c
[8/15] Compiling CNIODarwin shim.c
[9/15] Compiling CNIOLinux shim.c
[10/15] Compiling CNIOSHA1 c_nio_sha1.c
[11/15] Write swift-version-24593BA9C3E375BF.txt
[11/15] Compiling CNIOOpenSSL helpers.c
[12/15] Compiling CNIOOpenSSL shims.c
[14/20] Compiling c-atomics.c
[16/23] Emitting module NIOPriorityQueue
[17/23] Compiling NIOPriorityQueue PriorityQueue.swift
[18/23] Compiling NIOPriorityQueue Heap.swift
[19/24] Compiling NIOConcurrencyHelpers atomics.swift
[20/24] Emitting module NIOConcurrencyHelpers
[21/24] Compiling NIOConcurrencyHelpers lock.swift
[24/75] Emitting module XFoundationCompat
/host/spi-builder-workspace/Sources/XFoundationCompat/PropertyListCoder.swift:1834:17: warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
1832 | // Since plists do not support null values by default, we will encode them as "$null".
1833 | fileprivate let _plistNull = "$null"
1834 | fileprivate let _plistNullNSString = NSString(string: _plistNull)
     |                 |- warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
     |                 |- note: annotate '_plistNullNSString' with '@MainActor' if property should only be accessed from the main actor
     |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1835 |
1836 | //===----------------------------------------------------------------------===//
Foundation.NSString:1:12: note: class 'NSString' does not conform to the 'Sendable' protocol
 1 | open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
   |            `- note: class 'NSString' does not conform to the 'Sendable' protocol
 2 |     open var length: Int { get }
 3 |     open func character(at index: Int) -> unichar
[25/75] Compiling XFoundationCompat PropertyListCoder.swift
/host/spi-builder-workspace/Sources/XFoundationCompat/PropertyListCoder.swift:1834:17: warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
1832 | // Since plists do not support null values by default, we will encode them as "$null".
1833 | fileprivate let _plistNull = "$null"
1834 | fileprivate let _plistNullNSString = NSString(string: _plistNull)
     |                 |- warning: let '_plistNullNSString' is not concurrency-safe because non-'Sendable' type 'NSString' may have shared mutable state; this is an error in the Swift 6 language mode
     |                 |- note: annotate '_plistNullNSString' with '@MainActor' if property should only be accessed from the main actor
     |                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1835 |
1836 | //===----------------------------------------------------------------------===//
Foundation.NSString:1:12: note: class 'NSString' does not conform to the 'Sendable' protocol
 1 | open class NSString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
   |            `- note: class 'NSString' does not conform to the 'Sendable' protocol
 2 |     open var length: Int { get }
 3 |     open func character(at index: Int) -> unichar
[27/76] Compiling NIO ByteBuffer-int.swift
[28/76] Compiling NIO ByteBuffer-views.swift
[29/76] Compiling NIO Channel.swift
[30/76] Compiling NIO ChannelHandler.swift
[31/76] Compiling NIO ChannelHandlers.swift
[32/76] Compiling NIO ChannelInvoker.swift
[33/76] Compiling NIO ChannelOption.swift
[34/82] Emitting module NIO
[35/82] Compiling NIO MarkedCircularBuffer.swift
[36/82] Compiling NIO MulticastChannel.swift
[37/82] Compiling NIO NIOAny.swift
[38/82] Compiling NIO NonBlockingFileIO.swift
[39/82] Compiling NIO PendingDatagramWritesManager.swift
[40/82] Compiling NIO PendingWritesManager.swift
[41/82] Compiling NIO PriorityQueue.swift
[42/82] Compiling NIO Heap.swift
[43/82] Compiling NIO IO.swift
[44/82] Compiling NIO IOData.swift
[45/82] Compiling NIO IntegerTypes.swift
[46/82] Compiling NIO Interfaces.swift
[47/82] Compiling NIO Linux.swift
[48/82] Compiling NIO LinuxCPUSet.swift
[49/82] Compiling NIO EventLoop.swift
[50/82] Compiling NIO EventLoopFuture.swift
[51/82] Compiling NIO FileDescriptor.swift
[52/82] Compiling NIO FileHandle.swift
[53/82] Compiling NIO FileRegion.swift
[54/82] Compiling NIO GetaddrinfoResolver.swift
[55/82] Compiling NIO HappyEyeballs.swift
[56/82] Compiling NIO RecvByteBufferAllocator.swift
[57/82] Compiling NIO Resolver.swift
[58/82] Compiling NIO Selectable.swift
[59/82] Compiling NIO Selector.swift
[60/82] Compiling NIO ServerSocket.swift
[61/82] Compiling NIO Socket.swift
[62/82] Compiling NIO SocketAddresses.swift
[63/82] Compiling NIO ChannelPipeline.swift
[64/82] Compiling NIO CircularBuffer.swift
[65/82] Compiling NIO Codec.swift
[66/82] Compiling NIO CompositeError.swift
[67/82] Compiling NIO ContiguousCollection.swift
[68/82] Compiling NIO DeadChannel.swift
[69/82] Compiling NIO Embedded.swift
[70/82] Compiling NIO AddressedEnvelope.swift
[71/82] Compiling NIO BaseSocket.swift
[72/82] Compiling NIO BaseSocketChannel.swift
[73/82] Compiling NIO BlockingIOThreadPool.swift
[74/82] Compiling NIO Bootstrap.swift
[75/82] Compiling NIO ByteBuffer-aux.swift
[76/82] Compiling NIO ByteBuffer-core.swift
[77/82] Compiling NIO SocketChannel.swift
[78/82] Compiling NIO SocketOptionProvider.swift
[79/82] Compiling NIO System.swift
[80/82] Compiling NIO Thread.swift
[81/82] Compiling NIO TypeAssistedChannelHandler.swift
[82/82] Compiling NIO Utilities.swift
[84/87] Compiling NIOTLS SNIHandler.swift
[85/87] Emitting module NIOTLS
[86/87] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[87/87] Compiling NIOTLS TLSEvents.swift
[89/104] Emitting module NIOOpenSSL
[90/106] Compiling NIOOpenSSL SSLPrivateKey.swift
[91/106] Compiling NIOOpenSSL SSLPublicKey.swift
[92/106] Compiling NIOOpenSSL SSLErrors.swift
[93/106] Compiling NIOOpenSSL SSLInit.swift
[94/106] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[95/106] Compiling NIOOpenSSL TLSConfiguration.swift
[96/106] Compiling NIOOpenSSL PosixPort.swift
[97/106] Compiling NIOOpenSSL SSLCertificate.swift
[98/106] Compiling NIOOpenSSL ByteBufferBIO.swift
[99/106] Compiling NIOOpenSSL IdentityVerification.swift
[100/106] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[101/106] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[102/106] Compiling NIOOpenSSL SSLPointerTricks.swift
[103/106] Compiling NIOOpenSSL OpenSSLHandler.swift
[104/106] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[105/106] Compiling NIOOpenSSL SSLConnection.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
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
[106/106] Compiling NIOOpenSSL SSLContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOOpenSSL/SSLConnection.swift:308:29: error: cannot find 'SSL_get_peer_certificate' in scope
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
BUILD FAILURE 6.0 linux