Build Information
Failed to build SlackKit, reference 4.8.0 (3823ae
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 21:22:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SlackKit.git
Reference: 4.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/pvzig/SlackKit
* tag 4.8.0 -> FETCH_HEAD
HEAD is now at 3823aee Revert oauth endpoint change and query params fix (#207)
Cloned https://github.com/pvzig/SlackKit.git
Revision (git rev-parse @):
3823aee4cfd05d618d2aaf334681b9bc4db89a63
SUCCESS checkout https://github.com/pvzig/SlackKit.git at 4.8.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/pvzig/SlackKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/vapor/websocket
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/httpswift/swifter.git
[1/2609] Fetching websocket
[2610/8659] Fetching websocket, swifter
[2792/13692] Fetching websocket, swifter, starscream
Fetched https://github.com/vapor/websocket from cache (0.68s)
Fetched https://github.com/daltoniam/Starscream from cache (0.69s)
Fetched https://github.com/httpswift/swifter.git from cache (0.70s)
Computing version for https://github.com/vapor/websocket
Computed https://github.com/vapor/websocket at 1.1.2 (3.38s)
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/core.git
[1/25467] Fetching http
[766/45610] Fetching http, core
[2389/48396] Fetching http, core, crypto
[31636/63286] Fetching http, core, crypto, swift-nio-ssl
[41063/139613] Fetching http, core, crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/http.git from cache (1.97s)
Fetched https://github.com/vapor/core.git from cache (1.98s)
[71869/94003] Fetching crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.99s)
[57742/79113] Fetching crypto, swift-nio
Fetched https://github.com/vapor/crypto.git from cache (5.14s)
Fetched https://github.com/apple/swift-nio.git from cache (5.26s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (5.98s)
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.76s)
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.30s)
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.91s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.47s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.42s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.19s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.60s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.43s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.48s)
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.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/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-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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
Creating working copy for https://github.com/vapor/websocket
Working copy of https://github.com/vapor/websocket 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/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
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
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Building for debugging...
[0/38] Write sources
[22/38] Compiling CNIOZlib empty.c
[23/38] Compiling CNIOLinux ifaddrs-android.c
[24/38] Compiling CNIOSHA1 c_nio_sha1.c
[25/38] Compiling CNIODarwin shim.c
[26/38] Write swift-version-24593BA9C3E375BF.txt
[27/38] Compiling CNIOLinux shim.c
[28/38] Compiling CBcrypt blf.c
[29/38] Compiling CNIOHTTPParser c_nio_http_parser.c
[30/38] Compiling CBcrypt bcrypt.c
[31/48] Compiling CNIOOpenSSL helpers.c
[32/57] Compiling CNIOOpenSSL shims.c
[33/58] Compiling CCryptoOpenSSL shim.c
[34/58] Write sources
[36/62] Compiling CBase32 base32.c
[37/94] Compiling c-atomics.c
[39/97] Emitting module SKCore
[40/100] Compiling SKCore Topic.swift
[41/100] Compiling SKCore User.swift
[42/100] Compiling SKCore UserGroup.swift
[43/100] Compiling SKCore SlackError.swift
[44/100] Compiling SKCore Team.swift
[45/100] Compiling SKCore TeamIcon.swift
[46/100] Compiling SKCore BlockElement.swift
[47/100] Compiling SKCore BlockLayout.swift
[48/100] Compiling SKCore Bot.swift
[49/100] Compiling SKCore Channel.swift
[50/100] Compiling SKCore Action.swift
[51/100] Compiling SKCore Attachment.swift
[52/100] Compiling SKCore AttachmentField.swift
[53/100] Compiling SKCore BlockComposition.swift
[54/100] Compiling NIOPriorityQueue PriorityQueue.swift
[55/100] Compiling Debugging SourceLocation.swift
[56/100] Emitting module NIOConcurrencyHelpers
[57/100] Emitting module COperatingSystem
[58/100] Compiling COperatingSystem libc.swift
[59/100] Compiling NIOConcurrencyHelpers atomics.swift
[60/100] Compiling NIOConcurrencyHelpers lock.swift
[63/102] Compiling Debugging Demangler.swift
[64/102] Compiling SKCore History.swift
[65/102] Compiling SKCore Item.swift
[66/102] Compiling SKCore Message.swift
[67/102] Compiling SKCore OAuthConfig.swift
[68/102] Compiling SKCore RTMOptions.swift
[69/102] Compiling SKCore Reaction.swift
[70/102] Compiling SKCore Reply.swift
[71/102] Compiling SKCore Scope.swift
[72/102] Emitting module Swifter
[75/104] Compiling SKCore Edited.swift
[76/104] Compiling SKCore Comment.swift
[77/104] Compiling SKCore CustomProfile.swift
[78/104] Emitting module NIOPriorityQueue
[79/104] Compiling NIOPriorityQueue Heap.swift
[87/105] Emitting module Debugging
[88/105] Compiling Debugging Debuggable.swift
[91/106] Compiling SKCore Event.swift
[92/106] Compiling SKCore Extensions.swift
[93/106] Compiling SKCore File.swift
[103/106] Compiling Swifter String+SHA1.swift
[104/106] Compiling Swifter WebSockets.swift
[106/163] Emitting module SKWebAPI
[107/163] Compiling SKWebAPI Endpoint.swift
[108/163] Emitting module SKClient
[109/163] Compiling SKClient Client.swift
[111/164] Compiling NIO ContiguousCollection.swift
[112/164] Compiling NIO DeadChannel.swift
[114/165] Compiling NIO Heap.swift
[115/165] Compiling NIO IO.swift
[116/165] Compiling NIO IOData.swift
[117/165] Compiling NIO IntegerTypes.swift
[118/165] Compiling NIO Interfaces.swift
[119/165] Compiling NIO Linux.swift
[120/165] Compiling NIO LinuxCPUSet.swift
[121/171] Emitting module NIO
[122/171] Compiling SKWebAPI WebAPI.swift
[123/171] Compiling SKWebAPI NetworkInterface.swift
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:88:13: warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
86 | let semaphore = DispatchSemaphore(value: 0)
87 | session.dataTask(with: request) { (reqData, reqResponse, reqError) in
88 | data = reqData
| `- warning: mutation of captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
89 | response = reqResponse
90 | error = reqError
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:89:13: warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
87 | session.dataTask(with: request) { (reqData, reqResponse, reqError) in
88 | data = reqData
89 | response = reqResponse
| `- warning: mutation of captured var 'response' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
90 | error = reqError
91 | if data == nil, let error = error { print(error) }
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:90:13: warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
88 | data = reqData
89 | response = reqResponse
90 | error = reqError
| `- warning: mutation of captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
91 | if data == nil, let error = error { print(error) }
92 | semaphore.signal()
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:91:16: warning: reference to captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
89 | response = reqResponse
90 | error = reqError
91 | if data == nil, let error = error { print(error) }
| `- warning: reference to captured var 'data' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
92 | semaphore.signal()
93 | }.resume()
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:91:41: warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
89 | response = reqResponse
90 | error = reqError
91 | if data == nil, let error = error { print(error) }
| `- warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
92 | semaphore.signal()
93 | }.resume()
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[125/205] Compiling SKServer TitanResponse.swift
[126/205] Compiling SKServer TitanErrorHandling.swift
[127/205] Compiling SKServer TitanFormURLEncodedBodyParser.swift
[128/205] Compiling SKServer TitanHealthz.swift
[129/205] Compiling NIO FileRegion.swift
[130/205] Compiling NIO GetaddrinfoResolver.swift
[131/205] Compiling NIO HappyEyeballs.swift
[132/205] Emitting module SKServer
[133/209] Compiling SKServer TitanJSONRequestBody.swift
[134/209] Compiling SKServer TitanJSONResponseBody.swift
[135/209] Compiling SKServer TitanQueryString.swift
[136/209] Compiling SKServer InitializerOverloads.swift
[137/209] Compiling NIO RecvByteBufferAllocator.swift
[138/209] Compiling NIO Resolver.swift
[139/209] Compiling NIO Selectable.swift
[140/209] Compiling NIO Selector.swift
[141/209] Compiling NIO ServerSocket.swift
[142/209] Compiling NIO Socket.swift
[143/209] Compiling NIO SocketAddresses.swift
[144/209] Compiling SKServer TitanHeader.swift
[145/209] Compiling SKServer TitanLogs.swift
[146/209] Compiling SKServer TitanMethod.swift
[147/209] Compiling SKServer TitanRequest.swift
[148/209] Compiling SKServer Titan.swift
[149/209] Compiling SKServer Titan404.swift
[150/209] Compiling SKServer TitanCORS.swift
[151/209] Compiling SKServer TitanCore.swift
[152/209] Compiling SKServer TitanError.swift
[157/209] Compiling SKServer AuthorizeResponse.swift
[158/209] Compiling SKServer IncomingWebhook.swift
[159/209] Compiling SKServer MessageActionRequest.swift
[160/209] Compiling SKServer MessageActionRoute.swift
[161/209] Compiling SKServer OAuthResponse.swift
[162/209] Compiling SKServer RequestRoute.swift
[163/209] Compiling SKServer SKResponse.swift
[164/209] Compiling SKServer WebhookRequest.swift
[165/209] Compiling SKServer SKServer.swift
[166/209] Compiling SKServer SlackKitResponder.swift
[167/209] Compiling SKServer SwifterServer.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
80 | #if os(Linux)
81 | //swiftlint:disable force_cast
82 | return .ok(.json(json as! AnyObject))
| `- warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
83 | //swiftlint:enable force_cast
84 | #else
[168/209] Compiling SKServer MessageActionMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
80 | #if os(Linux)
81 | //swiftlint:disable force_cast
82 | return .ok(.json(json as! AnyObject))
| `- warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
83 | //swiftlint:enable force_cast
84 | #else
[169/209] Compiling SKServer OAuthMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
80 | #if os(Linux)
81 | //swiftlint:disable force_cast
82 | return .ok(.json(json as! AnyObject))
| `- warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
83 | //swiftlint:enable force_cast
84 | #else
[170/209] Compiling SKServer RedirectMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
80 | #if os(Linux)
81 | //swiftlint:disable force_cast
82 | return .ok(.json(json as! AnyObject))
| `- warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
83 | //swiftlint:enable force_cast
84 | #else
[171/209] Compiling SKServer ResponseMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
80 | #if os(Linux)
81 | //swiftlint:disable force_cast
82 | return .ok(.json(json as! AnyObject))
| `- warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
83 | //swiftlint:enable force_cast
84 | #else
[193/209] Compiling SKServer PathParameterSupport.swift
[194/209] Compiling SKServer TitanParameterizedRoutes.swift
[195/209] Compiling SKServer TitanRoutesByMethod.swift
[196/209] Compiling SKServer TitanRoutingExtension.swift
[205/210] Compiling NIO SocketChannel.swift
[206/210] Compiling NIO SocketOptionProvider.swift
[207/210] Compiling NIO System.swift
[208/210] Compiling NIO Thread.swift
[209/210] Compiling NIO TypeAssistedChannelHandler.swift
[210/210] Compiling NIO Utilities.swift
[212/253] Compiling NIOTLS TLSEvents.swift
[213/253] Compiling Async Exports.swift
[214/253] Compiling Async Future+DoCatch.swift
[215/254] Compiling Async Async+NIO.swift
[216/254] Compiling Async AsyncError.swift
[217/254] Emitting module NIOFoundationCompat
[218/254] Emitting module Async
[219/254] Compiling Async Collection+Future.swift
[220/254] Compiling Async Deprecated.swift
[221/254] Compiling Async Future+Flatten.swift
[222/254] Compiling Async Future+Global.swift
[223/254] Compiling Async Worker.swift
[224/254] Compiling Bits Data+Bytes.swift
[225/254] Compiling Bits Bytes.swift
[228/255] Emitting module Bits
[229/255] Compiling Bits Deprecated.swift
[234/255] Compiling Async Future+Map.swift
[235/255] Compiling Async Future+Transform.swift
[236/255] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[237/255] Compiling Async Future+Variadic.swift
[238/255] Compiling Async Future+Void.swift
[239/255] Compiling Async FutureType.swift
[240/255] Compiling Async QueueHandler.swift
[244/257] Compiling Bits Data+Strings.swift
[247/286] Compiling Random URandom.swift
[248/286] Compiling Random RandomProtocol.swift
[249/286] Compiling NIOTLS SNIHandler.swift
[250/286] Emitting module NIOTLS
[251/286] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[253/287] Compiling Random OSRandom.swift
[254/287] Emitting module Random
[255/287] Compiling Random Array+Random.swift
[257/304] Compiling Core NotFound.swift
[258/304] Compiling Core OptionalType.swift
[259/304] Compiling Core Process+Execute.swift
[260/307] Compiling NIOHTTP1 HTTPEncoder.swift
[261/307] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[262/307] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[263/308] Compiling NIOOpenSSL SSLConnection.swift
[264/308] Compiling NIOOpenSSL SSLContext.swift
[265/308] Compiling NIOOpenSSL SSLErrors.swift
[266/308] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[267/308] Compiling NIOHTTP1 HTTPTypes.swift
[268/308] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[269/308] Compiling Core Reflectable.swift
[270/308] Compiling Core String+Utilities.swift
[271/308] Compiling Core Thread+Async.swift
[272/308] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[273/308] Compiling NIOOpenSSL PosixPort.swift
[274/308] Compiling NIOOpenSSL SSLCertificate.swift
[275/308] Compiling NIOOpenSSL ByteBufferBIO.swift
[276/308] Compiling NIOOpenSSL IdentityVerification.swift
[277/308] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[278/308] Compiling NIOOpenSSL OpenSSLHandler.swift
[279/308] Emitting module NIOHTTP1
[282/308] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[284/318] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[285/318] Compiling NIOWebSocket WebSocketOpcode.swift
[286/319] Emitting module NIOWebSocket
[287/319] Emitting module Core
[289/319] Compiling NIOOpenSSL SSLInit.swift
[290/321] Compiling NIOWebSocket WebSocketFrameEncoder.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
[293/321] Compiling NIOOpenSSL SSLPrivateKey.swift
[294/321] Compiling NIOOpenSSL SSLPublicKey.swift
[295/321] Compiling NIOWebSocket WebSocketUpgrader.swift
[296/321] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[297/321] Compiling NIOOpenSSL SSLPointerTricks.swift
[298/321] Compiling NIOWebSocket WebSocketErrorCodes.swift
[299/321] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[300/321] Compiling NIOWebSocket Base64.swift
[301/321] Compiling NIOWebSocket SHA1.swift
[302/321] Compiling NIOWebSocket WebSocketFrame.swift
[303/322] Emitting module NIOOpenSSL
[312/322] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[316/322] Compiling NIOOpenSSL TLSConfiguration.swift
[317/322] Compiling Core MediaType.swift
[318/322] Compiling Core NestedData.swift
BUILD FAILURE 6.2 linux