Build Information
Successful build of SKServer, reference 4.1.2 (ee058e
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 12:11:19 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: 4.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pvzig/SKServer
* tag 4.1.2 -> FETCH_HEAD
HEAD is now at ee058e1 Merge pull request #5 from MrLotU/patch-1
Cloned https://github.com/pvzig/SKServer.git
Revision (git rev-parse @):
ee058e13e7bc0ef76b7f9abfd8182e806eb158b9
SUCCESS checkout https://github.com/pvzig/SKServer.git at 4.1.2
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/SlackKit/SKCore
Fetching https://github.com/SlackKit/SKWebAPI
[1/288] Fetching skcore
[157/6320] Fetching skcore, swifter
[6321/6614] Fetching skcore, swifter, skwebapi
Fetched https://github.com/httpswift/swifter.git from cache (1.60s)
[315/582] Fetching skcore, skwebapi
Fetched https://github.com/SlackKit/SKCore from cache (1.79s)
Fetched https://github.com/SlackKit/SKWebAPI from cache (1.79s)
Computing version for https://github.com/SlackKit/SKWebAPI
Computed https://github.com/SlackKit/SKWebAPI at 4.1.3 (0.52s)
Computing version for https://github.com/SlackKit/SKCore
Computed https://github.com/SlackKit/SKCore at 4.1.3 (0.50s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.4.7 (2.64s)
Creating working copy for https://github.com/SlackKit/SKCore
Working copy of https://github.com/SlackKit/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/SlackKit/SKWebAPI
Working copy of https://github.com/SlackKit/SKWebAPI resolved at 4.1.3
========================================
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/SlackKit/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/SlackKit/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/SlackKit/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
[13/402] Fetching skserver
Fetched https://github.com/pvzig/SKServer.git from cache (0.88s)
Fetching https://github.com/SlackKit/SKWebAPI from cache
Fetching https://github.com/httpswift/swifter.git from cache
Fetching https://github.com/SlackKit/SKCore from cache
Fetched https://github.com/httpswift/swifter.git from cache (0.51s)
Fetched https://github.com/SlackKit/SKCore from cache (0.51s)
Fetched https://github.com/SlackKit/SKWebAPI from cache (0.52s)
Computing version for https://github.com/SlackKit/SKWebAPI
Computed https://github.com/SlackKit/SKWebAPI at 4.1.3 (0.02s)
Computing version for https://github.com/SlackKit/SKCore
Computed https://github.com/SlackKit/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/SlackKit/SKWebAPI
Working copy of https://github.com/SlackKit/SKWebAPI resolved at 4.1.3
Creating working copy for https://github.com/pvzig/SKServer.git
Working copy of https://github.com/pvzig/SKServer.git resolved at 4.1.2 (ee058e1)
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/SlackKit/SKCore
Working copy of https://github.com/SlackKit/SKCore resolved at 4.1.3
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 Reaction.swift
[10/52] Compiling SKCore Reply.swift
[11/52] Compiling SKCore Scope.swift
[12/52] Compiling SKCore SlackError.swift
[13/52] Compiling SKCore Team.swift
[14/52] Compiling SKCore User.swift
[15/52] Compiling SKCore UserGroup.swift
[16/52] Compiling SKCore Message.swift
[17/52] Compiling SKCore OAuthConfig.swift
[18/52] Compiling SKCore RTMOptions.swift
[19/52] Compiling SKCore Action.swift
[20/52] Compiling SKCore Attachment.swift
[21/52] Compiling SKCore AttachmentField.swift
[22/52] Compiling SKCore CustomProfileField.swift
[23/52] Compiling SKCore DoNotDisturbStatus.swift
[24/54] Compiling SKCore Bot.swift
[25/54] Compiling SKCore Channel.swift
[26/54] Compiling SKCore Comment.swift
[27/54] Compiling SKCore CustomProfile.swift
[30/54] Compiling SKCore Edited.swift
[31/54] Compiling SKCore Event.swift
[32/54] Compiling SKCore Extensions.swift
[33/54] Compiling SKCore File.swift
[34/54] Compiling SKCore History.swift
[35/54] Compiling SKCore Item.swift
[50/54] Emitting module Swifter
[53/58] Compiling SKWebAPI Endpoint.swift
[54/58] Compiling Swifter String+SHA1.swift
[55/58] Compiling Swifter WebSockets.swift
[56/58] Compiling SKWebAPI NetworkInterface.swift
[57/58] Compiling SKWebAPI WebAPI.swift
[58/58] Emitting module SKWebAPI
[59/92] Compiling SKServer WebhookRequest.swift
[60/92] Compiling SKServer SKServer.swift
[61/92] Compiling SKServer SlackKitResponder.swift
[62/92] Compiling SKServer Titan.swift
[63/95] 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
[64/95] 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
[65/95] 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
[66/95] 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
[67/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")))
[68/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")))
[69/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")))
[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] 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 {
[74/95] Compiling SKServer TitanHeader.swift
[75/95] Compiling SKServer TitanLogs.swift
[76/95] Compiling SKServer TitanMethod.swift
[77/95] Compiling SKServer TitanRequest.swift
[78/95] Compiling SKServer SwifterServer.swift
[79/95] Compiling SKServer MessageActionMiddleware.swift
[80/95] Compiling SKServer OAuthMiddleware.swift
[81/95] Compiling SKServer RedirectMiddleware.swift
[82/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)
[83/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)
[84/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)
[85/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)
[86/95] Compiling SKServer ResponseMiddleware.swift
[87/95] Compiling SKServer AuthorizeResponse.swift
[88/95] Compiling SKServer IncomingWebhook.swift
[89/95] Compiling SKServer MessageActionRequest.swift
[90/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 {
[91/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 {
[92/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 {
[93/95] Compiling SKServer TitanParameterizedRoutes.swift
[94/95] Compiling SKServer TitanRoutesByMethod.swift
[95/95] Compiling SKServer TitanRoutingExtension.swift
Build complete! (30.02s)
Build complete.
{
"dependencies" : [
{
"identity" : "skcore",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "4.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SlackKit/SKCore"
},
{
"identity" : "skwebapi",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "4.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SlackKit/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.