Build Information
Successful build of AsyncHTTP, reference 1.1.0 (56228f
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:47:48 UTC.
Swift 6 data race errors: 59
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:95:23: warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
93 |
94 | extension MIMEType.Font {
95 | public static let otf: MIMEType = "font/otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'otf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:96:23: warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
94 | extension MIMEType.Font {
95 | public static let otf: MIMEType = "font/otf"
96 | public static let ttf: MIMEType = "font/ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ttf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static let woff: MIMEType = "font/woff"
98 | public static let woff2: MIMEType = "font/woff2"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:97:23: warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
95 | public static let otf: MIMEType = "font/otf"
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let woff2: MIMEType = "font/woff2"
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:98:23: warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
98 | public static let woff2: MIMEType = "font/woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:102:23: warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
100 |
101 | extension MIMEType.Image {
102 | public static let jpg: MIMEType = "image/jpeg"
| |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:103:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
101 | extension MIMEType.Image {
102 | public static let jpg: MIMEType = "image/jpeg"
103 | public static let gif: MIMEType = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let png: MIMEType = "image/png"
105 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:104:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
102 | public static let jpg: MIMEType = "image/jpeg"
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let webp: MIMEType = "image/webp"
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:105:23: warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
105 | public static let webp: MIMEType = "image/webp"
| |- warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'webp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:123:23: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
121 | }
122 |
123 | public static let ascii: Self = "ascii"
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ascii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 | public static let utf8: Self = "utf-8"
125 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:124:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
122 |
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | public static let utf16: Self = "utf-16"
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:125:23: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
125 | public static let utf16: Self = "utf-16"
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:135:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
133 |
134 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
135 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:139:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
137 |
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boundary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:140:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | public static let fileName: Self = "filename"
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:18:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
16 |
17 | public extension URIScheme {
18 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'http' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:19:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
17 | public extension URIScheme {
18 | static let http: Self = "http"
19 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'https' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:20:16: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
18 | static let http: Self = "http"
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:21:16: warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
| |- warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:22:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:23:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mailto' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let file: Self = "file"
25 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:24:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'file' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let data: Self = "data"
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:25:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
25 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
[9/41] Compiling AsyncHTTP URIScheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:30:23: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
28 |
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:31:23: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:32:23: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notModified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:33:23: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:34:23: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:35:23: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:36:23: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:37:23: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let serviceUnavailable: Self = 503
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:38:23: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:74:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
72 | public static let image = Image.self
73 |
74 | public static let formData: Self = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let multipart: Self = "multipart/form-data"
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:75:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
73 |
74 | public static let formData: Self = "form-data"
75 | public static let multipart: Self = "multipart/form-data"
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multipart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:79:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
77 |
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wwwForm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:80:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81:23: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let zip: MIMEType = "application/zip"
83 | public static let gzip: MIMEType = "application/gzip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82:23: warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let gzip: MIMEType = "application/gzip"
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:83:23: warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
83 | public static let gzip: MIMEType = "application/gzip"
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gzip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:87:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
85 |
86 | extension MIMEType.Text {
87 | public static let html: MIMEType = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:88:23: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
86 | extension MIMEType.Text {
87 | public static let html: MIMEType = "text/html"
88 | public static let csv: MIMEType = "text/csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:89:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
87 | public static let html: MIMEType = "text/html"
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:90:23: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'javascript' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let plain: MIMEType = "text/plain"
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:91:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:95:23: warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
93 |
94 | extension MIMEType.Font {
95 | public static let otf: MIMEType = "font/otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'otf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:96:23: warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
94 | extension MIMEType.Font {
95 | public static let otf: MIMEType = "font/otf"
96 | public static let ttf: MIMEType = "font/ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ttf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 | public static let woff: MIMEType = "font/woff"
98 | public static let woff2: MIMEType = "font/woff2"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:97:23: warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
95 | public static let otf: MIMEType = "font/otf"
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let woff2: MIMEType = "font/woff2"
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:98:23: warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
98 | public static let woff2: MIMEType = "font/woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:102:23: warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
100 |
101 | extension MIMEType.Image {
102 | public static let jpg: MIMEType = "image/jpeg"
| |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:103:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
101 | extension MIMEType.Image {
102 | public static let jpg: MIMEType = "image/jpeg"
103 | public static let gif: MIMEType = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 | public static let png: MIMEType = "image/png"
105 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:104:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
102 | public static let jpg: MIMEType = "image/jpeg"
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let webp: MIMEType = "image/webp"
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:105:23: warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
105 | public static let webp: MIMEType = "image/webp"
| |- warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'webp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:123:23: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
121 | }
122 |
123 | public static let ascii: Self = "ascii"
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ascii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 | public static let utf8: Self = "utf-8"
125 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:124:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
122 |
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 | public static let utf16: Self = "utf-16"
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:125:23: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
125 | public static let utf16: Self = "utf-16"
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:135:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
133 |
134 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
135 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:139:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
137 |
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boundary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:140:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | public static let fileName: Self = "filename"
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:18:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
16 |
17 | public extension URIScheme {
18 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'http' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:19:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
17 | public extension URIScheme {
18 | static let http: Self = "http"
19 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'https' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:20:16: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
18 | static let http: Self = "http"
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:21:16: warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
| |- warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:22:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:23:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mailto' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let file: Self = "file"
25 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:24:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'file' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let data: Self = "data"
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:25:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
25 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
[10/41] Compiling AsyncHTTP Loader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:53: warning: non-sendable result type 'Self.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| `- warning: non-sendable result type 'Self.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:48: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:58: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:47:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
45 | do {
46 | let result = try await self.load(input)
47 | promise(.success(result))
| |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 | } catch {
49 | promise(.failure(error))
[11/41] Compiling AsyncHTTP Any.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:53: warning: non-sendable result type 'Self.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| `- warning: non-sendable result type 'Self.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:48: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:58: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:47:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
45 | do {
46 | let result = try await self.load(input)
47 | promise(.success(result))
| |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 | } catch {
49 | promise(.failure(error))
[12/41] Compiling AsyncHTTP Capture.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:53: warning: non-sendable result type 'Self.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| `- warning: non-sendable result type 'Self.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:48: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:58: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:47:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
45 | do {
46 | let result = try await self.load(input)
47 | promise(.success(result))
| |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 | } catch {
49 | promise(.failure(error))
[13/41] Compiling AsyncHTTP Decode.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:53: warning: non-sendable result type 'Self.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| `- warning: non-sendable result type 'Self.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:48: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:46:58: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
44 | Task { @MainActor in
45 | do {
46 | let result = try await self.load(input)
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
47 | promise(.success(result))
48 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Loader.swift:47:25: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
45 | do {
46 | let result = try await self.load(input)
47 | promise(.success(result))
| |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
48 | } catch {
49 | promise(.failure(error))
[14/41] Compiling AsyncHTTP Pipe.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:132:16: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
130 |
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:133:16: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
133 | static let bearer: Self = "Bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | static let digest: Self = "Digest"
135 | static let oauth: Self = "OAuth"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:134:16: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
132 | static let basic: Self = "Basic"
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | static let oauth: Self = "OAuth"
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:135:16: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
135 | static let oauth: Self = "OAuth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[15/41] Compiling AsyncHTTP Pullback.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:132:16: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
130 |
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:133:16: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
133 | static let bearer: Self = "Bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | static let digest: Self = "Digest"
135 | static let oauth: Self = "OAuth"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:134:16: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
132 | static let basic: Self = "Basic"
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | static let oauth: Self = "OAuth"
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:135:16: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
135 | static let oauth: Self = "OAuth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[16/41] Compiling AsyncHTTP URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:132:16: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
130 |
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:133:16: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
133 | static let bearer: Self = "Bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | static let digest: Self = "Digest"
135 | static let oauth: Self = "OAuth"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:134:16: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
132 | static let basic: Self = "Basic"
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | static let oauth: Self = "OAuth"
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:135:16: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
135 | static let oauth: Self = "OAuth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[17/41] Compiling AsyncHTTP HTTPHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:132:16: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
130 |
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'basic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:133:16: warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
133 | static let bearer: Self = "Bearer"
| |- warning: static property 'bearer' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bearer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | static let digest: Self = "Digest"
135 | static let oauth: Self = "OAuth"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:134:16: warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
132 | static let basic: Self = "Basic"
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
| |- warning: static property 'digest' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'digest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 | static let oauth: Self = "OAuth"
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:135:16: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
133 | static let bearer: Self = "Bearer"
134 | static let digest: Self = "Digest"
135 | static let oauth: Self = "OAuth"
| |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[18/41] Compiling AsyncHTTP AsyncHTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPRequestFormatter.swift:6:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension HTTPRequest: DefaultFormattible {
6 | public static var defaultFormatter = StandardHTTPRequestFormatter()
| |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPResponseFormatter.swift:6:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension HTTPResponse: DefaultFormattible {
6 | public static var defaultFormatter = StandardHTTPResponseFormatter()
| |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[19/41] Compiling AsyncHTTP Formatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPRequestFormatter.swift:6:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension HTTPRequest: DefaultFormattible {
6 | public static var defaultFormatter = StandardHTTPRequestFormatter()
| |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPResponseFormatter.swift:6:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension HTTPResponse: DefaultFormattible {
6 | public static var defaultFormatter = StandardHTTPResponseFormatter()
| |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[20/41] Compiling AsyncHTTP HTTPRequestFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPRequestFormatter.swift:6:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension HTTPRequest: DefaultFormattible {
6 | public static var defaultFormatter = StandardHTTPRequestFormatter()
| |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPResponseFormatter.swift:6:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension HTTPResponse: DefaultFormattible {
6 | public static var defaultFormatter = StandardHTTPResponseFormatter()
| |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[21/41] Compiling AsyncHTTP HTTPResponseFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPRequestFormatter.swift:6:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension HTTPRequest: DefaultFormattible {
6 | public static var defaultFormatter = StandardHTTPRequestFormatter()
| |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Formatters/HTTPResponseFormatter.swift:6:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension HTTPResponse: DefaultFormattible {
6 | public static var defaultFormatter = StandardHTTPResponseFormatter()
| |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultFormatter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | }
8 |
[22/41] Compiling AsyncHTTP Retry.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Retry.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public enum RetryStrategyOption: HTTPRequestOption {
8 | public static let defaultValue: RetryStrategyWrapper? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
11 | public struct RetryStrategyWrapper: Hashable {
| `- note: consider making struct 'RetryStrategyWrapper' conform to the 'Sendable' protocol
12 | let wrapped: RetryStrategy
13 | private var objectID: ObjectIdentifier {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/ServerEnvironment.swift:33:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerEnvironment?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ServerEnvironment: Hashable {
| `- note: consider making struct 'ServerEnvironment' conform to the 'Sendable' protocol
4 | public var host: String
5 | public var pathPrefix: String
:
31 |
32 | public enum ServerEnvironmentOption: HTTPRequestOption {
33 | public static let defaultValue: ServerEnvironment? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerEnvironment?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
29 | currentlyActiveNumberOfRequests += 1
30 | defer { currentlyActiveNumberOfRequests -= 1 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
29 | currentlyActiveNumberOfRequests += 1
30 | defer { currentlyActiveNumberOfRequests -= 1 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| `- warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:7:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
5 | @_disfavoredOverload
6 | public func throttle(maximumNumberOfRequests: UInt = UInt.max) -> some Loader<Input, Output> where Input: Hashable {
7 | Loaders.Throttle(loader: self, maximumNumberOfRequests: maximumNumberOfRequests)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:maximumNumberOfRequests:)' risks causing data races between actor-isolated and task-isolated uses
8 | }
9 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:12:10: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 |
11 | public func throttle(maximumNumberOfRequests: UInt = UInt.max) -> Loaders.Throttle<Self> where Input: Hashable {
12 | .init(loader: self, maximumNumberOfRequests: maximumNumberOfRequests)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:maximumNumberOfRequests:)' risks causing data races between actor-isolated and task-isolated uses
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:45:27: warning: sending 'newValue' risks causing data races; this is an error in the Swift 6 language mode
43 | var wrappedValue: Element {
44 | willSet {
45 | continuation?.yield(newValue)
| |- warning: sending 'newValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'newValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'input' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| |- warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.loader' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
35 | }
36 | }
[23/41] Compiling AsyncHTTP ServerEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Retry.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public enum RetryStrategyOption: HTTPRequestOption {
8 | public static let defaultValue: RetryStrategyWrapper? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
11 | public struct RetryStrategyWrapper: Hashable {
| `- note: consider making struct 'RetryStrategyWrapper' conform to the 'Sendable' protocol
12 | let wrapped: RetryStrategy
13 | private var objectID: ObjectIdentifier {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/ServerEnvironment.swift:33:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerEnvironment?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ServerEnvironment: Hashable {
| `- note: consider making struct 'ServerEnvironment' conform to the 'Sendable' protocol
4 | public var host: String
5 | public var pathPrefix: String
:
31 |
32 | public enum ServerEnvironmentOption: HTTPRequestOption {
33 | public static let defaultValue: ServerEnvironment? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerEnvironment?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
29 | currentlyActiveNumberOfRequests += 1
30 | defer { currentlyActiveNumberOfRequests -= 1 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
29 | currentlyActiveNumberOfRequests += 1
30 | defer { currentlyActiveNumberOfRequests -= 1 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| `- warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:7:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
5 | @_disfavoredOverload
6 | public func throttle(maximumNumberOfRequests: UInt = UInt.max) -> some Loader<Input, Output> where Input: Hashable {
7 | Loaders.Throttle(loader: self, maximumNumberOfRequests: maximumNumberOfRequests)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:maximumNumberOfRequests:)' risks causing data races between actor-isolated and task-isolated uses
8 | }
9 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:12:10: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 |
11 | public func throttle(maximumNumberOfRequests: UInt = UInt.max) -> Loaders.Throttle<Self> where Input: Hashable {
12 | .init(loader: self, maximumNumberOfRequests: maximumNumberOfRequests)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:maximumNumberOfRequests:)' risks causing data races between actor-isolated and task-isolated uses
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:45:27: warning: sending 'newValue' risks causing data races; this is an error in the Swift 6 language mode
43 | var wrappedValue: Element {
44 | willSet {
45 | continuation?.yield(newValue)
| |- warning: sending 'newValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'newValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'input' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| |- warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.loader' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
35 | }
36 | }
[24/41] Compiling AsyncHTTP Throttle.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Retry.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public enum RetryStrategyOption: HTTPRequestOption {
8 | public static let defaultValue: RetryStrategyWrapper? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
11 | public struct RetryStrategyWrapper: Hashable {
| `- note: consider making struct 'RetryStrategyWrapper' conform to the 'Sendable' protocol
12 | let wrapped: RetryStrategy
13 | private var objectID: ObjectIdentifier {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/ServerEnvironment.swift:33:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerEnvironment?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct ServerEnvironment: Hashable {
| `- note: consider making struct 'ServerEnvironment' conform to the 'Sendable' protocol
4 | public var host: String
5 | public var pathPrefix: String
:
31 |
32 | public enum ServerEnvironmentOption: HTTPRequestOption {
33 | public static let defaultValue: ServerEnvironment? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ServerEnvironment?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
29 | currentlyActiveNumberOfRequests += 1
30 | defer { currentlyActiveNumberOfRequests -= 1 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
26 | }
27 |
28 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
29 | currentlyActiveNumberOfRequests += 1
30 | defer { currentlyActiveNumberOfRequests -= 1 }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| `- warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:7:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
5 | @_disfavoredOverload
6 | public func throttle(maximumNumberOfRequests: UInt = UInt.max) -> some Loader<Input, Output> where Input: Hashable {
7 | Loaders.Throttle(loader: self, maximumNumberOfRequests: maximumNumberOfRequests)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:maximumNumberOfRequests:)' risks causing data races between actor-isolated and task-isolated uses
8 | }
9 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:12:10: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 |
11 | public func throttle(maximumNumberOfRequests: UInt = UInt.max) -> Loaders.Throttle<Self> where Input: Hashable {
12 | .init(loader: self, maximumNumberOfRequests: maximumNumberOfRequests)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:maximumNumberOfRequests:)' risks causing data races between actor-isolated and task-isolated uses
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:45:27: warning: sending 'newValue' risks causing data races; this is an error in the Swift 6 language mode
43 | var wrappedValue: Element {
44 | willSet {
45 | continuation?.yield(newValue)
| |- warning: sending 'newValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'newValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'input' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:34:37: warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| |- warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.loader' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
35 | }
36 | }
[25/41] Compiling AsyncHTTP Converted.swift
[26/41] Compiling AsyncHTTP HTTPFormattible.swift
[27/41] Compiling AsyncHTTP Sorted.swift
[28/41] Compiling AsyncHTTP Timeout.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:31:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Timeout?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Timeout: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, Equatable, Hashable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
4 | public var maximumDuration: TimeInterval
5 |
:
29 |
30 | public enum TimeoutOption: HTTPRequestOption {
31 | public static let defaultValue: Timeout? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Timeout?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:88:26: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | Task.detached {
87 | try await wait(timeout.maximumDuration)
88 | task.cancel()
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:91:35: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | }
90 | }
91 | return try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | }
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
| | `- note: closure captures non-Sendable 'input'
| `- note: closure captures non-Sendable 'self'
84 | }
85 | if let timeout = timeout(input) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:86:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
84 | }
85 | if let timeout = timeout(input) {
86 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 | try await wait(timeout.maximumDuration)
| | `- note: closure captures non-Sendable 'timeout'
| `- note: closure captures non-Sendable 'self'
88 | task.cancel()
| `- note: closure captures non-Sendable 'task'
89 | }
90 | }
[29/41] Compiling AsyncHTTP ValidateRequests.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:31:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Timeout?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Timeout: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, Equatable, Hashable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
4 | public var maximumDuration: TimeInterval
5 |
:
29 |
30 | public enum TimeoutOption: HTTPRequestOption {
31 | public static let defaultValue: Timeout? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Timeout?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:88:26: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | Task.detached {
87 | try await wait(timeout.maximumDuration)
88 | task.cancel()
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:91:35: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | }
90 | }
91 | return try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | }
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
| | `- note: closure captures non-Sendable 'input'
| `- note: closure captures non-Sendable 'self'
84 | }
85 | if let timeout = timeout(input) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:86:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
84 | }
85 | if let timeout = timeout(input) {
86 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 | try await wait(timeout.maximumDuration)
| | `- note: closure captures non-Sendable 'timeout'
| `- note: closure captures non-Sendable 'self'
88 | task.cancel()
| `- note: closure captures non-Sendable 'task'
89 | }
90 | }
[30/41] Compiling AsyncHTTP Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:31:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Timeout?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct Timeout: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral, Equatable, Hashable {
| `- note: consider making struct 'Timeout' conform to the 'Sendable' protocol
4 | public var maximumDuration: TimeInterval
5 |
:
29 |
30 | public enum TimeoutOption: HTTPRequestOption {
31 | public static let defaultValue: Timeout? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Timeout?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:88:26: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 | Task.detached {
87 | try await wait(timeout.maximumDuration)
88 | task.cancel()
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:91:35: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
89 | }
90 | }
91 | return try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 | }
93 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:82:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
80 |
81 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
82 | let task = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 | try await loader.load(input)
| | `- note: closure captures non-Sendable 'input'
| `- note: closure captures non-Sendable 'self'
84 | }
85 | if let timeout = timeout(input) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:86:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
84 | }
85 | if let timeout = timeout(input) {
86 | Task.detached {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
87 | try await wait(timeout.maximumDuration)
| | `- note: closure captures non-Sendable 'timeout'
| `- note: closure captures non-Sendable 'self'
88 | task.cancel()
| `- note: closure captures non-Sendable 'task'
89 | }
90 | }
[31/41] Compiling AsyncHTTP FlatMap.swift
[32/41] Compiling AsyncHTTP HTTP.swift
[33/41] Compiling AsyncHTTP Intercept.swift
[34/41] Compiling AsyncHTTP Map.swift
[35/41] Compiling AsyncHTTP HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:1: warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
188 |
[36/41] Compiling AsyncHTTP HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:1: warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
188 |
[37/41] Compiling AsyncHTTP HTTPRequestBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:1: warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
188 |
[38/41] Compiling AsyncHTTP HTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:1: warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
188 |
[39/41] Compiling AsyncHTTP Deduplication.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:20:21: warning: type 'Loaders.Deduplicate<Wrapped>.Output' (aka 'Wrapped.Output') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | private let loader: Wrapped
19 |
20 | private var pendingRequests: [Input: Task<Output, Error>] = [:]
| `- warning: type 'Loaders.Deduplicate<Wrapped>.Output' (aka 'Wrapped.Output') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | init(loader: Wrapped) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:26:21: warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
27 | if let task = pendingRequests[input] {
28 | return try await task.value
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:26:21: warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | if let task = pendingRequests[input] {
28 | return try await task.value
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:39: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:30:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | return try await task.value
29 | }
30 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | try await loader.load(input)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:30:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | return try await task.value
29 | }
30 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | try await loader.load(input)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:43: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:34: warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:39: warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:31:34: warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| `- warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:38: warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:43: warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/IdentifyRequests.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HTTPRequestIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct HTTPRequestIdentifier: Equatable, Hashable {
| `- note: consider making struct 'HTTPRequestIdentifier' conform to the 'Sendable' protocol
4 | let id: String
5 | }
6 |
7 | public enum HTTPRequestIdentifierOption: HTTPRequestOption {
8 | public static let defaultValue: HTTPRequestIdentifier? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HTTPRequestIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:7:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
5 | @_disfavoredOverload
6 | public func deduplicate() -> some Loader<Input, Output> where Input: Hashable {
7 | Loaders.Deduplicate(loader: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:)' risks causing data races between actor-isolated and task-isolated uses
8 | }
9 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:12:10: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 |
11 | public func deduplicate() -> Loaders.Deduplicate<Self> where Input: Hashable {
12 | .init(loader: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:)' risks causing data races between actor-isolated and task-isolated uses
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:31:34: warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| |- warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.loader' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
32 | }
33 | pendingRequests[input] = task
[40/41] Compiling AsyncHTTP Delay.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:20:21: warning: type 'Loaders.Deduplicate<Wrapped>.Output' (aka 'Wrapped.Output') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | private let loader: Wrapped
19 |
20 | private var pendingRequests: [Input: Task<Output, Error>] = [:]
| `- warning: type 'Loaders.Deduplicate<Wrapped>.Output' (aka 'Wrapped.Output') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | init(loader: Wrapped) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:26:21: warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
27 | if let task = pendingRequests[input] {
28 | return try await task.value
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:26:21: warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | if let task = pendingRequests[input] {
28 | return try await task.value
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:39: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:30:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | return try await task.value
29 | }
30 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | try await loader.load(input)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:30:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | return try await task.value
29 | }
30 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | try await loader.load(input)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:43: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:34: warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:39: warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:31:34: warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| `- warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:38: warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:43: warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/IdentifyRequests.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HTTPRequestIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct HTTPRequestIdentifier: Equatable, Hashable {
| `- note: consider making struct 'HTTPRequestIdentifier' conform to the 'Sendable' protocol
4 | let id: String
5 | }
6 |
7 | public enum HTTPRequestIdentifierOption: HTTPRequestOption {
8 | public static let defaultValue: HTTPRequestIdentifier? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HTTPRequestIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:7:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
5 | @_disfavoredOverload
6 | public func deduplicate() -> some Loader<Input, Output> where Input: Hashable {
7 | Loaders.Deduplicate(loader: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:)' risks causing data races between actor-isolated and task-isolated uses
8 | }
9 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:12:10: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 |
11 | public func deduplicate() -> Loaders.Deduplicate<Self> where Input: Hashable {
12 | .init(loader: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:)' risks causing data races between actor-isolated and task-isolated uses
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:31:34: warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| |- warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.loader' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
32 | }
33 | pendingRequests[input] = task
[41/41] Compiling AsyncHTTP IdentifyRequests.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:20:21: warning: type 'Loaders.Deduplicate<Wrapped>.Output' (aka 'Wrapped.Output') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | private let loader: Wrapped
19 |
20 | private var pendingRequests: [Input: Task<Output, Error>] = [:]
| `- warning: type 'Loaders.Deduplicate<Wrapped>.Output' (aka 'Wrapped.Output') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | init(loader: Wrapped) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:26:21: warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable type 'Wrapped.Output' cannot be returned from actor-isolated implementation to caller of protocol requirement 'load'; this is an error in the Swift 6 language mode
27 | if let task = pendingRequests[input] {
28 | return try await task.value
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:26:21: warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
24 | }
25 |
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
| `- warning: non-sendable parameter type 'Self.Input' cannot be sent from caller of protocol requirement 'load' into actor-isolated implementation; this is an error in the Swift 6 language mode
27 | if let task = pendingRequests[input] {
28 | return try await task.value
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:39: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:30:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | return try await task.value
29 | }
30 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | try await loader.load(input)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:30:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | return try await task.value
29 | }
30 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | try await loader.load(input)
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:43: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:34: warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:28:39: warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
26 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
27 | if let task = pendingRequests[input] {
28 | return try await task.value
| `- warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:31:34: warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| `- warning: non-sendable result type 'Wrapped.Output' cannot be sent from nonisolated context in call to instance method 'load'; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:38: warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: non-sendable type 'Task<Wrapped.Output, any Error>' cannot exit actor-isolated context in call to nonisolated property 'value'; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:34:43: warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
32 | }
33 | pendingRequests[input] = task
34 | let response = try await task.value
| `- warning: non-sendable type 'Wrapped.Output' of nonisolated property 'value' cannot be sent to actor-isolated context; this is an error in the Swift 6 language mode
35 | pendingRequests[input] = nil
36 | return response
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/IdentifyRequests.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HTTPRequestIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct HTTPRequestIdentifier: Equatable, Hashable {
| `- note: consider making struct 'HTTPRequestIdentifier' conform to the 'Sendable' protocol
4 | let id: String
5 | }
6 |
7 | public enum HTTPRequestIdentifierOption: HTTPRequestOption {
8 | public static let defaultValue: HTTPRequestIdentifier? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'HTTPRequestIdentifier?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:7:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
5 | @_disfavoredOverload
6 | public func deduplicate() -> some Loader<Input, Output> where Input: Hashable {
7 | Loaders.Deduplicate(loader: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:)' risks causing data races between actor-isolated and task-isolated uses
8 | }
9 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:12:10: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
10 |
11 | public func deduplicate() -> Loaders.Deduplicate<Self> where Input: Hashable {
12 | .init(loader: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to actor-isolated initializer 'init(loader:)' risks causing data races between actor-isolated and task-isolated uses
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Deduplication.swift:31:34: warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| |- warning: sending 'self.loader' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.loader' to nonisolated instance method 'load' risks causing data races between nonisolated and 'self'-isolated uses
32 | }
33 | pendingRequests[input] = task
Build complete! (12.84s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "AsyncHTTP",
"name" : "AsyncHTTP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "AsyncHTTP",
"targets" : [
"AsyncHTTP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncHTTPTests",
"module_type" : "SwiftTarget",
"name" : "AsyncHTTPTests",
"path" : "Tests/AsyncHTTPTests",
"sources" : [
"Combine.swift",
"ConvertedTests.swift",
"HTTPFormatterTests.swift",
"HTTPNetworkExecutorTests.swift",
"HTTPRequestTests.swift",
"StaticLoader.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AsyncHTTP"
],
"type" : "test"
},
{
"c99name" : "AsyncHTTP",
"module_type" : "SwiftTarget",
"name" : "AsyncHTTP",
"path" : "Sources/AsyncHTTP",
"product_memberships" : [
"AsyncHTTP"
],
"sources" : [
"AsyncHTTP.swift",
"Formatters/Formatter.swift",
"Formatters/HTTPRequestFormatter.swift",
"Formatters/HTTPResponseFormatter.swift",
"Loader.swift",
"Loaders/Any.swift",
"Loaders/Capture.swift",
"Loaders/Decode.swift",
"Loaders/FlatMap.swift",
"Loaders/HTTP.swift",
"Loaders/Intercept.swift",
"Loaders/Map.swift",
"Loaders/Pipe.swift",
"Loaders/Pullback.swift",
"Loaders/URLSession.swift",
"Model/HTTPHeader.swift",
"Model/HTTPMethod.swift",
"Model/HTTPRequest.swift",
"Model/HTTPRequestBody.swift",
"Model/HTTPResponse.swift",
"Model/HTTPStatus.swift",
"Model/HTTPVersion.swift",
"Model/MIMEType.swift",
"Model/URIScheme.swift",
"Plugins/Deduplication.swift",
"Plugins/Delay.swift",
"Plugins/IdentifyRequests.swift",
"Plugins/Retry.swift",
"Plugins/ServerEnvironment.swift",
"Plugins/Throttle.swift",
"Plugins/Timeout.swift",
"Plugins/ValidateRequests.swift",
"Utils/Combine.swift",
"Utils/Converted.swift",
"Utils/HTTPFormattible.swift",
"Utils/Sorted.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.