Build Information
Failed to build Elasticsearch, reference master (fef7dc
), with Swift 6.0 for Linux on 31 Oct 2024 08:47:10 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryangrimm/vaporelasticsearch.git
Reference: master
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/ryangrimm/vaporelasticsearch
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at fef7dc4 Merge pull request #18 from docterd/multi_match_fuzzyness
Cloned https://github.com/ryangrimm/vaporelasticsearch.git
Revision (git rev-parse @):
fef7dc43bfb419e51f59a8911125c5d90942e8c6
SUCCESS checkout https://github.com/ryangrimm/vaporelasticsearch.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/ryangrimm/vaporelasticsearch.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 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/http.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio.git
[1/2786] Fetching crypto
[2787/3967] Fetching crypto, database-kit
[3968/24110] Fetching crypto, database-kit, core
[4170/49577] Fetching crypto, database-kit, core, http
[28415/119681] Fetching crypto, database-kit, core, http, vapor
Fetched https://github.com/vapor/http.git from cache (0.87s)
[59162/94214] Fetching crypto, database-kit, core, vapor
[68978/165305] Fetching crypto, database-kit, core, vapor, swift-nio
Fetched https://github.com/vapor/database-kit.git from cache (1.67s)
[134977/164124] Fetching crypto, core, vapor, swift-nio
Fetched https://github.com/vapor/core.git from cache (1.69s)
Fetched https://github.com/vapor/vapor.git from cache (1.71s)
[45441/73877] Fetching crypto, swift-nio
Fetched https://github.com/vapor/crypto.git from cache (3.99s)
Fetched https://github.com/apple/swift-nio.git from cache (4.06s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.42s)
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.40s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.42s)
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
Fetched https://github.com/vapor/service.git from cache (0.22s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.40s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.42s)
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/websocket.git
[1/1282] Fetching template-kit
[1283/1663] Fetching template-kit, url-encoded-form
[1664/3591] Fetching template-kit, url-encoded-form, multipart
[1742/4170] Fetching template-kit, url-encoded-form, multipart, validation
[2286/24860] Fetching template-kit, url-encoded-form, multipart, validation, routing
[4194/27340] Fetching template-kit, url-encoded-form, multipart, validation, routing, websocket
Fetched https://github.com/vapor/websocket.git from cache (0.30s)
[12262/24860] Fetching template-kit, url-encoded-form, multipart, validation, routing
Fetching https://github.com/vapor/console.git
[19091/30330] Fetching template-kit, url-encoded-form, multipart, validation, routing, console
Fetched https://github.com/vapor/console.git from cache (0.32s)
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.78s)
Fetched https://github.com/vapor/template-kit.git from cache (0.78s)
[21790/23197] Fetching multipart, validation, routing
Fetched https://github.com/vapor/validation.git from cache (1.24s)
Fetched https://github.com/vapor/routing.git from cache (1.26s)
Fetched https://github.com/vapor/multipart.git from cache (1.29s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.41s)
Fetching https://github.com/apple/swift-nio-ssl.git
[1/13295] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.49s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.43s)
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.18s)
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.39s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (0.41s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.41s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.41s)
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.42s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.42s)
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.42s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.41s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.41s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.42s)
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.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/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/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.3
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
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.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-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/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/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/32] Write sources
[16/32] Compiling CNIOZlib empty.c
[17/32] Compiling CNIOLinux ifaddrs-android.c
[18/32] Compiling CNIODarwin shim.c
[19/32] Compiling CNIOSHA1 c_nio_sha1.c
[20/32] Compiling CNIOLinux shim.c
[21/32] Compiling CBcrypt blf.c
[21/32] Compiling CBcrypt bcrypt.c
[23/32] Write sources
[25/32] Compiling CBase32 base32.c
[26/32] Compiling CNIOHTTPParser c_nio_http_parser.c
[27/32] Compiling CNIOOpenSSL shims.c
[28/32] Compiling CNIOOpenSSL helpers.c
[29/32] Compiling CCryptoOpenSSL shim.c
[30/32] Write swift-version-24593BA9C3E375BF.txt
[31/41] Compiling c-atomics.c
[33/44] Compiling NIOPriorityQueue PriorityQueue.swift
[34/44] Compiling Debugging SourceLocation.swift
[35/44] Emitting module COperatingSystem
[36/44] Compiling COperatingSystem libc.swift
[37/45] Emitting module NIOPriorityQueue
[38/45] Compiling NIOPriorityQueue Heap.swift
[41/46] Compiling NIOConcurrencyHelpers atomics.swift
[42/46] Emitting module NIOConcurrencyHelpers
[43/46] Compiling NIOConcurrencyHelpers lock.swift
[45/97] Emitting module Debugging
[46/97] Compiling Debugging Debuggable.swift
[47/97] Compiling Debugging Demangler.swift
[49/98] Compiling NIO MarkedCircularBuffer.swift
[50/98] Compiling NIO MulticastChannel.swift
[51/98] Compiling NIO NIOAny.swift
[52/98] Compiling NIO NonBlockingFileIO.swift
[53/98] Compiling NIO PendingDatagramWritesManager.swift
[54/98] Compiling NIO PendingWritesManager.swift
[55/98] Compiling NIO PriorityQueue.swift
[56/98] Compiling NIO RecvByteBufferAllocator.swift
[57/98] Compiling NIO Resolver.swift
[58/98] Compiling NIO Selectable.swift
[59/98] Compiling NIO Selector.swift
[60/98] Compiling NIO ServerSocket.swift
[61/98] Compiling NIO Socket.swift
[62/98] Compiling NIO SocketAddresses.swift
[63/98] Compiling NIO Heap.swift
[64/98] Compiling NIO IO.swift
[65/98] Compiling NIO IOData.swift
[66/98] Compiling NIO IntegerTypes.swift
[67/98] Compiling NIO Interfaces.swift
[68/98] Compiling NIO Linux.swift
[69/98] Compiling NIO LinuxCPUSet.swift
[70/104] Emitting module NIO
[71/104] Compiling NIO EventLoop.swift
[72/104] Compiling NIO EventLoopFuture.swift
[73/104] Compiling NIO FileDescriptor.swift
[74/104] Compiling NIO FileHandle.swift
[75/104] Compiling NIO FileRegion.swift
[76/104] Compiling NIO GetaddrinfoResolver.swift
[77/104] Compiling NIO HappyEyeballs.swift
[78/104] Compiling NIO ByteBuffer-int.swift
[79/104] Compiling NIO ByteBuffer-views.swift
[80/104] Compiling NIO Channel.swift
[81/104] Compiling NIO ChannelHandler.swift
[82/104] Compiling NIO ChannelHandlers.swift
[83/104] Compiling NIO ChannelInvoker.swift
[84/104] Compiling NIO ChannelOption.swift
[85/104] Compiling NIO ChannelPipeline.swift
[86/104] Compiling NIO CircularBuffer.swift
[87/104] Compiling NIO Codec.swift
[88/104] Compiling NIO CompositeError.swift
[89/104] Compiling NIO ContiguousCollection.swift
[90/104] Compiling NIO DeadChannel.swift
[91/104] Compiling NIO Embedded.swift
[92/104] Compiling NIO AddressedEnvelope.swift
[93/104] Compiling NIO BaseSocket.swift
[94/104] Compiling NIO BaseSocketChannel.swift
[95/104] Compiling NIO BlockingIOThreadPool.swift
[96/104] Compiling NIO Bootstrap.swift
[97/104] Compiling NIO ByteBuffer-aux.swift
[98/104] Compiling NIO ByteBuffer-core.swift
[99/104] Compiling NIO SocketChannel.swift
[100/104] Compiling NIO SocketOptionProvider.swift
[101/104] Compiling NIO System.swift
[102/104] Compiling NIO Thread.swift
[103/104] Compiling NIO TypeAssistedChannelHandler.swift
[104/104] Compiling NIO Utilities.swift
[106/147] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[107/147] Emitting module NIOFoundationCompat
[108/148] Compiling NIOTLS TLSEvents.swift
[109/148] Emitting module Async
[110/148] Compiling Bits BitsError.swift
[111/148] Compiling Bits Byte+Alphabet.swift
[112/149] Compiling Bits Byte+Control.swift
[113/149] Compiling Bits Byte+Digit.swift
[115/149] Emitting module NIOTLS
[116/149] Compiling Bits Bytes.swift
[119/150] Compiling Bits ByteBuffer+require.swift
[120/150] Compiling Bits ByteBuffer+string.swift
[121/150] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[122/150] Compiling Bits ByteBuffer+peek.swift
[125/150] Compiling Async Async+NIO.swift
[126/150] Compiling Async AsyncError.swift
[127/150] Compiling Async Future+Variadic.swift
[128/150] Compiling Async Future+Void.swift
[129/150] Compiling Async FutureType.swift
[130/150] Compiling Async QueueHandler.swift
[133/150] Compiling Async Worker.swift
[134/151] Compiling Bits Data+Strings.swift
[135/151] Compiling Bits Data+Bytes.swift
[136/151] Emitting module Bits
[139/151] Compiling Bits Deprecated.swift
[142/152] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[143/152] Compiling NIOTLS SNIHandler.swift
[145/181] Compiling Random URandom.swift
[146/181] Compiling Random RandomProtocol.swift
[147/197] Compiling Random Array+Random.swift
[148/197] Compiling Random OSRandom.swift
[149/197] Emitting module Random
[150/198] Compiling NIOHTTP1 HTTPEncoder.swift
[151/198] Emitting module NIOHTTP1
[152/199] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[153/199] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[154/199] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[155/199] Compiling NIOOpenSSL ByteBufferBIO.swift
[156/199] Compiling NIOOpenSSL IdentityVerification.swift
[157/199] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[158/199] Compiling NIOHTTP1 HTTPTypes.swift
[160/199] Compiling Core NotFound.swift
[161/199] Compiling Core OptionalType.swift
[162/199] Compiling Core Process+Execute.swift
[163/202] Compiling NIOOpenSSL SSLConnection.swift
[164/202] Compiling NIOOpenSSL SSLContext.swift
[165/202] Compiling NIOOpenSSL SSLErrors.swift
[166/202] Compiling NIOOpenSSL SSLInit.swift
[167/202] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[168/202] Compiling NIOOpenSSL SSLPointerTricks.swift
[169/202] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[170/203] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[171/203] Compiling NIOOpenSSL PosixPort.swift
[172/203] Compiling NIOOpenSSL SSLCertificate.swift
[176/203] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[177/203] Compiling NIOOpenSSL OpenSSLHandler.swift
[178/203] Compiling Core Reflectable.swift
[179/203] Compiling Core String+Utilities.swift
[180/203] Compiling Core Thread+Async.swift
[183/205] Emitting module NIOOpenSSL
[187/205] Compiling NIOOpenSSL SSLPrivateKey.swift
[188/205] 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
[197/205] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[198/205] Compiling NIOOpenSSL TLSConfiguration.swift
[203/205] Compiling Core MediaType.swift
[204/205] Compiling Core NestedData.swift
[205/205] Emitting module Core
BUILD FAILURE 6.0 linux