Build Information
Successful build of AsyncHTTP, reference 1.1.0 (56228f
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 14:38:51 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: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let serviceUnavailable: Self = 503
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:38:23: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serviceUnavailable' 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
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:74:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
72 | public static let image = Image.self
73 |
74 | public static let formData: Self = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | public static let multipart: Self = "multipart/form-data"
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:75:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
73 |
74 | public static let formData: Self = "form-data"
75 | public static let multipart: Self = "multipart/form-data"
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipart' 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
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:79:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
77 |
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:80:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81:23: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pdf' 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 zip: MIMEType = "application/zip"
83 | public static let gzip: MIMEType = "application/gzip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82:23: warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zip' 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 gzip: MIMEType = "application/gzip"
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:83:23: warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
83 | public static let gzip: MIMEType = "application/gzip"
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gzip' 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
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:87:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
85 |
86 | extension MIMEType.Text {
87 | public static let html: MIMEType = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'html' 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
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:88:23: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
86 | extension MIMEType.Text {
87 | public static let html: MIMEType = "text/html"
88 | public static let csv: MIMEType = "text/csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'csv' 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
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:89:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
87 | public static let html: MIMEType = "text/html"
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xml' 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
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:90:23: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javascript' 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
91 | public static let plain: MIMEType = "text/plain"
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:91:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:95:23: warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
93 |
94 | extension MIMEType.Font {
95 | public static let otf: MIMEType = "font/otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otf' 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
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:96:23: warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
94 | extension MIMEType.Font {
95 | public static let otf: MIMEType = "font/otf"
96 | public static let ttf: MIMEType = "font/ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ttf' 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
97 | public static let woff: MIMEType = "font/woff"
98 | public static let woff2: MIMEType = "font/woff2"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:97:23: warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
95 | public static let otf: MIMEType = "font/otf"
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff' 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
98 | public static let woff2: MIMEType = "font/woff2"
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:98:23: warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
98 | public static let woff2: MIMEType = "font/woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff2' 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
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:102:23: warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
100 |
101 | extension MIMEType.Image {
102 | public static let jpg: MIMEType = "image/jpeg"
| |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jpg' 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
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:103:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
101 | extension MIMEType.Image {
102 | public static let jpg: MIMEType = "image/jpeg"
103 | public static let gif: MIMEType = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
104 | public static let png: MIMEType = "image/png"
105 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:104:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
102 | public static let jpg: MIMEType = "image/jpeg"
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
105 | public static let webp: MIMEType = "image/webp"
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:105:23: warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
105 | public static let webp: MIMEType = "image/webp"
| |- warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:123:23: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
121 | }
122 |
123 | public static let ascii: Self = "ascii"
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
124 | public static let utf8: Self = "utf-8"
125 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:124:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
122 |
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
125 | public static let utf16: Self = "utf-16"
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:125:23: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
125 | public static let utf16: Self = "utf-16"
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:135:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
133 |
134 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
135 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:139:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
137 |
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:140:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
141 | public static let fileName: Self = "filename"
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:18:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
16 |
17 | public extension URIScheme {
18 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 |
[26/41] Compiling AsyncHTTP URIScheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:30:23: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
28 |
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ok' 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
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:31:23: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'created' 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 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:32:23: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notModified' 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
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:33:23: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'badRequest' 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 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:34:23: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unauthorized' 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
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:35:23: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forbidden' 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
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:36:23: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:37:23: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internalServerError' 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
38 | public static let serviceUnavailable: Self = 503
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:38:23: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serviceUnavailable' 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
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:74:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
72 | public static let image = Image.self
73 |
74 | public static let formData: Self = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | public static let multipart: Self = "multipart/form-data"
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:75:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
73 |
74 | public static let formData: Self = "form-data"
75 | public static let multipart: Self = "multipart/form-data"
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipart' 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
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:79:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
77 |
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:80:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81:23: warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pdf' 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 zip: MIMEType = "application/zip"
83 | public static let gzip: MIMEType = "application/gzip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82:23: warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zip' 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 gzip: MIMEType = "application/gzip"
84 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:83:23: warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
83 | public static let gzip: MIMEType = "application/gzip"
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gzip' 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
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:87:23: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
85 |
86 | extension MIMEType.Text {
87 | public static let html: MIMEType = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'html' 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
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:88:23: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
86 | extension MIMEType.Text {
87 | public static let html: MIMEType = "text/html"
88 | public static let csv: MIMEType = "text/csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'csv' 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
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:89:23: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
87 | public static let html: MIMEType = "text/html"
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xml' 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
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:90:23: warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
88 | public static let csv: MIMEType = "text/csv"
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javascript' 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
91 | public static let plain: MIMEType = "text/plain"
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:91:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:95:23: warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
93 |
94 | extension MIMEType.Font {
95 | public static let otf: MIMEType = "font/otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'otf' 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
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:96:23: warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
94 | extension MIMEType.Font {
95 | public static let otf: MIMEType = "font/otf"
96 | public static let ttf: MIMEType = "font/ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ttf' 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
97 | public static let woff: MIMEType = "font/woff"
98 | public static let woff2: MIMEType = "font/woff2"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:97:23: warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
95 | public static let otf: MIMEType = "font/otf"
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff' 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
98 | public static let woff2: MIMEType = "font/woff2"
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:98:23: warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
96 | public static let ttf: MIMEType = "font/ttf"
97 | public static let woff: MIMEType = "font/woff"
98 | public static let woff2: MIMEType = "font/woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'woff2' 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
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:102:23: warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
100 |
101 | extension MIMEType.Image {
102 | public static let jpg: MIMEType = "image/jpeg"
| |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jpg' 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
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:103:23: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
101 | extension MIMEType.Image {
102 | public static let jpg: MIMEType = "image/jpeg"
103 | public static let gif: MIMEType = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
104 | public static let png: MIMEType = "image/png"
105 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:104:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
102 | public static let jpg: MIMEType = "image/jpeg"
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
105 | public static let webp: MIMEType = "image/webp"
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:105:23: warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
103 | public static let gif: MIMEType = "image/gif"
104 | public static let png: MIMEType = "image/png"
105 | public static let webp: MIMEType = "image/webp"
| |- warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
106 | }
107 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:123:23: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
121 | }
122 |
123 | public static let ascii: Self = "ascii"
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
124 | public static let utf8: Self = "utf-8"
125 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:124:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
122 |
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
125 | public static let utf16: Self = "utf-16"
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:125:23: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
125 | public static let utf16: Self = "utf-16"
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:135:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
133 |
134 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
135 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:139:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
137 |
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:140:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
141 | public static let fileName: Self = "filename"
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:18:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
16 |
17 | public extension URIScheme {
18 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 |
[27/41] Compiling AsyncHTTP FlatMap.swift
[28/41] Compiling AsyncHTTP HTTP.swift
[29/41] Compiling AsyncHTTP Intercept.swift
[30/41] Compiling AsyncHTTP Map.swift
[31/41] Compiling AsyncHTTP Retry.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Retry.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public enum RetryStrategyOption: HTTPRequestOption {
8 | public static let defaultValue: RetryStrategyWrapper? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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/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 | }
[32/41] Compiling AsyncHTTP ServerEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Retry.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public enum RetryStrategyOption: HTTPRequestOption {
8 | public static let defaultValue: RetryStrategyWrapper? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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/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 | }
[33/41] Compiling AsyncHTTP Throttle.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Plugins/Retry.swift:8:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | public enum RetryStrategyOption: HTTPRequestOption {
8 | public static let defaultValue: RetryStrategyWrapper? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RetryStrategyWrapper?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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/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 | }
[34/41] Compiling AsyncHTTP HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:1: warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
188 |
/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:91:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:79:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
77 |
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:135:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
133 |
134 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
135 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:124:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
122 |
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
125 | public static let utf16: Self = "utf-16"
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:80:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:75:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
73 |
74 | public static let formData: Self = "form-data"
75 | public static let multipart: Self = "multipart/form-data"
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipart' 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
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:139:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
137 |
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift: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 | public static let multipart: Self = "multipart/form-data"
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:140:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
141 | public static let fileName: Self = "filename"
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
142 | }
143 |
[35/41] Compiling AsyncHTTP HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:1: warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
188 |
/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:91:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:79:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
77 |
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:135:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
133 |
134 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
135 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:124:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
122 |
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
125 | public static let utf16: Self = "utf-16"
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:80:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:75:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
73 |
74 | public static let formData: Self = "form-data"
75 | public static let multipart: Self = "multipart/form-data"
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipart' 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
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:139:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
137 |
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift: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 | public static let multipart: Self = "multipart/form-data"
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:140:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
141 | public static let fileName: Self = "filename"
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
142 | }
143 |
[36/41] Compiling AsyncHTTP HTTPRequestBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:1: warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
188 |
/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:91:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:79:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
77 |
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:135:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
133 |
134 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
135 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:124:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
122 |
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
125 | public static let utf16: Self = "utf-16"
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:80:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:75:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
73 |
74 | public static let formData: Self = "form-data"
75 | public static let multipart: Self = "multipart/form-data"
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipart' 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
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:139:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
137 |
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift: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 | public static let multipart: Self = "multipart/form-data"
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:140:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
141 | public static let fileName: Self = "filename"
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
142 | }
143 |
[37/41] Compiling AsyncHTTP HTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPRequest.swift:187:1: warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
185 |
186 | extension URLComponents: @unchecked Sendable {}
187 | extension AnyHashable: @unchecked Sendable {}
| |- warning: extension declares a conformance of imported type 'AnyHashable' to imported protocol 'Sendable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
188 |
/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:91:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
89 | public static let xml: MIMEType = "text/xml"
90 | public static let javascript: MIMEType = "text/javascript"
91 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:79:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
77 |
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
80 | public static let json: MIMEType = "application/json"
81 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:135:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
133 |
134 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
135 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
136 | }
137 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:124:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | extension MIMEType {
109 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
110 | public let identifier: String
111 |
:
122 |
123 | public static let ascii: Self = "ascii"
124 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
125 | public static let utf16: Self = "utf-16"
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:80:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
78 | extension MIMEType.Application {
79 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
80 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
81 | public static let pdf: MIMEType = "application/pdf"
82 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:75:23: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
73 |
74 | public static let formData: Self = "form-data"
75 | public static let multipart: Self = "multipart/form-data"
| |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multipart' 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
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:139:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
137 |
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift: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 | public static let multipart: Self = "multipart/form-data"
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:140:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
138 | extension MIMEType.Parameter.Key where Value == String {
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
141 | public static let fileName: Self = "filename"
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 | public static let boundary: Self = "boundary"
140 | public static let name: Self = "name"
141 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
142 | }
143 |
[38/41] Compiling AsyncHTTP Pipe.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:132:16: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
130 |
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 |
[39/41] Compiling AsyncHTTP Pullback.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:132:16: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
130 |
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 |
[40/41] Compiling AsyncHTTP URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:132:16: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
130 |
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 |
[41/41] Compiling AsyncHTTP HTTPHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPHeader.swift:132:16: warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | public struct AuthorizationHeader: HTTPFormattible {
95 | public struct `Type`: RawRepresentable, ExpressibleByStringLiteral {
| `- note: consider making struct 'Type' conform to the 'Sendable' protocol
96 | public let rawValue: String
97 |
:
130 |
131 | public extension AuthorizationHeader.`Type` {
132 | static let basic: Self = "Basic"
| |- warning: static property 'basic' is not concurrency-safe because non-'Sendable' type 'AuthorizationHeader.`Type`' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 |
Build complete! (27.95s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "AsyncHTTP",
"name" : "AsyncHTTP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "AsyncHTTP",
"targets" : [
"AsyncHTTP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncHTTPTests",
"module_type" : "SwiftTarget",
"name" : "AsyncHTTPTests",
"path" : "Tests/AsyncHTTPTests",
"sources" : [
"Combine.swift",
"ConvertedTests.swift",
"HTTPFormatterTests.swift",
"HTTPNetworkExecutorTests.swift",
"HTTPRequestTests.swift",
"StaticLoader.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AsyncHTTP"
],
"type" : "test"
},
{
"c99name" : "AsyncHTTP",
"module_type" : "SwiftTarget",
"name" : "AsyncHTTP",
"path" : "Sources/AsyncHTTP",
"product_memberships" : [
"AsyncHTTP"
],
"sources" : [
"AsyncHTTP.swift",
"Formatters/Formatter.swift",
"Formatters/HTTPRequestFormatter.swift",
"Formatters/HTTPResponseFormatter.swift",
"Loader.swift",
"Loaders/Any.swift",
"Loaders/Capture.swift",
"Loaders/Decode.swift",
"Loaders/FlatMap.swift",
"Loaders/HTTP.swift",
"Loaders/Intercept.swift",
"Loaders/Map.swift",
"Loaders/Pipe.swift",
"Loaders/Pullback.swift",
"Loaders/URLSession.swift",
"Model/HTTPHeader.swift",
"Model/HTTPMethod.swift",
"Model/HTTPRequest.swift",
"Model/HTTPRequestBody.swift",
"Model/HTTPResponse.swift",
"Model/HTTPStatus.swift",
"Model/HTTPVersion.swift",
"Model/MIMEType.swift",
"Model/URIScheme.swift",
"Plugins/Deduplication.swift",
"Plugins/Delay.swift",
"Plugins/IdentifyRequests.swift",
"Plugins/Retry.swift",
"Plugins/ServerEnvironment.swift",
"Plugins/Throttle.swift",
"Plugins/Timeout.swift",
"Plugins/ValidateRequests.swift",
"Utils/Combine.swift",
"Utils/Converted.swift",
"Utils/HTTPFormattible.swift",
"Utils/Sorted.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.