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

Successful build of SKServer, reference master (484c76), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 12:11:21 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pvzig/SKServer.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pvzig/SKServer
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 484c763 Update README.md
Cloned https://github.com/pvzig/SKServer.git
Revision (git rev-parse @):
484c763854a4b19313645eaa3799e2215dbfb878
SUCCESS checkout https://github.com/pvzig/SKServer.git at master
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/pvzig/SKWebAPI
Fetching https://github.com/pvzig/SKCore
[9/288] Fetching skcore
[61/582] Fetching skcore, skwebapi
[504/6614] Fetching skcore, skwebapi, swifter
Fetched https://github.com/pvzig/SKCore from cache (1.62s)
Fetched https://github.com/pvzig/SKWebAPI from cache (1.62s)
Fetched https://github.com/httpswift/swifter.git from cache (1.62s)
Computing version for https://github.com/pvzig/SKWebAPI
Computed https://github.com/pvzig/SKWebAPI at 4.1.3 (0.55s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (0.56s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.4.7 (2.51s)
Creating working copy for https://github.com/pvzig/SKCore
Working copy of https://github.com/pvzig/SKCore resolved at 4.1.3
Creating working copy for https://github.com/pvzig/SKWebAPI
Working copy of https://github.com/pvzig/SKWebAPI resolved at 4.1.3
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.4.7
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "skserver",
      "name": "SKServer",
      "url": "https://github.com/pvzig/SKServer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKServer",
      "dependencies": [
        {
          "identity": "skcore",
          "name": "SKCore",
          "url": "https://github.com/pvzig/SKCore",
          "version": "4.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKCore",
          "dependencies": [
          ]
        },
        {
          "identity": "skwebapi",
          "name": "SKWebAPI",
          "url": "https://github.com/pvzig/SKWebAPI",
          "version": "4.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKWebAPI",
          "dependencies": [
            {
              "identity": "skcore",
              "name": "SKCore",
              "url": "https://github.com/pvzig/SKCore",
              "version": "4.1.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SKCore",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swifter",
          "name": "Swifter",
          "url": "https://github.com/httpswift/swifter.git",
          "version": "1.4.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifter",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pvzig/SKServer.git
[5/402] Fetching skserver
Fetched https://github.com/pvzig/SKServer.git from cache (0.85s)
Fetching https://github.com/pvzig/SKWebAPI from cache
Fetching https://github.com/httpswift/swifter.git from cache
Fetching https://github.com/pvzig/SKCore from cache
Fetched https://github.com/pvzig/SKWebAPI from cache (0.47s)
Fetched https://github.com/httpswift/swifter.git from cache (0.47s)
Fetched https://github.com/pvzig/SKCore from cache (0.47s)
Computing version for https://github.com/pvzig/SKWebAPI
Computed https://github.com/pvzig/SKWebAPI at 4.1.3 (0.02s)
Computing version for https://github.com/pvzig/SKCore
Computed https://github.com/pvzig/SKCore at 4.1.3 (0.02s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.4.7 (0.02s)
Creating working copy for https://github.com/pvzig/SKCore
Working copy of https://github.com/pvzig/SKCore resolved at 4.1.3
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.4.7
Creating working copy for https://github.com/pvzig/SKServer.git
Working copy of https://github.com/pvzig/SKServer.git resolved at master (484c763)
Creating working copy for https://github.com/pvzig/SKWebAPI
Working copy of https://github.com/pvzig/SKWebAPI resolved at 4.1.3
warning: 'skwebapi': 'skwebapi' dependency on 'https://github.com/SlackKit/SKCore' conflicts with dependency on 'https://github.com/pvzig/SKCore' which has the same identity 'skcore'. this will be escalated to an error in future versions of SwiftPM.
warning: '.resolve-product-dependencies': dependency 'skserver' is not used by any target
Found 3 product dependencies
  - SKCore
  - SKWebAPI
  - Swifter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/pvzig/SKServer.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/50] Emitting module SKCore
[7/52] Compiling SKCore TeamIcon.swift
[8/52] Compiling SKCore Topic.swift
[9/52] Compiling SKCore SlackError.swift
[10/52] Compiling SKCore Team.swift
[11/52] Compiling SKCore Reaction.swift
[12/52] Compiling SKCore Reply.swift
[13/52] Compiling SKCore Scope.swift
[14/52] Compiling SKCore User.swift
[15/52] Compiling SKCore UserGroup.swift
[16/52] Compiling SKCore Action.swift
[17/52] Compiling SKCore Attachment.swift
[18/52] Compiling SKCore AttachmentField.swift
[19/52] Compiling SKCore Edited.swift
[20/52] Compiling SKCore Event.swift
[21/52] Compiling SKCore Extensions.swift
[22/52] Compiling SKCore CustomProfile.swift
[23/52] Compiling SKCore CustomProfileField.swift
[24/52] Compiling SKCore DoNotDisturbStatus.swift
[25/52] Compiling SKCore Message.swift
[26/52] Compiling SKCore OAuthConfig.swift
[27/52] Compiling SKCore RTMOptions.swift
[28/52] Compiling SKCore Bot.swift
[29/52] Compiling SKCore Channel.swift
[30/52] Compiling SKCore Comment.swift
[31/52] Compiling SKCore File.swift
[32/52] Compiling SKCore History.swift
[33/52] Compiling SKCore Item.swift
[50/54] Emitting module Swifter
[53/58] Compiling Swifter String+SHA1.swift
[54/58] Compiling Swifter WebSockets.swift
[55/58] Compiling SKWebAPI NetworkInterface.swift
[56/58] Emitting module SKWebAPI
[57/58] Compiling SKWebAPI Endpoint.swift
[58/58] Compiling SKWebAPI WebAPI.swift
[59/92] Compiling SKServer MessageActionRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Model/OAuthResponse.swift:37:79: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |     internal init(response: [String: Any]?) {
36 |         accessToken = response?["access_token"] as? String
37 |         scope = (response?["scope"] as? String)?.components(separatedBy: ",").flatMap { Scope(rawValue: $0) }
   |                                                                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                                               `- note: use 'compactMap(_:)' instead
38 |         userID = response?["user_id"] as? String
39 |         teamName = response?["team_name"] as? String
[60/92] Compiling SKServer OAuthResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Model/OAuthResponse.swift:37:79: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |     internal init(response: [String: Any]?) {
36 |         accessToken = response?["access_token"] as? String
37 |         scope = (response?["scope"] as? String)?.components(separatedBy: ",").flatMap { Scope(rawValue: $0) }
   |                                                                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                                               `- note: use 'compactMap(_:)' instead
38 |         userID = response?["user_id"] as? String
39 |         teamName = response?["team_name"] as? String
[61/92] Compiling SKServer RequestRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Model/OAuthResponse.swift:37:79: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |     internal init(response: [String: Any]?) {
36 |         accessToken = response?["access_token"] as? String
37 |         scope = (response?["scope"] as? String)?.components(separatedBy: ",").flatMap { Scope(rawValue: $0) }
   |                                                                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                                               `- note: use 'compactMap(_:)' instead
38 |         userID = response?["user_id"] as? String
39 |         teamName = response?["team_name"] as? String
[62/92] Compiling SKServer SKResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Model/OAuthResponse.swift:37:79: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |     internal init(response: [String: Any]?) {
36 |         accessToken = response?["access_token"] as? String
37 |         scope = (response?["scope"] as? String)?.components(separatedBy: ",").flatMap { Scope(rawValue: $0) }
   |                                                                               |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
   |                                                                               `- note: use 'compactMap(_:)' instead
38 |         userID = response?["user_id"] as? String
39 |         teamName = response?["team_name"] as? String
[63/95] Compiling SKServer TitanResponse.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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())
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift:18:5: warning: 'public' modifier is redundant for property declared in a public extension
16 | public extension RequestType {
17 |
18 |     public var formURLEncodedBody: [(name: String, value: String)] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
19 |         guard let bodyString: String = self.body else {
20 |             return []
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift:26:5: warning: 'public' modifier is redundant for property declared in a public extension
24 |     }
25 |
26 |     public var postParams: [String: String] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
27 |         var ret = [String: String]()
28 |         guard let bodyString: String = self.body else {
[64/95] Compiling SKServer TitanErrorHandling.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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())
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift:18:5: warning: 'public' modifier is redundant for property declared in a public extension
16 | public extension RequestType {
17 |
18 |     public var formURLEncodedBody: [(name: String, value: String)] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
19 |         guard let bodyString: String = self.body else {
20 |             return []
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift:26:5: warning: 'public' modifier is redundant for property declared in a public extension
24 |     }
25 |
26 |     public var postParams: [String: String] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
27 |         var ret = [String: String]()
28 |         guard let bodyString: String = self.body else {
[65/95] Compiling SKServer TitanFormURLEncodedBodyParser.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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())
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift:18:5: warning: 'public' modifier is redundant for property declared in a public extension
16 | public extension RequestType {
17 |
18 |     public var formURLEncodedBody: [(name: String, value: String)] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
19 |         guard let bodyString: String = self.body else {
20 |             return []
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift:26:5: warning: 'public' modifier is redundant for property declared in a public extension
24 |     }
25 |
26 |     public var postParams: [String: String] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
27 |         var ret = [String: String]()
28 |         guard let bodyString: String = self.body else {
[66/95] Compiling SKServer WebhookRequest.swift
[67/95] Compiling SKServer SKServer.swift
[68/95] Compiling SKServer SlackKitResponder.swift
[69/95] Compiling SKServer Titan.swift
[70/95] Compiling SKServer TitanQueryString.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanQueryString/TitanQueryString.swift:19:5: warning: 'public' modifier is redundant for property declared in a public extension
17 |     /// The pairs of keys and values in the query string of the `RequestType`s path.
18 |     /// Complexity: 0(n) on all invocations.
19 |     public var queryPairs: [(key: String, value: String)] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
20 |         // Ensure there is a query string, otherwise return
21 |         guard let indexOfQuery = self.path.index(of: "?") else {
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanQueryString/TitanQueryString.swift:56:5: warning: 'public' modifier is redundant for property declared in a public extension
54 |     /// Access the query string as a dictionary, with case sensitive keys.
55 |     /// Complexity: 0(n) on all invocations.
56 |     public var query: [String: String] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
57 |         var query: [String: String] = [:]
58 |         for (name, value) in self.queryPairs {
[71/95] Compiling SKServer InitializerOverloads.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanQueryString/TitanQueryString.swift:19:5: warning: 'public' modifier is redundant for property declared in a public extension
17 |     /// The pairs of keys and values in the query string of the `RequestType`s path.
18 |     /// Complexity: 0(n) on all invocations.
19 |     public var queryPairs: [(key: String, value: String)] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
20 |         // Ensure there is a query string, otherwise return
21 |         guard let indexOfQuery = self.path.index(of: "?") else {
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanQueryString/TitanQueryString.swift:56:5: warning: 'public' modifier is redundant for property declared in a public extension
54 |     /// Access the query string as a dictionary, with case sensitive keys.
55 |     /// Complexity: 0(n) on all invocations.
56 |     public var query: [String: String] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
57 |         var query: [String: String] = [:]
58 |         for (name, value) in self.queryPairs {
[72/95] Compiling SKServer PathParameterSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanQueryString/TitanQueryString.swift:19:5: warning: 'public' modifier is redundant for property declared in a public extension
17 |     /// The pairs of keys and values in the query string of the `RequestType`s path.
18 |     /// Complexity: 0(n) on all invocations.
19 |     public var queryPairs: [(key: String, value: String)] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
20 |         // Ensure there is a query string, otherwise return
21 |         guard let indexOfQuery = self.path.index(of: "?") else {
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanQueryString/TitanQueryString.swift:56:5: warning: 'public' modifier is redundant for property declared in a public extension
54 |     /// Access the query string as a dictionary, with case sensitive keys.
55 |     /// Complexity: 0(n) on all invocations.
56 |     public var query: [String: String] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
57 |         var query: [String: String] = [:]
58 |         for (name, value) in self.queryPairs {
[73/95] Compiling SKServer TitanHeader.swift
[74/95] Compiling SKServer TitanLogs.swift
[75/95] Compiling SKServer TitanMethod.swift
[76/95] Compiling SKServer TitanRequest.swift
[77/95] Emitting module SKServer
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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())
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift:18:5: warning: 'public' modifier is redundant for property declared in a public extension
16 | public extension RequestType {
17 |
18 |     public var formURLEncodedBody: [(name: String, value: String)] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
19 |         guard let bodyString: String = self.body else {
20 |             return []
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift:26:5: warning: 'public' modifier is redundant for property declared in a public extension
24 |     }
25 |
26 |     public var postParams: [String: String] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
27 |         var ret = [String: String]()
28 |         guard let bodyString: String = self.body else {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift:18:5: warning: 'public' modifier is redundant for initializer declared in a public extension
16 | public extension Response {
17 |
18 |     public init(code: Int, json: Any) throws {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
19 |         let jsonData = try JSONSerialization.data(withJSONObject: json, options: [])
20 |         self.init(code: code, body: jsonData, headers: HTTPHeaders(dictionaryLiteral: ("content-type", "application/json")))
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift:23:5: warning: 'public' modifier is redundant for initializer declared in a public extension
21 |     }
22 |
23 |     public init<T: Encodable>(code: Int, object: T, jsonEncoder: JSONEncoder = JSONEncoder()) throws {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
24 |         let data = try jsonEncoder.encode(object)
25 |         self.init(code: code, body: data, headers: HTTPHeaders(dictionaryLiteral: ("content-type", "application/json")))
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanQueryString/TitanQueryString.swift:19:5: warning: 'public' modifier is redundant for property declared in a public extension
17 |     /// The pairs of keys and values in the query string of the `RequestType`s path.
18 |     /// Complexity: 0(n) on all invocations.
19 |     public var queryPairs: [(key: String, value: String)] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
20 |         // Ensure there is a query string, otherwise return
21 |         guard let indexOfQuery = self.path.index(of: "?") else {
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanQueryString/TitanQueryString.swift:56:5: warning: 'public' modifier is redundant for property declared in a public extension
54 |     /// Access the query string as a dictionary, with case sensitive keys.
55 |     /// Complexity: 0(n) on all invocations.
56 |     public var query: [String: String] {
   |     `- warning: 'public' modifier is redundant for property declared in a public extension
57 |         var query: [String: String] = [:]
58 |         for (name, value) in self.queryPairs {
[78/95] Compiling SKServer TitanHealthz.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift:18:5: warning: 'public' modifier is redundant for initializer declared in a public extension
16 | public extension Response {
17 |
18 |     public init(code: Int, json: Any) throws {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
19 |         let jsonData = try JSONSerialization.data(withJSONObject: json, options: [])
20 |         self.init(code: code, body: jsonData, headers: HTTPHeaders(dictionaryLiteral: ("content-type", "application/json")))
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift:23:5: warning: 'public' modifier is redundant for initializer declared in a public extension
21 |     }
22 |
23 |     public init<T: Encodable>(code: Int, object: T, jsonEncoder: JSONEncoder = JSONEncoder()) throws {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
24 |         let data = try jsonEncoder.encode(object)
25 |         self.init(code: code, body: data, headers: HTTPHeaders(dictionaryLiteral: ("content-type", "application/json")))
[79/95] Compiling SKServer TitanJSONRequestBody.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift:18:5: warning: 'public' modifier is redundant for initializer declared in a public extension
16 | public extension Response {
17 |
18 |     public init(code: Int, json: Any) throws {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
19 |         let jsonData = try JSONSerialization.data(withJSONObject: json, options: [])
20 |         self.init(code: code, body: jsonData, headers: HTTPHeaders(dictionaryLiteral: ("content-type", "application/json")))
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift:23:5: warning: 'public' modifier is redundant for initializer declared in a public extension
21 |     }
22 |
23 |     public init<T: Encodable>(code: Int, object: T, jsonEncoder: JSONEncoder = JSONEncoder()) throws {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
24 |         let data = try jsonEncoder.encode(object)
25 |         self.init(code: code, body: data, headers: HTTPHeaders(dictionaryLiteral: ("content-type", "application/json")))
[80/95] Compiling SKServer TitanJSONResponseBody.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift:18:5: warning: 'public' modifier is redundant for initializer declared in a public extension
16 | public extension Response {
17 |
18 |     public init(code: Int, json: Any) throws {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
19 |         let jsonData = try JSONSerialization.data(withJSONObject: json, options: [])
20 |         self.init(code: code, body: jsonData, headers: HTTPHeaders(dictionaryLiteral: ("content-type", "application/json")))
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift:23:5: warning: 'public' modifier is redundant for initializer declared in a public extension
21 |     }
22 |
23 |     public init<T: Encodable>(code: Int, object: T, jsonEncoder: JSONEncoder = JSONEncoder()) throws {
   |     `- warning: 'public' modifier is redundant for initializer declared in a public extension
24 |         let data = try jsonEncoder.encode(object)
25 |         self.init(code: code, body: data, headers: HTTPHeaders(dictionaryLiteral: ("content-type", "application/json")))
[81/95] Compiling SKServer SwifterServer.swift
[82/95] Compiling SKServer MessageActionMiddleware.swift
[83/95] Compiling SKServer OAuthMiddleware.swift
[84/95] Compiling SKServer RedirectMiddleware.swift
[85/95] Compiling SKServer Titan404.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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)
[86/95] Compiling SKServer TitanCORS.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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)
[87/95] Compiling SKServer TitanCore.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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)
[88/95] Compiling SKServer TitanError.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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'
/Users/admin/builder/spi-builder-workspace/Sources/SKServer/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)
[89/95] Compiling SKServer ResponseMiddleware.swift
[90/95] Compiling SKServer AuthorizeResponse.swift
[91/95] Compiling SKServer IncomingWebhook.swift
[92/95] Compiling SKServer MessageActionRequest.swift
[93/95] Compiling SKServer TitanParameterizedRoutes.swift
[94/95] Compiling SKServer TitanRoutesByMethod.swift
[95/95] Compiling SKServer TitanRoutingExtension.swift
Build complete! (33.15s)
warning: 'skwebapi': 'skwebapi' dependency on 'https://github.com/SlackKit/SKCore' conflicts with dependency on 'https://github.com/pvzig/SKCore' which has the same identity 'skcore'. this will be escalated to an error in future versions of SwiftPM.
Build complete.
{
  "dependencies" : [
    {
      "identity" : "skcore",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "4.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pvzig/SKCore"
    },
    {
      "identity" : "skwebapi",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.1.0",
            "upper_bound" : "4.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pvzig/SKWebAPI"
    },
    {
      "identity" : "swifter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.1",
            "upper_bound" : "1.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/httpswift/swifter.git"
    }
  ],
  "manifest_display_name" : "SKServer",
  "name" : "SKServer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SKServer",
      "targets" : [
        "SKServer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SKServer",
      "module_type" : "SwiftTarget",
      "name" : "SKServer",
      "path" : "Sources",
      "product_dependencies" : [
        "SKCore",
        "SKWebAPI",
        "Swifter"
      ],
      "product_memberships" : [
        "SKServer"
      ],
      "sources" : [
        "SKServer/Conformers/SwifterServer.swift",
        "SKServer/Middleware/MessageActionMiddleware.swift",
        "SKServer/Middleware/OAuthMiddleware.swift",
        "SKServer/Middleware/RedirectMiddleware.swift",
        "SKServer/Middleware/ResponseMiddleware.swift",
        "SKServer/Model/AuthorizeResponse.swift",
        "SKServer/Model/IncomingWebhook.swift",
        "SKServer/Model/MessageActionRequest.swift",
        "SKServer/Model/MessageActionRoute.swift",
        "SKServer/Model/OAuthResponse.swift",
        "SKServer/Model/RequestRoute.swift",
        "SKServer/Model/SKResponse.swift",
        "SKServer/Model/WebhookRequest.swift",
        "SKServer/SKServer.swift",
        "SKServer/SlackKitResponder.swift",
        "SKServer/Titan/Titan/Titan.swift",
        "SKServer/Titan/Titan404/Titan404.swift",
        "SKServer/Titan/TitanCORS/TitanCORS.swift",
        "SKServer/Titan/TitanCore/TitanCore.swift",
        "SKServer/Titan/TitanCore/TitanError.swift",
        "SKServer/Titan/TitanCore/TitanHeader.swift",
        "SKServer/Titan/TitanCore/TitanLogs.swift",
        "SKServer/Titan/TitanCore/TitanMethod.swift",
        "SKServer/Titan/TitanCore/TitanRequest.swift",
        "SKServer/Titan/TitanCore/TitanResponse.swift",
        "SKServer/Titan/TitanErrorHandling/TitanErrorHandling.swift",
        "SKServer/Titan/TitanFormURLEncodedBodyParser/TitanFormURLEncodedBodyParser.swift",
        "SKServer/Titan/TitanHealthz/TitanHealthz.swift",
        "SKServer/Titan/TitanJSON/TitanJSONRequestBody.swift",
        "SKServer/Titan/TitanJSON/TitanJSONResponseBody.swift",
        "SKServer/Titan/TitanQueryString/TitanQueryString.swift",
        "SKServer/Titan/TitanRouter/InitializerOverloads.swift",
        "SKServer/Titan/TitanRouter/PathParameterSupport.swift",
        "SKServer/Titan/TitanRouter/TitanParameterizedRoutes.swift",
        "SKServer/Titan/TitanRouter/TitanRoutesByMethod.swift",
        "SKServer/Titan/TitanRouter/TitanRoutingExtension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.