Build Information
Successful build of FTAPIKit with Swift 6.0 for Linux.
Swift 6 data race errors: 8
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/futuredapp/FTAPIKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/futuredapp/FTAPIKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 46528ab Merge pull request #100 from futuredapp/dependabot/bundler/cocoapods-downloader-1.6.3
Cloned https://github.com/futuredapp/FTAPIKit.git
Revision (git rev-parse @):
46528ab76ca3ead8bdc32fb96f8591f7bf6d2748
SUCCESS checkout https://github.com/futuredapp/FTAPIKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/futuredapp/FTAPIKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/23] Emitting module FTAPIKit
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:44:23: warning: static property 'unhandled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public static var unhandled: Standard = .unhandled(data: nil, response: nil, error: nil)
| |- warning: static property 'unhandled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unhandled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unhandled' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:19:10: warning: associated value 'server' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
17 | /// Status code error when the response status code
18 | /// is larger or equal to 500 and less than 600.
19 | case server(Int, URLResponse, Data?)
| `- warning: associated value 'server' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
20 | /// Status code error when the response status code
21 | /// is larger or equal to 400 and less than 500.
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
2 |
3 | #if os(Linux)
4 | import FoundationNetworking
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
5 | #endif
6 |
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:22:10: warning: associated value 'client' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
20 | /// Status code error when the response status code
21 | /// is larger or equal to 400 and less than 500.
22 | case client(Int, URLResponse, Data?)
| `- warning: associated value 'client' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
23 | case unhandled(data: Data?, response: URLResponse?, error: Error?)
24 |
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:23:10: warning: associated value 'unhandled(data:response:error:)' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
21 | /// is larger or equal to 400 and less than 500.
22 | case client(Int, URLResponse, Data?)
23 | case unhandled(data: Data?, response: URLResponse?, error: Error?)
| `- warning: associated value 'unhandled(data:response:error:)' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
24 |
25 | public init?(data: Data?, response: URLResponse?, error: Error?, decoding: Decoding) {
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:4:24: warning: static property 'urlGeneralDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
| `- warning: static property 'urlGeneralDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
| |- note: annotate 'urlGeneralDelimiters' 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
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:5:24: warning: static property 'urlSubDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
| |- warning: static property 'urlSubDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlSubDelimiters' 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
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
7 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:6:24: warning: static property 'urlDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
| |- warning: static property 'urlDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlDelimiters' 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
7 |
8 | /// All characters allowed in URL query name or value.
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:12:16: warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| |- warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlQueryNameValueAllowed' 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
13 | }
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
[4/25] Compiling FTAPIKit Server.swift
[5/25] Compiling FTAPIKit URL+MIME.swift
[6/25] Compiling FTAPIKit URL+Query.swift
[7/25] Compiling FTAPIKit URLServer+Combine.swift
[8/25] Compiling FTAPIKit Endpoint.swift
[9/25] Compiling FTAPIKit HTTPMethod.swift
[10/25] Compiling FTAPIKit URLQuery.swift
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:12:16: warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| `- warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension CharacterSet {
:
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| |- note: annotate 'urlQueryNameValueAllowed' 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
13 | }
14 |
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:31:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | } onCancel: { [task] in
31 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | }
33 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
1 | import Foundation
2 | #if os(Linux)
3 | import FoundationNetworking
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
4 | #endif
5 |
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:56:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | } onCancel: { [task] in
56 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:81:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | }
80 | } onCancel: { [task] in
81 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | }
83 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
[11/25] Compiling FTAPIKit URLRequestBuilder.swift
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:12:16: warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| `- warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension CharacterSet {
:
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| |- note: annotate 'urlQueryNameValueAllowed' 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
13 | }
14 |
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:31:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | } onCancel: { [task] in
31 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | }
33 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
1 | import Foundation
2 | #if os(Linux)
3 | import FoundationNetworking
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
4 | #endif
5 |
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:56:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | } onCancel: { [task] in
56 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:81:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | }
80 | } onCancel: { [task] in
81 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | }
83 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
[12/25] Compiling FTAPIKit URLServer+Async.swift
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:12:16: warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| `- warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension CharacterSet {
:
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| |- note: annotate 'urlQueryNameValueAllowed' 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
13 | }
14 |
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:31:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | } onCancel: { [task] in
31 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 | }
33 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
1 | import Foundation
2 | #if os(Linux)
3 | import FoundationNetworking
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
4 | #endif
5 |
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:56:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
54 | }
55 | } onCancel: { [task] in
56 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
57 | }
58 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
/host/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:81:13: warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | }
80 | } onCancel: { [task] in
81 | task?.cancel()
| `- warning: capture of 'task' with non-sendable type 'URLSessionTask?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | }
83 | }
FoundationNetworking.URLSessionTask:1:12: note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
1 | open class URLSessionTask : NSObject, NSCopying {
| `- note: class 'URLSessionTask' does not conform to the 'Sendable' protocol
2 | open var countOfBytesClientExpectsToReceive: Int64 { get set }
3 | open var countOfBytesClientExpectsToSend: Int64 { get set }
[13/25] Compiling FTAPIKit Coding.swift
[14/25] Compiling FTAPIKit EndpointPublisher.swift
[15/25] Compiling FTAPIKit EndpointSubscription.swift
[16/25] Compiling FTAPIKit URLServer+Call.swift
[17/25] Compiling FTAPIKit URLServer+Download.swift
[18/25] Compiling FTAPIKit MultipartBodyPart.swift
[19/25] Compiling FTAPIKit MultipartFormData.swift
[20/25] Compiling FTAPIKit OutputStream+Write.swift
[21/25] Compiling FTAPIKit APIError+Standard.swift
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:44:23: warning: static property 'unhandled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public static var unhandled: Standard = .unhandled(data: nil, response: nil, error: nil)
| |- warning: static property 'unhandled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unhandled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unhandled' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:19:10: warning: associated value 'server' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
17 | /// Status code error when the response status code
18 | /// is larger or equal to 500 and less than 600.
19 | case server(Int, URLResponse, Data?)
| `- warning: associated value 'server' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
20 | /// Status code error when the response status code
21 | /// is larger or equal to 400 and less than 500.
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
2 |
3 | #if os(Linux)
4 | import FoundationNetworking
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
5 | #endif
6 |
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:22:10: warning: associated value 'client' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
20 | /// Status code error when the response status code
21 | /// is larger or equal to 400 and less than 500.
22 | case client(Int, URLResponse, Data?)
| `- warning: associated value 'client' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
23 | case unhandled(data: Data?, response: URLResponse?, error: Error?)
24 |
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:23:10: warning: associated value 'unhandled(data:response:error:)' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
21 | /// is larger or equal to 400 and less than 500.
22 | case client(Int, URLResponse, Data?)
23 | case unhandled(data: Data?, response: URLResponse?, error: Error?)
| `- warning: associated value 'unhandled(data:response:error:)' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
24 |
25 | public init?(data: Data?, response: URLResponse?, error: Error?, decoding: Decoding) {
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:4:24: warning: static property 'urlGeneralDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
| `- warning: static property 'urlGeneralDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
| |- note: annotate 'urlGeneralDelimiters' 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
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:5:24: warning: static property 'urlSubDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
| |- warning: static property 'urlSubDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlSubDelimiters' 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
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
7 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:6:24: warning: static property 'urlDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
| |- warning: static property 'urlDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlDelimiters' 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
7 |
8 | /// All characters allowed in URL query name or value.
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:12:16: warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| |- warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlQueryNameValueAllowed' 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
13 | }
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
[22/25] Compiling FTAPIKit APIError.swift
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:44:23: warning: static property 'unhandled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public static var unhandled: Standard = .unhandled(data: nil, response: nil, error: nil)
| |- warning: static property 'unhandled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unhandled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unhandled' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:19:10: warning: associated value 'server' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
17 | /// Status code error when the response status code
18 | /// is larger or equal to 500 and less than 600.
19 | case server(Int, URLResponse, Data?)
| `- warning: associated value 'server' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
20 | /// Status code error when the response status code
21 | /// is larger or equal to 400 and less than 500.
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
2 |
3 | #if os(Linux)
4 | import FoundationNetworking
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
5 | #endif
6 |
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:22:10: warning: associated value 'client' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
20 | /// Status code error when the response status code
21 | /// is larger or equal to 400 and less than 500.
22 | case client(Int, URLResponse, Data?)
| `- warning: associated value 'client' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
23 | case unhandled(data: Data?, response: URLResponse?, error: Error?)
24 |
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:23:10: warning: associated value 'unhandled(data:response:error:)' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
21 | /// is larger or equal to 400 and less than 500.
22 | case client(Int, URLResponse, Data?)
23 | case unhandled(data: Data?, response: URLResponse?, error: Error?)
| `- warning: associated value 'unhandled(data:response:error:)' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
24 |
25 | public init?(data: Data?, response: URLResponse?, error: Error?, decoding: Decoding) {
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:4:24: warning: static property 'urlGeneralDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
| `- warning: static property 'urlGeneralDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
| |- note: annotate 'urlGeneralDelimiters' 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
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:5:24: warning: static property 'urlSubDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
| |- warning: static property 'urlSubDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlSubDelimiters' 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
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
7 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:6:24: warning: static property 'urlDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
| |- warning: static property 'urlDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlDelimiters' 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
7 |
8 | /// All characters allowed in URL query name or value.
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:12:16: warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| |- warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlQueryNameValueAllowed' 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
13 | }
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
[23/25] Compiling FTAPIKit CharacterSet+URLQuery.swift
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:44:23: warning: static property 'unhandled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | public static var unhandled: Standard = .unhandled(data: nil, response: nil, error: nil)
| |- warning: static property 'unhandled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'unhandled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'unhandled' 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
45 | }
46 |
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:19:10: warning: associated value 'server' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
17 | /// Status code error when the response status code
18 | /// is larger or equal to 500 and less than 600.
19 | case server(Int, URLResponse, Data?)
| `- warning: associated value 'server' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
20 | /// Status code error when the response status code
21 | /// is larger or equal to 400 and less than 500.
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
2 |
3 | #if os(Linux)
4 | import FoundationNetworking
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
5 | #endif
6 |
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:22:10: warning: associated value 'client' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
20 | /// Status code error when the response status code
21 | /// is larger or equal to 400 and less than 500.
22 | case client(Int, URLResponse, Data?)
| `- warning: associated value 'client' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
23 | case unhandled(data: Data?, response: URLResponse?, error: Error?)
24 |
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:23:10: warning: associated value 'unhandled(data:response:error:)' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
21 | /// is larger or equal to 400 and less than 500.
22 | case client(Int, URLResponse, Data?)
23 | case unhandled(data: Data?, response: URLResponse?, error: Error?)
| `- warning: associated value 'unhandled(data:response:error:)' of 'Sendable'-conforming enum 'APIErrorStandard' has non-sendable type 'URLResponse'; this is an error in the Swift 6 language mode
24 |
25 | public init?(data: Data?, response: URLResponse?, error: Error?, decoding: Decoding) {
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
1 | open class URLResponse : NSObject, NSSecureCoding, NSCopying {
| `- note: class 'URLResponse' does not conform to the 'Sendable' protocol
2 | public static var supportsSecureCoding: Bool { get }
3 | required public init?(coder aDecoder: NSCoder)
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:4:24: warning: static property 'urlGeneralDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
| `- warning: static property 'urlGeneralDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
| |- note: annotate 'urlGeneralDelimiters' 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
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:5:24: warning: static property 'urlSubDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension CharacterSet {
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
| |- warning: static property 'urlSubDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlSubDelimiters' 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
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
7 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:6:24: warning: static property 'urlDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | private static let urlGeneralDelimiters: CharacterSet = [":", "/", "?", "#", "[", "]", "@"]
5 | private static let urlSubDelimiters: CharacterSet = ["!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="]
6 | private static let urlDelimiters = CharacterSet.urlGeneralDelimiters.union(.urlSubDelimiters)
| |- warning: static property 'urlDelimiters' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlDelimiters' 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
7 |
8 | /// All characters allowed in URL query name or value.
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
/host/spi-builder-workspace/Sources/FTAPIKit/CharacterSet+URLQuery.swift:12:16: warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 | /// > Note: The list of characters is derived from
11 | /// > [RFC-3986 Section 2.2](https://tools.ietf.org/html/rfc3986#section-2.2).
12 | static let urlQueryNameValueAllowed = CharacterSet.urlQueryAllowed.subtracting(.urlDelimiters)
| |- warning: static property 'urlQueryNameValueAllowed' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'urlQueryNameValueAllowed' 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
13 | }
14 |
Foundation.CharacterSet:1:15: note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
1 | public struct CharacterSet : ReferenceConvertible, Equatable, Hashable, SetAlgebra {
| `- note: struct 'CharacterSet' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSCharacterSet
3 | public init()
[24/25] Compiling FTAPIKit URLServer+Task.swift
[25/25] Compiling FTAPIKit URLServer.swift
Build complete! (15.89s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FTAPIKit",
"name" : "FTAPIKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "FTAPIKit",
"targets" : [
"FTAPIKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FTAPIKitTests",
"module_type" : "SwiftTarget",
"name" : "FTAPIKitTests",
"path" : "Tests/FTAPIKitTests",
"sources" : [
"AsyncTests.swift",
"CombineTests.swift",
"Mockups/Endpoints.swift",
"Mockups/Errors.swift",
"Mockups/Models.swift",
"Mockups/Servers.swift",
"ResponseTests.swift",
"URLQueryTests.swift"
],
"target_dependencies" : [
"FTAPIKit"
],
"type" : "test"
},
{
"c99name" : "FTAPIKit",
"module_type" : "SwiftTarget",
"name" : "FTAPIKit",
"path" : "Sources/FTAPIKit",
"product_memberships" : [
"FTAPIKit"
],
"sources" : [
"APIError+Standard.swift",
"APIError.swift",
"CharacterSet+URLQuery.swift",
"Coding.swift",
"Combine/EndpointPublisher.swift",
"Combine/EndpointSubscription.swift",
"Combine/URLServer+Combine.swift",
"Endpoint.swift",
"HTTPMethod.swift",
"MultipartBodyPart.swift",
"MultipartFormData.swift",
"OutputStream+Write.swift",
"Server.swift",
"URL+MIME.swift",
"URL+Query.swift",
"URLQuery.swift",
"URLRequestBuilder.swift",
"URLServer+Async.swift",
"URLServer+Call.swift",
"URLServer+Download.swift",
"URLServer+Task.swift",
"URLServer.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.