Build Information
Failed to build SlackKit, reference 4.8.0 (3823ae
), with Swift 6.1 for Linux on 27 Apr 2025 07:07:00 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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path: $PWD
https://github.com/pvzig/SlackKit.git
https://github.com/pvzig/SlackKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swifter",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "1.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/httpswift/swifter.git"
},
{
"identity" : "websocket",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.2",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/websocket"
},
{
"identity" : "starscream",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.4",
"upper_bound" : "4.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/daltoniam/Starscream"
}
],
"manifest_display_name" : "SlackKit",
"name" : "SlackKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "SlackKit",
"targets" : [
"SlackKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKClient",
"targets" : [
"SKClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKCore",
"targets" : [
"SKCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKRTMAPI",
"targets" : [
"SKRTMAPI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKServer",
"targets" : [
"SKServer"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SKWebAPI",
"targets" : [
"SKWebAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SlackKitTests",
"module_type" : "SwiftTarget",
"name" : "SlackKitTests",
"path" : "SlackKitTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/SlackKitTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"SKClient/SKClientTests.swift",
"SKCore/SKCoreTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SlackKit",
"SKCore",
"SKClient",
"SKRTMAPI",
"SKServer"
],
"type" : "test"
},
{
"c99name" : "SlackKit",
"module_type" : "SwiftTarget",
"name" : "SlackKit",
"path" : "SlackKit/Sources",
"product_memberships" : [
"SlackKit"
],
"sources" : [
"ClientConnection.swift",
"SlackKit.swift"
],
"target_dependencies" : [
"SKCore",
"SKClient",
"SKRTMAPI",
"SKServer"
],
"type" : "library"
},
{
"c99name" : "SKWebAPI",
"module_type" : "SwiftTarget",
"name" : "SKWebAPI",
"path" : "SKWebAPI/Sources",
"product_memberships" : [
"SlackKit",
"SKRTMAPI",
"SKServer",
"SKWebAPI"
],
"sources" : [
"Endpoint.swift",
"NetworkInterface.swift",
"WebAPI.swift"
],
"target_dependencies" : [
"SKCore"
],
"type" : "library"
},
{
"c99name" : "SKServer",
"module_type" : "SwiftTarget",
"name" : "SKServer",
"path" : "SKServer/Sources",
"product_dependencies" : [
"Swifter"
],
"product_memberships" : [
"SlackKit",
"SKServer"
],
"sources" : [
"Conformers/SwifterServer.swift",
"Middleware/MessageActionMiddleware.swift",
"Middleware/OAuthMiddleware.swift",
"Middleware/RedirectMiddleware.swift",
"Middleware/ResponseMiddleware.swift",
"Model/AuthorizeResponse.swift",
"Model/IncomingWebhook.swift",
"Model/MessageActionRequest.swift",
"Model/MessageActionRoute.swift",
"Model/OAuthResponse.swift",
"Model/RequestRoute.swift",
"Model/SKResponse.swift",
"Model/WebhookRequest.swift",
"SKServer.swift",
"SlackKitResponder.swift",
"Titan/Titan/Titan.swift",
"Titan/Titan404/Titan404.swift",
"Titan/TitanCORS/TitanCORS.swift",
"Titan/TitanCore/TitanCore.swift",
"Titan/TitanCore/TitanError.swift",
"Titan/TitanCore/TitanHeader.swift",
"Titan/TitanCore/TitanLogs.swift",
"Titan/TitanCore/TitanMethod.swift",
"Titan/TitanCore/TitanRequest.swift",
"Titan/TitanCore/TitanResponse.swift",
"Titan/TitanErrorHandling/TitanErrorHandling.swift",
"Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift",
"Titan/TitanHealthz/TitanHealthz.swift",
"Titan/TitanJSON/TitanJSONRequestBody.swift",
"Titan/TitanJSON/TitanJSONResponseBody.swift",
"Titan/TitanQueryString/TitanQueryString.swift",
"Titan/TitanRouter/InitializerOverloads.swift",
"Titan/TitanRouter/PathParameterSupport.swift",
"Titan/TitanRouter/TitanParameterizedRoutes.swift",
"Titan/TitanRouter/TitanRoutesByMethod.swift",
"Titan/TitanRouter/TitanRoutingExtension.swift"
],
"target_dependencies" : [
"SKCore",
"SKWebAPI"
],
"type" : "library"
},
{
"c99name" : "SKRTMAPI",
"module_type" : "SwiftTarget",
"name" : "SKRTMAPI",
"path" : "SKRTMAPI/Sources",
"product_dependencies" : [
"Starscream",
"WebSocket"
],
"product_memberships" : [
"SlackKit",
"SKRTMAPI"
],
"sources" : [
"Conformers/StarscreamRTM.swift",
"Conformers/VaporEngineRTM.swift",
"SKRTMAPI.swift"
],
"target_dependencies" : [
"SKCore",
"SKWebAPI"
],
"type" : "library"
},
{
"c99name" : "SKCore",
"module_type" : "SwiftTarget",
"name" : "SKCore",
"path" : "SKCore/Sources",
"product_memberships" : [
"SlackKit",
"SKClient",
"SKCore",
"SKRTMAPI",
"SKServer",
"SKWebAPI"
],
"sources" : [
"Action.swift",
"Attachment.swift",
"AttachmentField.swift",
"BlockComposition.swift",
"BlockElement.swift",
"BlockLayout.swift",
"Bot.swift",
"Channel.swift",
"Comment.swift",
"CustomProfile.swift",
"CustomProfileField.swift",
"DoNotDisturbStatus.swift",
"Edited.swift",
"Event.swift",
"Extensions.swift",
"File.swift",
"History.swift",
"Item.swift",
"Message.swift",
"OAuthConfig.swift",
"RTMOptions.swift",
"Reaction.swift",
"Reply.swift",
"Scope.swift",
"SlackError.swift",
"Team.swift",
"TeamIcon.swift",
"Topic.swift",
"User.swift",
"UserGroup.swift"
],
"type" : "library"
},
{
"c99name" : "SKClient",
"module_type" : "SwiftTarget",
"name" : "SKClient",
"path" : "SKClient/Sources",
"product_memberships" : [
"SlackKit",
"SKClient"
],
"sources" : [
"Client.swift"
],
"target_dependencies" : [
"SKCore"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/vapor/websocket
[1/6050] Fetching swifter
[1574/11083] Fetching swifter, starscream
[1625/13679] Fetching swifter, starscream, websocket
Fetched https://github.com/daltoniam/Starscream from cache (0.42s)
[6468/8646] Fetching swifter, websocket
Fetched https://github.com/vapor/websocket from cache (0.70s)
Fetched https://github.com/httpswift/swifter.git from cache (0.72s)
Computing version for https://github.com/vapor/websocket
Computed https://github.com/vapor/websocket at 1.1.2 (2.93s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/crypto.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2786] Fetching crypto
[85/22929] Fetching crypto, core
[5809/48396] Fetching crypto, core, http
[16744/123827] Fetching crypto, core, http, swift-nio
[40511/138620] Fetching crypto, core, http, swift-nio, swift-nio-ssl
Fetched https://github.com/vapor/crypto.git from cache (1.15s)
[99568/135834] Fetching core, http, swift-nio, swift-nio-ssl
Fetched https://github.com/vapor/http.git from cache (1.17s)
[74856/110367] Fetching core, swift-nio, swift-nio-ssl
Fetched https://github.com/vapor/core.git from cache (4.36s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.38s)
Fetched https://github.com/apple/swift-nio.git from cache (4.45s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (5.00s)
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.56s)
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.19s)
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.78s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.56s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.57s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.70s)
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.21s)
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.74s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.54s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.57s)
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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.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/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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
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/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.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/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
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 CNIOLinux ifaddrs-android.c
[23/38] Compiling CNIODarwin shim.c
[24/38] Compiling CNIOSHA1 c_nio_sha1.c
[25/38] Compiling CNIOLinux shim.c
[26/38] Compiling CBcrypt blf.c
[27/38] Compiling CNIOHTTPParser c_nio_http_parser.c
[28/38] Compiling CBcrypt bcrypt.c
[29/38] Write sources
[31/38] Compiling CBase32 base32.c
[32/38] Compiling CNIOOpenSSL helpers.c
[33/38] Compiling CNIOZlib empty.c
[33/38] Compiling CCryptoOpenSSL shim.c
[33/38] Write swift-version-24593BA9C3E375BF.txt
[36/38] Compiling CNIOOpenSSL shims.c
[38/94] Emitting module COperatingSystem
[38/94] Compiling c-atomics.c
[40/97] Emitting module SKCore
[41/100] Compiling SKCore BlockElement.swift
[42/100] Compiling SKCore BlockLayout.swift
[43/100] Compiling Swifter HttpParser.swift
[44/100] Compiling Swifter HttpRequest.swift
[45/100] Compiling SKCore Action.swift
[46/100] Compiling SKCore Attachment.swift
[47/100] Compiling SKCore AttachmentField.swift
[48/100] Compiling Swifter HttpRouter.swift
[49/100] Compiling NIOPriorityQueue PriorityQueue.swift
[50/100] Compiling Debugging SourceLocation.swift
[51/100] Compiling SKCore SlackError.swift
[52/100] Compiling SKCore Team.swift
[53/100] Compiling SKCore TeamIcon.swift
[54/100] Compiling SKCore Topic.swift
[55/100] Compiling SKCore User.swift
[56/100] Compiling SKCore UserGroup.swift
[57/100] Emitting module NIOPriorityQueue
[58/100] Compiling NIOPriorityQueue Heap.swift
[59/101] Compiling NIOConcurrencyHelpers atomics.swift
[60/101] Emitting module NIOConcurrencyHelpers
[61/101] Compiling NIOConcurrencyHelpers lock.swift
[62/101] Compiling COperatingSystem libc.swift
[66/103] Compiling Debugging Demangler.swift
[67/103] Compiling SKCore RTMOptions.swift
[68/103] Compiling SKCore Reaction.swift
[69/103] Compiling SKCore Reply.swift
[70/103] Compiling SKCore Scope.swift
[71/103] Compiling Swifter String+File.swift
[72/103] Compiling Swifter String+Misc.swift
[73/103] Compiling Swifter Socket.swift
[74/103] Compiling Swifter String+BASE64.swift
[75/105] Compiling SKCore Event.swift
[76/105] Compiling SKCore Extensions.swift
[77/105] Compiling SKCore Comment.swift
[78/105] Compiling SKCore CustomProfile.swift
[81/105] Compiling SKCore Edited.swift
[84/105] Compiling Swifter MimeTypes.swift
[85/105] Emitting module Debugging
[86/105] Compiling Debugging Debuggable.swift
[90/106] Emitting module Swifter
[103/107] Compiling Swifter String+SHA1.swift
[104/107] Compiling Swifter WebSockets.swift
[106/163] Emitting module SKWebAPI
[107/163] Compiling SKWebAPI Endpoint.swift
[108/163] Compiling NIO ByteBuffer-int.swift
[109/163] Compiling NIO ByteBuffer-views.swift
[110/163] Compiling NIO Channel.swift
[111/163] Compiling NIO ChannelHandler.swift
[112/163] Compiling NIO ChannelHandlers.swift
[113/163] Compiling NIO ChannelInvoker.swift
[114/163] Compiling NIO ChannelOption.swift
[115/169] Compiling SKClient Client.swift
/host/spi-builder-workspace/SKClient/Sources/Client.swift:288:28: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
286 | let timeout = DispatchTime.now() + Double(Int64(5.0 * Double(UInt64.nanosecondsPerSecond))) / Double(UInt64.nanosecondsPerSecond)
287 | DispatchQueue.main.asyncAfter(deadline: timeout, execute: {
288 | if let index = self.channels[channelID]?.usersTyping.firstIndex(of: userID) {
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
289 | self.channels[channelID]?.usersTyping.remove(at: index)
290 | }
[116/169] Emitting module SKClient
[117/170] Compiling NIO ContiguousCollection.swift
[118/170] Compiling NIO DeadChannel.swift
[120/171] Compiling NIO RecvByteBufferAllocator.swift
[121/171] Compiling NIO Resolver.swift
[122/171] Compiling NIO Selectable.swift
[123/171] Compiling NIO Selector.swift
[124/171] Compiling NIO ServerSocket.swift
[125/171] Compiling NIO Socket.swift
[126/171] Compiling NIO SocketAddresses.swift
[128/171] Emitting module NIO
[129/171] Compiling SKWebAPI NetworkInterface.swift
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:70:17: warning: capture of 'successClosure' with non-sendable type '([String : Any]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 | session.dataTask(with: request) {(data, response, publicError) in
69 | do {
70 | successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
| |- warning: capture of 'successClosure' with non-sendable type '([String : Any]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
71 | } catch let error {
72 | errorClosure(error as? SlackError ?? SlackError.unknownError)
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:72:17: warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
70 | successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
71 | } catch let error {
72 | errorClosure(error as? SlackError ?? SlackError.unknownError)
| |- warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
73 | }
74 | }.resume()
/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
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
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
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
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
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
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
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
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
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
92 | semaphore.signal()
93 | }.resume()
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:118:17: warning: capture of 'success' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 | session.dataTask(with: request) {(data, response, publicError) in
117 | if publicError == nil {
118 | success(true)
| |- warning: capture of 'success' with non-sendable type '(Bool) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | } else {
120 | errorClosure(SlackError.clientNetworkError)
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:120:17: warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | success(true)
119 | } else {
120 | errorClosure(SlackError.clientNetworkError)
| |- warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
121 | }
122 | }.resume()
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:149:17: warning: capture of 'successClosure' with non-sendable type '([String : Any]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
147 | session.dataTask(with: request) {(data, response, publicError) in
148 | do {
149 | successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
| |- warning: capture of 'successClosure' with non-sendable type '([String : Any]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
150 | } catch let error {
151 | errorClosure(error as? SlackError ?? SlackError.unknownError)
/host/spi-builder-workspace/SKWebAPI/Sources/NetworkInterface.swift:151:17: warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
149 | successClosure(try NetworkInterface.handleResponse(data, response: response, publicError: publicError))
150 | } catch let error {
151 | errorClosure(error as? SlackError ?? SlackError.unknownError)
| |- warning: capture of 'errorClosure' with non-sendable type '(SlackError) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
152 | }
153 | }.resume()
[130/171] Compiling SKWebAPI WebAPI.swift
[132/205] Compiling NIO Heap.swift
[133/205] Compiling NIO IO.swift
[134/205] Compiling NIO IOData.swift
[135/205] Compiling NIO IntegerTypes.swift
[136/205] Compiling NIO Interfaces.swift
[137/205] Compiling NIO Linux.swift
[138/205] Compiling NIO LinuxCPUSet.swift
[139/205] Compiling SKServer RedirectMiddleware.swift
[140/205] Compiling SKServer ResponseMiddleware.swift
[141/205] Compiling SKServer TitanHeader.swift
[142/205] Compiling SKServer TitanLogs.swift
[143/205] Compiling SKServer TitanMethod.swift
[144/205] Compiling SKServer TitanRequest.swift
[145/205] Compiling SKServer TitanResponse.swift
[146/205] Compiling SKServer TitanError.swift
[147/205] Compiling SKServer RequestRoute.swift
[148/205] Compiling SKServer SKResponse.swift
[149/205] Compiling SKServer WebhookRequest.swift
[150/205] Compiling SKServer SKServer.swift
[151/205] Compiling SKServer SlackKitResponder.swift
[152/205] Compiling SKServer AuthorizeResponse.swift
[153/205] Compiling SKServer TitanErrorHandling.swift
[154/205] Compiling SKServer TitanFormURLEncodedBodyParser.swift
[155/205] Compiling SKServer TitanHealthz.swift
[156/205] Compiling SKServer Titan.swift
[157/205] Compiling SKServer Titan404.swift
[158/205] Compiling SKServer TitanCORS.swift
[159/205] Compiling SKServer TitanCore.swift
[160/205] Compiling SKServer TitanJSONRequestBody.swift
[161/205] Compiling SKServer TitanJSONResponseBody.swift
[162/205] Compiling SKServer TitanQueryString.swift
[163/205] Compiling SKServer InitializerOverloads.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/Titan404/Titan404.swift:24:12: warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
22 | effectively overwrite it.
23 | */
24 | public let defaultTo404: TitanFunc = { (request, response) -> (RequestType, ResponseType) in
| |- warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultTo404' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | do {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:27:12: warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// If one isn't present, insert a wildcard CORS allowed origin header
27 | public let allowAllOrigins: TitanFunc = { req, res in
| |- warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'allowAllOrigins' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | var allowAllOriginHeaders = HTTPHeaders(dictionaryLiteral: allowAllOriginsHeader)
29 | // swiftlint:disable shorthand_operator
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:36:12: warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Respond to a CORS preflight request, allowing all methods requested in the preflight.
36 | public let respondToPreflightAllowingAllMethods: TitanFunc = { req, res in
| |- warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'respondToPreflightAllowingAllMethods' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | guard req.method == .options else {
38 | return (req, res)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/Titan404/Titan404.swift:24:12: warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
22 | effectively overwrite it.
23 | */
24 | public let defaultTo404: TitanFunc = { (request, response) -> (RequestType, ResponseType) in
| |- warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultTo404' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | do {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:27:12: warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// If one isn't present, insert a wildcard CORS allowed origin header
27 | public let allowAllOrigins: TitanFunc = { req, res in
| |- warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'allowAllOrigins' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | var allowAllOriginHeaders = HTTPHeaders(dictionaryLiteral: allowAllOriginsHeader)
29 | // swiftlint:disable shorthand_operator
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:36:12: warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Respond to a CORS preflight request, allowing all methods requested in the preflight.
36 | public let respondToPreflightAllowingAllMethods: TitanFunc = { req, res in
| |- warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'respondToPreflightAllowingAllMethods' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | guard req.method == .options else {
38 | return (req, res)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/Titan404/Titan404.swift:24:12: warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
22 | effectively overwrite it.
23 | */
24 | public let defaultTo404: TitanFunc = { (request, response) -> (RequestType, ResponseType) in
| |- warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultTo404' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | do {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:27:12: warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// If one isn't present, insert a wildcard CORS allowed origin header
27 | public let allowAllOrigins: TitanFunc = { req, res in
| |- warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'allowAllOrigins' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | var allowAllOriginHeaders = HTTPHeaders(dictionaryLiteral: allowAllOriginsHeader)
29 | // swiftlint:disable shorthand_operator
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:36:12: warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Respond to a CORS preflight request, allowing all methods requested in the preflight.
36 | public let respondToPreflightAllowingAllMethods: TitanFunc = { req, res in
| |- warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'respondToPreflightAllowingAllMethods' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | guard req.method == .options else {
38 | return (req, res)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/Titan404/Titan404.swift:24:12: warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
22 | effectively overwrite it.
23 | */
24 | public let defaultTo404: TitanFunc = { (request, response) -> (RequestType, ResponseType) in
| |- warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultTo404' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | do {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:27:12: warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// If one isn't present, insert a wildcard CORS allowed origin header
27 | public let allowAllOrigins: TitanFunc = { req, res in
| |- warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'allowAllOrigins' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | var allowAllOriginHeaders = HTTPHeaders(dictionaryLiteral: allowAllOriginsHeader)
29 | // swiftlint:disable shorthand_operator
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:36:12: warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Respond to a CORS preflight request, allowing all methods requested in the preflight.
36 | public let respondToPreflightAllowingAllMethods: TitanFunc = { req, res in
| |- warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'respondToPreflightAllowingAllMethods' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | guard req.method == .options else {
38 | return (req, res)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/Titan404/Titan404.swift:24:12: warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
22 | effectively overwrite it.
23 | */
24 | public let defaultTo404: TitanFunc = { (request, response) -> (RequestType, ResponseType) in
| |- warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultTo404' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | do {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:27:12: warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// If one isn't present, insert a wildcard CORS allowed origin header
27 | public let allowAllOrigins: TitanFunc = { req, res in
| |- warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'allowAllOrigins' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | var allowAllOriginHeaders = HTTPHeaders(dictionaryLiteral: allowAllOriginsHeader)
29 | // swiftlint:disable shorthand_operator
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:36:12: warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Respond to a CORS preflight request, allowing all methods requested in the preflight.
36 | public let respondToPreflightAllowingAllMethods: TitanFunc = { req, res in
| |- warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'respondToPreflightAllowingAllMethods' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | guard req.method == .options else {
38 | return (req, res)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanErrorHandling/TitanErrorHandling.swift:16:12: warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public let defaultErrorHandler: (Error) -> (ResponseType) = { err in
| |- warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | do {
18 | return try Response(code: 500, body: String(describing: err), headers: HTTPHeaders())
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanHealthz/TitanHealthz.swift:17:12: warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A basic healthcheck route that returns 200 and diagnostic info
17 | public let healthz: TitanFunc = healthzWithCheck(check: { return nil })
| |- warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'healthz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanErrorHandling/TitanErrorHandling.swift:16:12: warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public let defaultErrorHandler: (Error) -> (ResponseType) = { err in
| |- warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | do {
18 | return try Response(code: 500, body: String(describing: err), headers: HTTPHeaders())
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanHealthz/TitanHealthz.swift:17:12: warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A basic healthcheck route that returns 200 and diagnostic info
17 | public let healthz: TitanFunc = healthzWithCheck(check: { return nil })
| |- warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'healthz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanErrorHandling/TitanErrorHandling.swift:16:12: warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public let defaultErrorHandler: (Error) -> (ResponseType) = { err in
| |- warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | do {
18 | return try Response(code: 500, body: String(describing: err), headers: HTTPHeaders())
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanHealthz/TitanHealthz.swift:17:12: warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A basic healthcheck route that returns 200 and diagnostic info
17 | public let healthz: TitanFunc = healthzWithCheck(check: { return nil })
| |- warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'healthz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanErrorHandling/TitanErrorHandling.swift:16:12: warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public let defaultErrorHandler: (Error) -> (ResponseType) = { err in
| |- warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | do {
18 | return try Response(code: 500, body: String(describing: err), headers: HTTPHeaders())
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanHealthz/TitanHealthz.swift:17:12: warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A basic healthcheck route that returns 200 and diagnostic info
17 | public let healthz: TitanFunc = healthzWithCheck(check: { return nil })
| |- warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'healthz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
[179/209] Compiling SKServer IncomingWebhook.swift
[180/209] Compiling SKServer MessageActionRequest.swift
[181/209] Compiling SKServer MessageActionRoute.swift
[182/209] Compiling SKServer OAuthResponse.swift
[187/209] Compiling SKServer PathParameterSupport.swift
[188/209] Compiling SKServer TitanParameterizedRoutes.swift
[189/209] Compiling SKServer TitanRoutesByMethod.swift
[190/209] Compiling SKServer TitanRoutingExtension.swift
[191/209] Compiling NIO SocketChannel.swift
[192/209] Compiling NIO SocketOptionProvider.swift
[193/209] Compiling NIO System.swift
[194/209] Compiling NIO Thread.swift
[195/209] Compiling NIO TypeAssistedChannelHandler.swift
[196/209] Compiling NIO Utilities.swift
[197/209] Emitting module SKServer
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/Titan404/Titan404.swift:24:12: warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
22 | effectively overwrite it.
23 | */
24 | public let defaultTo404: TitanFunc = { (request, response) -> (RequestType, ResponseType) in
| |- warning: let 'defaultTo404' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultTo404' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | do {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:27:12: warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// If one isn't present, insert a wildcard CORS allowed origin header
27 | public let allowAllOrigins: TitanFunc = { req, res in
| |- warning: let 'allowAllOrigins' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'allowAllOrigins' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | var allowAllOriginHeaders = HTTPHeaders(dictionaryLiteral: allowAllOriginsHeader)
29 | // swiftlint:disable shorthand_operator
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanCORS/TitanCORS.swift:36:12: warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | /// Respond to a CORS preflight request, allowing all methods requested in the preflight.
36 | public let respondToPreflightAllowingAllMethods: TitanFunc = { req, res in
| |- warning: let 'respondToPreflightAllowingAllMethods' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'respondToPreflightAllowingAllMethods' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | guard req.method == .options else {
38 | return (req, res)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanErrorHandling/TitanErrorHandling.swift:16:12: warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
14 | import Foundation
15 |
16 | public let defaultErrorHandler: (Error) -> (ResponseType) = { err in
| |- warning: let 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(any Error) -> any ResponseType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | do {
18 | return try Response(code: 500, body: String(describing: err), headers: HTTPHeaders())
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/SKServer/Sources/Titan/TitanHealthz/TitanHealthz.swift:17:12: warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A basic healthcheck route that returns 200 and diagnostic info
17 | public let healthz: TitanFunc = healthzWithCheck(check: { return nil })
| |- warning: let 'healthz' is not concurrency-safe because non-'Sendable' type 'TitanFunc' (aka '(any RequestType, any ResponseType) -> (request: any RequestType, response: any ResponseType)') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'healthz' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
[198/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
[199/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
[200/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
/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
/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
[212/253] Emitting module NIOTLS
[213/253] Compiling NIOTLS TLSEvents.swift
[214/253] Compiling Bits Byte+Control.swift
[215/253] Compiling Bits Byte+Digit.swift
[216/253] Compiling NIOHTTP1 ByteCollectionUtils.swift
[217/253] Compiling NIOHTTP1 HTTPDecoder.swift
[218/254] Compiling Bits ByteBuffer+require.swift
[219/254] Compiling Bits ByteBuffer+string.swift
[220/254] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[221/254] Compiling Bits ByteBuffer+peek.swift
[222/254] Compiling Bits Bytes.swift
[223/254] Emitting module Async
[224/255] Compiling NIOTLS SNIHandler.swift
[225/255] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[226/256] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[234/257] Emitting module Bits
[237/257] Compiling Bits Data+Bytes.swift
[238/257] Compiling Bits Data+Strings.swift
[239/257] Emitting module NIOFoundationCompat
[240/257] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[241/257] Emitting module NIOHTTP1
[242/257] Compiling Bits Deprecated.swift
[243/259] Compiling Async Future+Variadic.swift
[244/259] Compiling Async Future+Void.swift
[245/259] Compiling Async Future+Map.swift
[246/259] Compiling Async Future+Transform.swift
[247/259] Compiling Async FutureType.swift
[248/259] Compiling Async QueueHandler.swift
[249/259] Compiling Async Worker.swift
[251/260] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[254/268] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[255/281] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[256/281] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[257/281] Compiling NIOHTTP1 HTTPEncoder.swift
[258/301] Emitting module Random
[259/304] Compiling Random RandomProtocol.swift
[260/304] Compiling Random URandom.swift
[261/304] Compiling Random Array+Random.swift
[262/304] Compiling Random OSRandom.swift
[263/304] Compiling Core BasicKey.swift
[264/304] Compiling Core CaseInsensitiveString.swift
[265/305] Compiling NIOHTTP1 HTTPTypes.swift
[266/306] Emitting module NIOOpenSSL
[267/308] Compiling Core Data+Hex.swift
[268/308] Compiling Core DataCoders.swift
[269/308] Compiling Core Deprecated.swift
[272/311] Compiling NIOOpenSSL TLSConfiguration.swift
[273/311] Compiling Core OptionalType.swift
[274/311] Compiling Core Process+Execute.swift
[275/316] Compiling Core Reflectable.swift
[276/316] Compiling Core String+Utilities.swift
[277/316] Compiling Core Thread+Async.swift
[278/320] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[280/320] Compiling NIOWebSocket WebSocketOpcode.swift
[281/321] Compiling NIOWebSocket Base64.swift
[282/321] Compiling NIOWebSocket SHA1.swift
[283/321] Compiling Core Decodable+Reflectable.swift
[284/321] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[285/321] Compiling Core ReflectionDecodable.swift
[287/321] Compiling Core ReflectionDecoders.swift
[288/321] Compiling Core CoreError.swift
[289/321] Compiling Core Data+Base64URL.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
[298/321] Compiling Core Exports.swift
[299/321] Compiling Core File.swift
[300/321] Compiling Core Future+Unwrap.swift
[301/321] Compiling Core FutureEncoder.swift
[303/321] Compiling Core DirectoryConfig.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/60] Compiling COperatingSystem libc.swift
[3/60] Emitting module COperatingSystem
[4/61] Compiling Debugging SourceLocation.swift
[6/61] Compiling NIOConcurrencyHelpers lock.swift
[7/61] Compiling NIOPriorityQueue PriorityQueue.swift
[8/61] Emitting module NIOPriorityQueue
[9/61] Compiling NIOPriorityQueue Heap.swift
[10/62] Compiling Debugging Demangler.swift
[11/62] Emitting module NIOConcurrencyHelpers
[12/62] Compiling NIOConcurrencyHelpers atomics.swift
[14/63] Emitting module Debugging
[15/63] Compiling Debugging Debuggable.swift
[18/64] Compiling SKCore History.swift
[19/64] Compiling SKCore Item.swift
[20/66] Compiling SKCore RTMOptions.swift
[21/66] Compiling SKCore Reaction.swift
[22/66] Compiling SKCore Reply.swift
[23/66] Compiling SKCore Scope.swift
[24/66] Compiling SKCore SlackError.swift
[25/66] Compiling SKCore Team.swift
[26/66] Compiling SKCore TeamIcon.swift
[29/69] Compiling Swifter String+SHA1.swift
[30/69] Compiling Swifter WebSockets.swift
[31/69] Emitting module Swifter
[32/69] Compiling SKCore BlockElement.swift
[33/69] Compiling SKCore BlockLayout.swift
[34/69] Compiling SKCore Bot.swift
[35/69] Emitting module SKCore
[36/69] Compiling SKCore Extensions.swift
[37/69] Compiling SKCore File.swift
[38/69] Compiling SKCore Edited.swift
[39/69] Compiling SKCore Event.swift
[40/119] Compiling NIO ByteBuffer-views.swift
[41/119] Compiling NIO Channel.swift
[42/119] Compiling NIO ChannelHandler.swift
[43/119] Compiling NIO ChannelHandlers.swift
[44/119] Compiling NIO ChannelInvoker.swift
[45/119] Compiling NIO ChannelOption.swift
[46/119] Compiling NIO ChannelPipeline.swift
[47/119] Compiling NIO CircularBuffer.swift
[48/119] Compiling NIO AddressedEnvelope.swift
[49/119] Compiling NIO BaseSocket.swift
[50/119] Compiling NIO BaseSocketChannel.swift
[51/119] Compiling NIO BlockingIOThreadPool.swift
[52/119] Compiling NIO HappyEyeballs.swift
[53/119] Compiling NIO Heap.swift
[54/119] Compiling NIO IO.swift
[55/119] Compiling NIO Bootstrap.swift
[56/119] Compiling NIO ByteBuffer-aux.swift
[57/119] Compiling NIO ByteBuffer-core.swift
[58/119] Compiling NIO ByteBuffer-int.swift
[71/126] Compiling NIO IOData.swift
[72/126] Compiling NIO IntegerTypes.swift
[73/126] Compiling NIO Interfaces.swift
[74/126] Compiling NIO Linux.swift
[75/126] Compiling NIO LinuxCPUSet.swift
[76/132] Emitting module NIO
[77/132] Compiling NIO RecvByteBufferAllocator.swift
[78/132] Compiling NIO Resolver.swift
[79/132] Compiling NIO Selectable.swift
[80/132] Compiling NIO Selector.swift
[81/132] Compiling NIO ServerSocket.swift
[82/132] Compiling NIO Socket.swift
[83/132] Compiling NIO SocketAddresses.swift
[84/132] Compiling NIO MarkedCircularBuffer.swift
[85/132] Compiling NIO MulticastChannel.swift
[86/132] Compiling NIO NIOAny.swift
[87/132] Compiling NIO NonBlockingFileIO.swift
[88/132] Compiling NIO PendingDatagramWritesManager.swift
[89/132] Compiling NIO PendingWritesManager.swift
[90/132] Compiling NIO PriorityQueue.swift
[91/132] Compiling NIO ContiguousCollection.swift
[92/132] Compiling NIO DeadChannel.swift
[93/133] Compiling SKWebAPI Endpoint.swift
[94/133] Emitting module SKWebAPI
[96/133] Compiling NIO EventLoop.swift
[97/133] Compiling NIO EventLoopFuture.swift
[98/133] Compiling NIO FileDescriptor.swift
[99/133] Compiling NIO FileHandle.swift
[100/133] Compiling NIO FileRegion.swift
[101/133] Compiling NIO GetaddrinfoResolver.swift
[112/133] Compiling NIO Codec.swift
[113/133] Compiling NIO CompositeError.swift
[116/133] Compiling NIO Embedded.swift
[117/133] 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
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
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
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
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
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
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
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
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
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
92 | semaphore.signal()
93 | }.resume()
[118/133] Compiling SKWebAPI WebAPI.swift
[119/134] Emitting module SKClient
[120/134] Compiling SKClient Client.swift
[123/168] Compiling SKServer SwifterServer.swift
[124/168] Compiling SKServer MessageActionMiddleware.swift
[125/168] Compiling SKServer OAuthMiddleware.swift
[126/168] Compiling SKServer RedirectMiddleware.swift
[127/168] Compiling SKServer ResponseMiddleware.swift
[128/168] Compiling SKServer AuthorizeResponse.swift
[129/168] Compiling SKServer IncomingWebhook.swift
[130/168] Emitting module SKServer
[133/172] Compiling SKServer MessageActionRequest.swift
[134/172] Compiling SKServer MessageActionRoute.swift
[135/172] Compiling SKServer OAuthResponse.swift
[136/172] Compiling SKServer TitanJSONRequestBody.swift
[137/172] Compiling SKServer TitanJSONResponseBody.swift
[138/172] Compiling SKServer TitanQueryString.swift
[139/172] Compiling SKServer InitializerOverloads.swift
[140/172] Compiling SKServer Titan.swift
[141/172] Compiling SKServer Titan404.swift
[142/172] Compiling SKServer TitanCORS.swift
[143/172] Compiling SKServer TitanCore.swift
[144/172] Compiling SKServer TitanError.swift
[145/172] Compiling SKServer TitanResponse.swift
[146/172] Compiling SKServer TitanErrorHandling.swift
[147/172] Compiling SKServer TitanFormURLEncodedBodyParser.swift
[148/172] Compiling SKServer TitanHealthz.swift
[149/172] Compiling SKServer RequestRoute.swift
[150/172] Compiling SKServer SKResponse.swift
[151/172] Compiling SKServer WebhookRequest.swift
[152/172] Compiling SKServer SKServer.swift
[153/172] Compiling SKServer SlackKitResponder.swift
[154/172] Compiling SKServer TitanHeader.swift
[155/172] Compiling SKServer TitanLogs.swift
[156/172] Compiling SKServer TitanMethod.swift
[157/172] Compiling SKServer TitanRequest.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
/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
/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
/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
/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
[163/172] Compiling NIO SocketChannel.swift
[164/172] Compiling NIO SocketOptionProvider.swift
[165/172] Compiling NIO System.swift
[166/172] Compiling NIO Thread.swift
[167/172] Compiling NIO TypeAssistedChannelHandler.swift
[168/172] Compiling NIO Utilities.swift
[169/173] Compiling SKServer PathParameterSupport.swift
[170/173] Compiling SKServer TitanParameterizedRoutes.swift
[171/173] Compiling SKServer TitanRoutesByMethod.swift
[172/173] Compiling SKServer TitanRoutingExtension.swift
[175/216] Emitting module NIOFoundationCompat
[176/216] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[177/217] Compiling NIOTLS TLSEvents.swift
[178/217] Compiling Async Future+Map.swift
[179/217] Compiling Async Future+Transform.swift
[180/218] Compiling Bits Bytes.swift
[181/218] Emitting module Async
[182/218] Compiling Bits Data+Bytes.swift
[184/219] Compiling Async Collection+Future.swift
[185/219] Compiling Async Deprecated.swift
[186/219] Compiling Async Exports.swift
[187/219] Compiling Async Future+DoCatch.swift
[190/219] Compiling NIOHTTP1 ByteCollectionUtils.swift
[191/219] Compiling NIOHTTP1 HTTPDecoder.swift
[192/219] Compiling Async Future+Flatten.swift
[193/219] Compiling Async Future+Global.swift
[194/219] Compiling Async Future+Variadic.swift
[195/219] Compiling Async Future+Void.swift
[196/219] Compiling Async FutureType.swift
[197/219] Compiling Async QueueHandler.swift
[198/219] Compiling Bits Deprecated.swift
[199/219] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[202/219] Emitting module Bits
[207/220] Compiling Async Worker.swift
[208/221] Compiling Bits Data+Strings.swift
[211/222] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[212/222] Emitting module NIOTLS
[213/222] Compiling NIOTLS SNIHandler.swift
[214/223] Compiling NIOHTTP1 HTTPEncoder.swift
[215/223] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[217/223] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[218/251] Emitting module NIOHTTP1
[219/251] Compiling Core BasicKey.swift
[220/251] Compiling Core CaseInsensitiveString.swift
[221/251] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[222/251] Compiling NIOHTTP1 HTTPTypes.swift
[223/251] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[224/268] Compiling Random RandomProtocol.swift
[225/268] Compiling Random URandom.swift
[226/268] Compiling Random Array+Random.swift
[227/268] Compiling Random OSRandom.swift
[229/268] Emitting module Random
[231/269] Compiling NIOOpenSSL ByteBufferBIO.swift
[232/269] Compiling NIOOpenSSL IdentityVerification.swift
[233/269] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[234/269] Compiling NIOOpenSSL OpenSSLHandler.swift
[235/269] Compiling Core NotFound.swift
[236/269] Compiling Core OptionalType.swift
[237/269] Compiling Core Process+Execute.swift
[238/269] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[239/269] Compiling NIOOpenSSL PosixPort.swift
[240/269] Compiling NIOOpenSSL SSLCertificate.swift
[241/272] Compiling NIOOpenSSL SSLPrivateKey.swift
[242/272] Compiling NIOOpenSSL SSLPublicKey.swift
[243/272] Compiling Core HeaderValue.swift
[246/281] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[247/281] Compiling NIOOpenSSL SSLPointerTricks.swift
[248/283] Compiling Core Reflectable.swift
[249/283] Compiling Core String+Utilities.swift
[250/283] Compiling Core Thread+Async.swift
[251/283] Compiling NIOOpenSSL SSLErrors.swift
[252/283] Compiling NIOOpenSSL SSLInit.swift
[255/283] Compiling NIOWebSocket WebSocketErrorCodes.swift
[258/284] 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
[259/284] 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
[260/284] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[261/284] Compiling NIOWebSocket WebSocketOpcode.swift
[262/284] Emitting module NIOOpenSSL
[263/284] Compiling NIOWebSocket Base64.swift
[264/284] Compiling NIOWebSocket SHA1.swift
[266/284] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[267/284] Compiling NIOWebSocket WebSocketFrame.swift
[268/284] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[269/284] Compiling NIOOpenSSL TLSConfiguration.swift
[270/284] Emitting module NIOWebSocket
[273/284] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[274/284] Compiling NIOWebSocket WebSocketUpgrader.swift
BUILD FAILURE 6.1 linux