The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SlackKit, reference 4.8.0 (3823ae), with Swift 6.0 for Linux on 29 Nov 2024 03:37:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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.0
Building package at path:  $PWD
https://github.com/pvzig/SlackKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/vapor/websocket
[1/6032] Fetching swifter
[424/10934] Fetching swifter, starscream
[1458/13458] Fetching swifter, starscream, websocket
Fetched https://github.com/vapor/websocket from cache (0.37s)
[6531/10934] Fetching swifter, starscream
Fetched https://github.com/daltoniam/Starscream from cache (0.87s)
Fetched https://github.com/httpswift/swifter.git from cache (0.89s)
Computing version for https://github.com/vapor/websocket
Computed https://github.com/vapor/websocket at 1.1.2 (2.22s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
[1868/22929] Fetching crypto, core
[4198/48396] Fetching crypto, core, http
Fetched https://github.com/vapor/crypto.git from cache (0.27s)
[10415/45610] Fetching core, http
[36490/117609] Fetching core, http, swift-nio
[48614/131259] Fetching core, http, swift-nio, swift-nio-ssl
Fetched https://github.com/vapor/core.git from cache (0.94s)
[55656/111116] Fetching http, swift-nio, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.96s)
Fetched https://github.com/vapor/http.git from cache (1.96s)
[54000/71999] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.55s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.48s)
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.58s)
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.20s)
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.45s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.46s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.54s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.57s)
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.28s)
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.49s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.60s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.51s)
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/apple/swift-nio-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/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
Creating working copy for https://github.com/vapor/websocket
Working copy of https://github.com/vapor/websocket resolved at 1.1.2
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-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 CNIOZlib empty.c
[23/38] Compiling CNIOLinux ifaddrs-android.c
[24/38] Compiling CNIODarwin shim.c
[25/38] Compiling CNIOSHA1 c_nio_sha1.c
[26/38] Compiling CNIOLinux shim.c
[27/38] Compiling CBcrypt bcrypt.c
[28/38] Compiling CBcrypt blf.c
[29/38] Write sources
[31/38] Compiling CNIOHTTPParser c_nio_http_parser.c
[32/38] Compiling CBase32 base32.c
[33/38] Compiling CNIOOpenSSL shims.c
[34/38] Compiling CNIOOpenSSL helpers.c
[35/38] Compiling CCryptoOpenSSL shim.c
[36/38] Write swift-version-24593BA9C3E375BF.txt
[37/94] Compiling c-atomics.c
[39/97] Emitting module NIOConcurrencyHelpers
[40/97] Compiling NIOPriorityQueue PriorityQueue.swift
[41/97] Compiling SKCore SlackError.swift
[42/97] Compiling SKCore Team.swift
[43/97] Compiling SKCore TeamIcon.swift
[44/100] Compiling Debugging SourceLocation.swift
[45/100] Compiling SKCore Action.swift
[46/100] Compiling SKCore Attachment.swift
[47/100] Compiling SKCore AttachmentField.swift
[48/100] Compiling SKCore BlockComposition.swift
[49/100] Emitting module SKCore
[50/100] Compiling SKCore Topic.swift
[51/100] Compiling SKCore User.swift
[52/100] Compiling SKCore UserGroup.swift
[53/100] Compiling COperatingSystem libc.swift
[54/100] Emitting module COperatingSystem
[55/100] Emitting module NIOPriorityQueue
[56/101] Compiling NIOConcurrencyHelpers atomics.swift
[57/101] Compiling NIOPriorityQueue Heap.swift
[58/101] Compiling NIOConcurrencyHelpers lock.swift
[62/153] Compiling NIO ByteBuffer-aux.swift
[63/153] Compiling NIO ByteBuffer-core.swift
[64/153] Compiling NIO ChannelPipeline.swift
[65/153] Compiling NIO CircularBuffer.swift
[66/153] Compiling NIO ChannelHandlers.swift
[67/153] Compiling NIO ChannelInvoker.swift
[68/153] Compiling NIO ChannelOption.swift
[69/153] Compiling NIO AddressedEnvelope.swift
[70/153] Compiling NIO BaseSocket.swift
[71/153] Compiling NIO BaseSocketChannel.swift
[72/153] Compiling NIO BlockingIOThreadPool.swift
[73/153] Compiling NIO Bootstrap.swift
[74/153] Compiling Debugging Demangler.swift
[75/153] Compiling NIO Embedded.swift
[76/153] Compiling NIO EventLoop.swift
[77/153] Compiling NIO EventLoopFuture.swift
[78/153] Compiling NIO FileDescriptor.swift
[79/153] Compiling NIO Codec.swift
[80/153] Compiling NIO CompositeError.swift
[81/153] Compiling NIO ContiguousCollection.swift
[82/153] Compiling NIO DeadChannel.swift
[83/154] Emitting module Debugging
[84/154] Compiling Debugging Debuggable.swift
[85/155] Compiling NIO ChannelHandler.swift
[88/155] Compiling NIO ByteBuffer-int.swift
[89/155] Compiling NIO ByteBuffer-views.swift
[90/155] Compiling NIO Channel.swift
[91/155] Emitting module Swifter
[106/163] Emitting module SKWebAPI
[107/163] Compiling SKWebAPI Endpoint.swift
[108/163] 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()
[109/163] Compiling NIO RecvByteBufferAllocator.swift
[110/163] Compiling NIO Resolver.swift
[111/163] Compiling NIO Selectable.swift
[112/163] Compiling NIO Selector.swift
[113/163] Compiling NIO ServerSocket.swift
[114/163] Compiling NIO Socket.swift
[115/163] Compiling NIO SocketAddresses.swift
[116/169] Compiling NIO Heap.swift
[117/169] Compiling NIO IO.swift
[118/169] Compiling NIO IOData.swift
[119/169] Compiling NIO IntegerTypes.swift
[120/169] Compiling NIO Interfaces.swift
[121/169] Compiling NIO Linux.swift
[122/169] Compiling NIO LinuxCPUSet.swift
[123/169] Compiling NIO MarkedCircularBuffer.swift
[124/169] Compiling NIO MulticastChannel.swift
[125/169] Compiling NIO NIOAny.swift
[126/169] Compiling NIO NonBlockingFileIO.swift
[127/169] Compiling NIO PendingDatagramWritesManager.swift
[128/169] Compiling NIO PendingWritesManager.swift
[129/169] Compiling NIO PriorityQueue.swift
[130/169] Emitting module SKClient
[131/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 |             }
[133/170] Compiling Swifter String+SHA1.swift
[134/170] Compiling Swifter WebSockets.swift
[138/170] Compiling NIO FileHandle.swift
[139/170] Compiling NIO FileRegion.swift
[140/170] Compiling NIO GetaddrinfoResolver.swift
[141/170] Compiling NIO HappyEyeballs.swift
[157/171] Emitting module NIO
[165/171] Compiling SKWebAPI WebAPI.swift
[167/205] Compiling NIO SocketChannel.swift
[168/205] Compiling NIO SocketOptionProvider.swift
[169/205] Compiling NIO System.swift
[170/205] Compiling NIO Thread.swift
[171/205] Compiling NIO TypeAssistedChannelHandler.swift
[172/205] Compiling NIO Utilities.swift
[174/206] Compiling SKServer TitanJSONRequestBody.swift
[175/206] Compiling SKServer TitanJSONResponseBody.swift
[176/206] Compiling SKServer TitanQueryString.swift
[177/206] Compiling SKServer InitializerOverloads.swift
[178/252] 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: annotate 'defaultTo404' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'allowAllOrigins' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'respondToPreflightAllowingAllMethods' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultErrorHandler' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'healthz' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
[179/252] Compiling Async Future+Variadic.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: annotate 'defaultTo404' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'allowAllOrigins' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'respondToPreflightAllowingAllMethods' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     guard req.method == .options else {
38 |         return (req, res)
[180/252] Compiling Async Future+Void.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: annotate 'defaultTo404' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'allowAllOrigins' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'respondToPreflightAllowingAllMethods' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     guard req.method == .options else {
38 |         return (req, res)
[181/252] Compiling Async FutureType.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: annotate 'defaultTo404' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'allowAllOrigins' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'respondToPreflightAllowingAllMethods' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     guard req.method == .options else {
38 |         return (req, res)
[182/252] Compiling Async QueueHandler.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: annotate 'defaultTo404' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'allowAllOrigins' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'respondToPreflightAllowingAllMethods' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     guard req.method == .options else {
38 |         return (req, res)
[183/252] Compiling SKServer TitanError.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: annotate 'defaultTo404' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'allowAllOrigins' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'respondToPreflightAllowingAllMethods' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |     guard req.method == .options else {
38 |         return (req, res)
[184/252] Compiling Bits BitsError.swift
[185/252] Compiling Bits Byte+Alphabet.swift
[186/252] Compiling Bits Byte+Control.swift
[187/252] Compiling Bits Byte+Digit.swift
[188/252] Compiling Bits ByteBuffer+require.swift
[189/252] Compiling NIOTLS TLSEvents.swift
[190/252] Compiling SKServer TitanHeader.swift
[191/252] Compiling SKServer TitanLogs.swift
[192/252] Compiling SKServer TitanMethod.swift
[193/252] Compiling SKServer TitanRequest.swift
[194/252] Compiling SKServer TitanResponse.swift
<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: annotate 'defaultErrorHandler' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'healthz' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
[195/252] Compiling SKServer TitanErrorHandling.swift
<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: annotate 'defaultErrorHandler' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'healthz' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
[196/252] Compiling SKServer TitanFormURLEncodedBodyParser.swift
<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: annotate 'defaultErrorHandler' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'healthz' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
[197/252] Compiling SKServer TitanHealthz.swift
<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: annotate 'defaultErrorHandler' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'healthz' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | // Workaround for https://bugs.swift.org/browse/SR-6391
[198/252] Emitting module Async
[200/253] Compiling Bits ByteBuffer+string.swift
[205/253] Emitting module NIOTLS
[206/253] Emitting module NIOFoundationCompat
[207/253] Compiling Async Worker.swift
[208/253] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[212/255] Compiling Bits ByteBuffer+binaryFloatingPointOperations.swift
[213/255] Compiling Bits ByteBuffer+peek.swift
[214/255] Compiling Async Future+Flatten.swift
[215/255] Compiling Async Future+Global.swift
[216/255] Compiling Bits Deprecated.swift
[222/255] Emitting module Bits
[231/256] Compiling SKServer PathParameterSupport.swift
[232/256] Compiling SKServer TitanParameterizedRoutes.swift
[233/256] Compiling SKServer TitanRoutesByMethod.swift
[234/256] Compiling SKServer TitanRoutingExtension.swift
[236/256] 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
[237/256] 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
[238/256] 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
[239/256] Compiling SKServer RedirectMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
80 |                 #if os(Linux)
81 |                     //swiftlint:disable force_cast
82 |                     return .ok(.json(json as! AnyObject))
   |                                           `- warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
83 |                     //swiftlint:enable force_cast
84 |                 #else
[240/256] Compiling SKServer ResponseMiddleware.swift
/host/spi-builder-workspace/SKServer/Sources/Conformers/SwifterServer.swift:82:43: warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
80 |                 #if os(Linux)
81 |                     //swiftlint:disable force_cast
82 |                     return .ok(.json(json as! AnyObject))
   |                                           `- warning: forced cast from 'Any' to 'AnyObject' always succeeds; did you mean to use 'as'?
83 |                     //swiftlint:enable force_cast
84 |                 #else
[243/257] Compiling Bits Data+Strings.swift
[244/257] Compiling Bits Data+Bytes.swift
[245/257] Compiling Bits Bytes.swift
[246/258] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[249/259] Emitting module NIOHTTP1
[250/259] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[251/259] Compiling NIOTLS SNIHandler.swift
[253/265] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[254/265] Compiling NIOHTTP1 HTTPEncoder.swift
[255/265] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[256/304] Compiling Random RandomProtocol.swift
[257/304] Compiling Random URandom.swift
[258/304] Compiling Random Array+Random.swift
[259/304] Compiling Random OSRandom.swift
[260/304] Emitting module Random
[261/305] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[262/305] Compiling NIOHTTP1 HTTPTypes.swift
[264/305] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[265/305] Compiling NIOOpenSSL PosixPort.swift
[266/305] Compiling NIOOpenSSL SSLCertificate.swift
[268/306] Compiling Core NotFound.swift
[269/306] Compiling Core OptionalType.swift
[270/306] Compiling Core Process+Execute.swift
[271/306] Compiling NIOOpenSSL SSLConnection.swift
[272/306] Compiling NIOOpenSSL SSLContext.swift
[273/306] Compiling NIOOpenSSL SSLErrors.swift
[274/318] Compiling Core Reflectable.swift
[275/318] Compiling Core String+Utilities.swift
[276/318] Compiling Core Thread+Async.swift
[277/318] Compiling NIOWebSocket WebSocketOpcode.swift
[278/319] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[279/319] Compiling NIOWebSocket Base64.swift
[280/319] Compiling NIOWebSocket SHA1.swift
[281/319] Compiling NIOOpenSSL ByteBufferBIO.swift
[282/319] Compiling NIOOpenSSL IdentityVerification.swift
[283/319] Compiling NIOOpenSSL OpenSSLClientHandler.swift
[284/319] Compiling NIOOpenSSL OpenSSLHandler.swift
[285/319] Compiling NIOOpenSSL OpenSSLServerHandler.swift
[286/319] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[289/319] Emitting module NIOWebSocket
[293/321] Compiling NIOOpenSSL SSLInit.swift
[294/321] Compiling NIOOpenSSL SSLPrivateKey.swift
[295/321] Compiling NIOOpenSSL SSLPublicKey.swift
[296/321] Compiling NIOOpenSSL SSLPKCS12Bundle.swift
[297/321] Compiling NIOOpenSSL SSLPointerTricks.swift
[298/321] Compiling NIOWebSocket WebSocketUpgrader.swift
[299/321] Compiling NIOWebSocket WebSocketErrorCodes.swift
[300/321] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[301/321] Compiling NIOWebSocket WebSocketFrame.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
[307/322] Emitting module NIOOpenSSL
[311/322] Compiling NIOOpenSSL SSLVerificationCallbacks.swift
[312/322] Compiling NIOOpenSSL TLSConfiguration.swift
BUILD FAILURE 6.0 linux