Build Information
Successful build of AsyncHTTP, reference main (216463
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 14:38:02 UTC.
Swift 6 data race errors: 59
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
105 | 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: annotate 'gif' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:106: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 |
:
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
106 | 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: annotate 'png' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let webp: MIMEType = "image/webp"
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:107: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 |
:
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
107 | 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: annotate 'webp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111: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 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:129: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
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
127 | }
128 |
129 | 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: annotate 'ascii' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130: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
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | 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: annotate 'utf8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:131: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
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
131 | 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: annotate 'utf16' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141: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 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | 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: annotate 'characterSet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145: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 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | 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: annotate 'boundary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146: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 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147: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 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | 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: annotate 'fileName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
/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: annotate 'http' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'ftp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'sftp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'tel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'mailto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'file' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | 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: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
[24/43] Compiling AsyncHTTP FlatMap.swift
[25/43] Compiling AsyncHTTP HTTP.swift
[26/43] Compiling AsyncHTTP Intercept.swift
[27/43] Compiling AsyncHTTP Map.swift
[28/43] 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: annotate 'basic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'bearer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'digest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'oauth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[29/43] 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: annotate 'basic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'bearer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'digest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'oauth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[30/43] 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: annotate 'basic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'bearer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'digest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'oauth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[31/43] 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: annotate 'basic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'bearer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'digest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'oauth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | }
137 |
[32/43] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable type 'Wrapped.Output' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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 type 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| `- warning: non-sendable type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
35 | }
36 | }
/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | try await loader.load(input)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | try await loader.load(input)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:93:26: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | Task.detached {
92 | try await wait(timeout.maximumDuration)
93 | task.cancel()
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:96:35: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 | }
96 | 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
97 | }
98 | }
/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87: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
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | 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
88 | try await loader.load(input)
| | `- note: closure captures non-Sendable 'input'
| `- note: closure captures non-Sendable 'self'
89 | }
90 | if let timeout = timeout(input) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:91: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
89 | }
90 | if let timeout = timeout(input) {
91 | 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
92 | try await wait(timeout.maximumDuration)
| | `- note: closure captures non-Sendable 'timeout'
| `- note: closure captures non-Sendable 'self'
93 | task.cancel()
94 | }
[33/43] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable type 'Wrapped.Output' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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 type 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| `- warning: non-sendable type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
35 | }
36 | }
/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | try await loader.load(input)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | try await loader.load(input)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:93:26: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | Task.detached {
92 | try await wait(timeout.maximumDuration)
93 | task.cancel()
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:96:35: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 | }
96 | 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
97 | }
98 | }
/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87: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
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | 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
88 | try await loader.load(input)
| | `- note: closure captures non-Sendable 'input'
| `- note: closure captures non-Sendable 'self'
89 | }
90 | if let timeout = timeout(input) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:91: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
89 | }
90 | if let timeout = timeout(input) {
91 | 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
92 | try await wait(timeout.maximumDuration)
| | `- note: closure captures non-Sendable 'timeout'
| `- note: closure captures non-Sendable 'self'
93 | task.cancel()
94 | }
[34/43] 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable type 'Wrapped.Output' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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 type 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| `- warning: non-sendable type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
35 | }
36 | }
/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | try await loader.load(input)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | try await loader.load(input)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:93:26: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | Task.detached {
92 | try await wait(timeout.maximumDuration)
93 | task.cancel()
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:96:35: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 | }
96 | 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
97 | }
98 | }
/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87: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
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | 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
88 | try await loader.load(input)
| | `- note: closure captures non-Sendable 'input'
| `- note: closure captures non-Sendable 'self'
89 | }
90 | if let timeout = timeout(input) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:91: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
89 | }
90 | if let timeout = timeout(input) {
91 | 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
92 | try await wait(timeout.maximumDuration)
| | `- note: closure captures non-Sendable 'timeout'
| `- note: closure captures non-Sendable 'self'
93 | task.cancel()
94 | }
[35/43] Compiling AsyncHTTP Timeout.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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Throttle.swift:28:21: warning: non-sendable type 'Wrapped.Output' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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 type 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
32 | break
33 | }
34 | return try await loader.load(input)
| `- warning: non-sendable type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
35 | }
36 | }
/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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | try await loader.load(input)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87:24: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | let task = Task {
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | try await loader.load(input)
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:93:26: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 | Task.detached {
92 | try await wait(timeout.maximumDuration)
93 | task.cancel()
| `- warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:96:35: warning: type 'Wrapped.Output' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 | }
96 | 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
97 | }
98 | }
/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:87: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
85 |
86 | public func load(_ input: Wrapped.Input) async throws -> Wrapped.Output {
87 | 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
88 | try await loader.load(input)
| | `- note: closure captures non-Sendable 'input'
| `- note: closure captures non-Sendable 'self'
89 | }
90 | if let timeout = timeout(input) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Timeout.swift:91: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
89 | }
90 | if let timeout = timeout(input) {
91 | 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
92 | try await wait(timeout.maximumDuration)
| | `- note: closure captures non-Sendable 'timeout'
| `- note: closure captures non-Sendable 'self'
93 | task.cancel()
94 | }
[36/43] 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 |
/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: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:93: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 |
:
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
93 | 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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81: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 |
:
79 |
80 | extension MIMEType.Application {
81 | 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: annotate 'wwwForm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141: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 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | 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: annotate 'characterSet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130: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
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | 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: annotate 'utf8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82: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 |
:
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | 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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111: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 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145: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 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | 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: annotate 'boundary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | public enum Multipart {}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146: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 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147: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 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | 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: annotate 'fileName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
[37/43] 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 |
/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: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:93: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 |
:
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
93 | 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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81: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 |
:
79 |
80 | extension MIMEType.Application {
81 | 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: annotate 'wwwForm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141: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 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | 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: annotate 'characterSet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130: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
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | 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: annotate 'utf8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82: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 |
:
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | 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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111: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 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145: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 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | 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: annotate 'boundary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | public enum Multipart {}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146: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 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147: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 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | 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: annotate 'fileName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
[38/43] 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 |
/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: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:93: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 |
:
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
93 | 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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81: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 |
:
79 |
80 | extension MIMEType.Application {
81 | 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: annotate 'wwwForm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141: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 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | 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: annotate 'characterSet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130: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
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | 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: annotate 'utf8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82: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 |
:
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | 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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111: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 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145: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 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | 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: annotate 'boundary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | public enum Multipart {}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146: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 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147: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 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | 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: annotate 'fileName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
[39/43] 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 |
/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: annotate 'https' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:93: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 |
:
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
93 | 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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81: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 |
:
79 |
80 | extension MIMEType.Application {
81 | 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: annotate 'wwwForm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141: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 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | 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: annotate 'characterSet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130: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
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | 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: annotate 'utf8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82: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 |
:
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | 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: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111: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 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145: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 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | 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: annotate 'boundary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/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: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | public enum Multipart {}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146: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 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | 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: annotate 'name' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147: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 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | 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: annotate 'fileName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
[40/43] 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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 type 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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 type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| `- warning: non-sendable type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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/43] 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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 type 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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 type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| `- warning: non-sendable type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[42/43] 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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 type 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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 type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| `- warning: non-sendable type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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
[43/43] Compiling AsyncHTTP NetworkConstrained.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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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' returned by actor-isolated instance method 'load' satisfying protocol requirement cannot cross actor boundary; 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 type 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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 'Self.Input' in parameter of the protocol requirement satisfied by actor-isolated instance method 'load' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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 type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
29 | }
30 | let task = Task {
31 | try await loader.load(input)
| `- warning: non-sendable type 'Wrapped.Output' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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>' exiting actor-isolated context in call to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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' in asynchronous access from actor-isolated context to nonisolated property 'value' cannot cross actor boundary; 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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! (30.01s)
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" : [
"Clock.swift",
"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/NetworkConstrained.swift",
"Plugins/Retry.swift",
"Plugins/ServerEnvironment.swift",
"Plugins/Throttle.swift",
"Plugins/Timeout.swift",
"Plugins/ValidateRequests.swift",
"Utils/Clock.swift",
"Utils/Combine.swift",
"Utils/Converted.swift",
"Utils/HTTPFormattible.swift",
"Utils/Sorted.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.