Build Information
Successful build of AsyncHTTP, reference main (216463
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:47:34 UTC.
Swift 6 data race errors: 59
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:83: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 |
:
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let zip: MIMEType = "application/zip"
85 | public static let gzip: MIMEType = "application/gzip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:84: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 |
:
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let gzip: MIMEType = "application/gzip"
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:85: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 |
:
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
85 | public static let gzip: MIMEType = "application/gzip"
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gzip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:89: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 |
:
87 |
88 | extension MIMEType.Text {
89 | public static let html: MIMEType = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:90: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 |
:
88 | extension MIMEType.Text {
89 | public static let html: MIMEType = "text/html"
90 | public static let csv: MIMEType = "text/csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:91: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 |
:
89 | public static let html: MIMEType = "text/html"
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let javascript: MIMEType = "text/javascript"
93 | public static let plain: MIMEType = "text/plain"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:92: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 |
:
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'javascript' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let plain: MIMEType = "text/plain"
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:93:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
93 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:97: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 |
:
95 |
96 | extension MIMEType.Font {
97 | public static let otf: MIMEType = "font/otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'otf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:98: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 |
:
96 | extension MIMEType.Font {
97 | public static let otf: MIMEType = "font/otf"
98 | public static let ttf: MIMEType = "font/ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ttf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let woff: MIMEType = "font/woff"
100 | public static let woff2: MIMEType = "font/woff2"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:99: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 |
:
97 | public static let otf: MIMEType = "font/otf"
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let woff2: MIMEType = "font/woff2"
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:100: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 |
:
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
100 | public static let woff2: MIMEType = "font/woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:104: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 |
:
102 |
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
| |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:105: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 |
:
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:106:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let webp: MIMEType = "image/webp"
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:107:23: warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
| |- warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'webp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:129:23: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
127 | }
128 |
129 | public static let ascii: Self = "ascii"
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ascii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:131:23: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boundary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:18:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
16 |
17 | public extension URIScheme {
18 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'http' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:19:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
17 | public extension URIScheme {
18 | static let http: Self = "http"
19 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'https' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:20:16: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
18 | static let http: Self = "http"
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:21:16: warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
| |- warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:22:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:23:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mailto' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let file: Self = "file"
25 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:24:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'file' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let data: Self = "data"
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:25:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
25 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
[41/43] Compiling AsyncHTTP HTTPVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:30:23: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
28 |
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:31:23: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:32:23: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notModified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:33:23: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:34:23: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:35:23: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:36:23: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:37:23: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let serviceUnavailable: Self = 503
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:38:23: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:74:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
72 | public static let image = Image.self
73 |
74 | public static let formData: Self = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | public enum Multipart {}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
79 |
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wwwForm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:83: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 |
:
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let zip: MIMEType = "application/zip"
85 | public static let gzip: MIMEType = "application/gzip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:84: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 |
:
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let gzip: MIMEType = "application/gzip"
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:85: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 |
:
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
85 | public static let gzip: MIMEType = "application/gzip"
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gzip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:89: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 |
:
87 |
88 | extension MIMEType.Text {
89 | public static let html: MIMEType = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:90: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 |
:
88 | extension MIMEType.Text {
89 | public static let html: MIMEType = "text/html"
90 | public static let csv: MIMEType = "text/csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:91: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 |
:
89 | public static let html: MIMEType = "text/html"
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let javascript: MIMEType = "text/javascript"
93 | public static let plain: MIMEType = "text/plain"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:92: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 |
:
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'javascript' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let plain: MIMEType = "text/plain"
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:93:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
93 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:97: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 |
:
95 |
96 | extension MIMEType.Font {
97 | public static let otf: MIMEType = "font/otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'otf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:98: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 |
:
96 | extension MIMEType.Font {
97 | public static let otf: MIMEType = "font/otf"
98 | public static let ttf: MIMEType = "font/ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ttf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let woff: MIMEType = "font/woff"
100 | public static let woff2: MIMEType = "font/woff2"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:99: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 |
:
97 | public static let otf: MIMEType = "font/otf"
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let woff2: MIMEType = "font/woff2"
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:100: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 |
:
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
100 | public static let woff2: MIMEType = "font/woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:104: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 |
:
102 |
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
| |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:105: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 |
:
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:106:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let webp: MIMEType = "image/webp"
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:107:23: warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
| |- warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'webp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:129:23: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
127 | }
128 |
129 | public static let ascii: Self = "ascii"
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ascii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:131:23: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boundary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:18:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
16 |
17 | public extension URIScheme {
18 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'http' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:19:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
17 | public extension URIScheme {
18 | static let http: Self = "http"
19 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'https' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:20:16: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
18 | static let http: Self = "http"
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:21:16: warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
| |- warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:22:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:23:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mailto' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let file: Self = "file"
25 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:24:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'file' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let data: Self = "data"
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:25:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
25 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
[42/43] Compiling AsyncHTTP MIMEType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:30:23: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
28 |
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:31:23: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:32:23: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notModified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:33:23: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:34:23: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:35:23: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:36:23: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:37:23: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let serviceUnavailable: Self = 503
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:38:23: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:74:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
72 | public static let image = Image.self
73 |
74 | public static let formData: Self = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | public enum Multipart {}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
79 |
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wwwForm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:83: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 |
:
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let zip: MIMEType = "application/zip"
85 | public static let gzip: MIMEType = "application/gzip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:84: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 |
:
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let gzip: MIMEType = "application/gzip"
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:85: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 |
:
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
85 | public static let gzip: MIMEType = "application/gzip"
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gzip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:89: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 |
:
87 |
88 | extension MIMEType.Text {
89 | public static let html: MIMEType = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:90: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 |
:
88 | extension MIMEType.Text {
89 | public static let html: MIMEType = "text/html"
90 | public static let csv: MIMEType = "text/csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:91: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 |
:
89 | public static let html: MIMEType = "text/html"
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let javascript: MIMEType = "text/javascript"
93 | public static let plain: MIMEType = "text/plain"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:92: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 |
:
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'javascript' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let plain: MIMEType = "text/plain"
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:93:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
93 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:97: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 |
:
95 |
96 | extension MIMEType.Font {
97 | public static let otf: MIMEType = "font/otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'otf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:98: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 |
:
96 | extension MIMEType.Font {
97 | public static let otf: MIMEType = "font/otf"
98 | public static let ttf: MIMEType = "font/ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ttf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let woff: MIMEType = "font/woff"
100 | public static let woff2: MIMEType = "font/woff2"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:99: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 |
:
97 | public static let otf: MIMEType = "font/otf"
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let woff2: MIMEType = "font/woff2"
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:100: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 |
:
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
100 | public static let woff2: MIMEType = "font/woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:104: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 |
:
102 |
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
| |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:105: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 |
:
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:106:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let webp: MIMEType = "image/webp"
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:107:23: warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
| |- warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'webp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:129:23: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
127 | }
128 |
129 | public static let ascii: Self = "ascii"
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ascii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:131:23: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boundary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:18:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
16 |
17 | public extension URIScheme {
18 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'http' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:19:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
17 | public extension URIScheme {
18 | static let http: Self = "http"
19 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'https' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:20:16: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
18 | static let http: Self = "http"
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:21:16: warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
| |- warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:22:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:23:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mailto' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let file: Self = "file"
25 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:24:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'file' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let data: Self = "data"
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:25:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
25 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
[43/43] Compiling AsyncHTTP URIScheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:30:23: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
28 |
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
| |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:31:23: warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
29 | extension HTTPStatus {
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
| |- warning: static property 'created' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'created' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:32:23: warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
30 | public static let ok: Self = 200
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
| |- warning: static property 'notModified' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notModified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:33:23: warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
31 | public static let created: Self = 201
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
| |- warning: static property 'badRequest' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'badRequest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:34:23: warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
32 | public static let notModified: Self = 304
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
| |- warning: static property 'unauthorized' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unauthorized' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:35:23: warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
33 | public static let badRequest: Self = 400
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
| |- warning: static property 'forbidden' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'forbidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:36:23: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
34 | public static let unauthorized: Self = 401
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
| |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:37:23: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
35 | public static let forbidden: Self = 403
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
| |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let serviceUnavailable: Self = 503
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/HTTPStatus.swift:38:23: warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
4 | #endif
5 |
6 | public struct HTTPStatus: Equatable, Hashable, Codable {
| `- note: consider making struct 'HTTPStatus' conform to the 'Sendable' protocol
7 | public let code: Int
8 |
:
36 | public static let notFound: Self = 404
37 | public static let internalServerError: Self = 500
38 | public static let serviceUnavailable: Self = 503
| |- warning: static property 'serviceUnavailable' is not concurrency-safe because non-'Sendable' type 'HTTPStatus' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serviceUnavailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:74:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
72 | public static let image = Image.self
73 |
74 | public static let formData: Self = "form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | public enum Multipart {}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:81:23: warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
79 |
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
| |- warning: static property 'wwwForm' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wwwForm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:82:23: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
80 | extension MIMEType.Application {
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | public static let json: MIMEType = "application/json"
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:83: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 |
:
81 | public static let wwwForm: MIMEType = "application/x-www-form-urlencoded"
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
| |- warning: static property 'pdf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pdf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let zip: MIMEType = "application/zip"
85 | public static let gzip: MIMEType = "application/gzip"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:84: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 |
:
82 | public static let json: MIMEType = "application/json"
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
| |- warning: static property 'zip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let gzip: MIMEType = "application/gzip"
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:85: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 |
:
83 | public static let pdf: MIMEType = "application/pdf"
84 | public static let zip: MIMEType = "application/zip"
85 | public static let gzip: MIMEType = "application/gzip"
| |- warning: static property 'gzip' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gzip' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 | }
87 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:89: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 |
:
87 |
88 | extension MIMEType.Text {
89 | public static let html: MIMEType = "text/html"
| |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:90: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 |
:
88 | extension MIMEType.Text {
89 | public static let html: MIMEType = "text/html"
90 | public static let csv: MIMEType = "text/csv"
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:91: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 |
:
89 | public static let html: MIMEType = "text/html"
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
| |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let javascript: MIMEType = "text/javascript"
93 | public static let plain: MIMEType = "text/plain"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:92: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 |
:
90 | public static let csv: MIMEType = "text/csv"
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
| |- warning: static property 'javascript' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'javascript' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let plain: MIMEType = "text/plain"
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:93:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
91 | public static let xml: MIMEType = "text/xml"
92 | public static let javascript: MIMEType = "text/javascript"
93 | public static let plain: MIMEType = "text/plain"
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:97: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 |
:
95 |
96 | extension MIMEType.Font {
97 | public static let otf: MIMEType = "font/otf"
| |- warning: static property 'otf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'otf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:98: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 |
:
96 | extension MIMEType.Font {
97 | public static let otf: MIMEType = "font/otf"
98 | public static let ttf: MIMEType = "font/ttf"
| |- warning: static property 'ttf' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ttf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | public static let woff: MIMEType = "font/woff"
100 | public static let woff2: MIMEType = "font/woff2"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:99: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 |
:
97 | public static let otf: MIMEType = "font/otf"
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
| |- warning: static property 'woff' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | public static let woff2: MIMEType = "font/woff2"
101 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:100: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 |
:
98 | public static let ttf: MIMEType = "font/ttf"
99 | public static let woff: MIMEType = "font/woff"
100 | public static let woff2: MIMEType = "font/woff2"
| |- warning: static property 'woff2' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'woff2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:104: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 |
:
102 |
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
| |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jpg' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:105: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 |
:
103 | extension MIMEType.Image {
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
| |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:106:23: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
104 | public static let jpg: MIMEType = "image/jpeg"
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
| |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | public static let webp: MIMEType = "image/webp"
108 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:107:23: warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
105 | public static let gif: MIMEType = "image/gif"
106 | public static let png: MIMEType = "image/png"
107 | public static let webp: MIMEType = "image/webp"
| |- warning: static property 'webp' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'webp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 | }
109 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:111:23: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct MIMEType: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'MIMEType' conform to the 'Sendable' protocol
4 | public var rawValue: String
5 |
:
109 |
110 | extension MIMEType.Multipart {
111 | public static let formData: MIMEType = "multipart/form-data"
| |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MIMEType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:129:23: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
127 | }
128 |
129 | public static let ascii: Self = "ascii"
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ascii' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:130:23: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
128 |
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public static let utf16: Self = "utf-16"
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:131:23: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | extension MIMEType {
115 | public struct CharacterSet: HTTPFormattible {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
116 | public let identifier: String
117 |
:
129 | public static let ascii: Self = "ascii"
130 | public static let utf8: Self = "utf-8"
131 | public static let utf16: Self = "utf-16"
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MIMEType.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'utf16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | }
133 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:141:23: warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
139 |
140 | extension MIMEType.Parameter.Key where Value == MIMEType.CharacterSet {
141 | public static let characterSet: Self = "charset"
| |- warning: static property 'characterSet' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<MIMEType.CharacterSet>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'characterSet' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:145:23: warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
143 |
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
| |- warning: static property 'boundary' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'boundary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:146:23: warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
144 | extension MIMEType.Parameter.Key where Value == String {
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
| |- warning: static property 'name' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'name' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | public static let fileName: Self = "filename"
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/MIMEType.swift:147:23: warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public struct Parameter<Value: HTTPFormattible> {
11 | public struct Key {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
12 | let name: String
13 | }
:
145 | public static let boundary: Self = "boundary"
146 | public static let name: Self = "name"
147 | public static let fileName: Self = "filename"
| |- warning: static property 'fileName' is not concurrency-safe because non-'Sendable' type 'MIMEType.Parameter<String>.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileName' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 | }
149 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:18:16: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
16 |
17 | public extension URIScheme {
18 | static let http: Self = "http"
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'http' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:19:16: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
17 | public extension URIScheme {
18 | static let http: Self = "http"
19 | static let https: Self = "https"
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'https' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:20:16: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
18 | static let http: Self = "http"
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:21:16: warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
19 | static let https: Self = "https"
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
| |- warning: static property 'sftp' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sftp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:22:16: warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
20 | static let ftp: Self = "ftp"
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
| |- warning: static property 'tel' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tel' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:23:16: warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
21 | static let sftp: Self = "sftp"
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
| |- warning: static property 'mailto' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mailto' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let file: Self = "file"
25 | static let data: Self = "data"
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:24:16: warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
22 | static let tel: Self = "tel"
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
| |- warning: static property 'file' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'file' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static let data: Self = "data"
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncHTTP/Model/URIScheme.swift:25:16: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct URIScheme: Equatable, Hashable, Codable, RawRepresentable {
| `- note: consider making struct 'URIScheme' conform to the 'Sendable' protocol
4 | public let rawValue: String
5 |
:
23 | static let mailto: Self = "mailto"
24 | static let file: Self = "file"
25 | static let data: Self = "data"
| |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'URIScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
Build complete! (12.99s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "AsyncHTTP",
"name" : "AsyncHTTP",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "AsyncHTTP",
"targets" : [
"AsyncHTTP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncHTTPTests",
"module_type" : "SwiftTarget",
"name" : "AsyncHTTPTests",
"path" : "Tests/AsyncHTTPTests",
"sources" : [
"Clock.swift",
"Combine.swift",
"ConvertedTests.swift",
"HTTPFormatterTests.swift",
"HTTPNetworkExecutorTests.swift",
"HTTPRequestTests.swift",
"StaticLoader.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"AsyncHTTP"
],
"type" : "test"
},
{
"c99name" : "AsyncHTTP",
"module_type" : "SwiftTarget",
"name" : "AsyncHTTP",
"path" : "Sources/AsyncHTTP",
"product_memberships" : [
"AsyncHTTP"
],
"sources" : [
"AsyncHTTP.swift",
"Formatters/Formatter.swift",
"Formatters/HTTPRequestFormatter.swift",
"Formatters/HTTPResponseFormatter.swift",
"Loader.swift",
"Loaders/Any.swift",
"Loaders/Capture.swift",
"Loaders/Decode.swift",
"Loaders/FlatMap.swift",
"Loaders/HTTP.swift",
"Loaders/Intercept.swift",
"Loaders/Map.swift",
"Loaders/Pipe.swift",
"Loaders/Pullback.swift",
"Loaders/URLSession.swift",
"Model/HTTPHeader.swift",
"Model/HTTPMethod.swift",
"Model/HTTPRequest.swift",
"Model/HTTPRequestBody.swift",
"Model/HTTPResponse.swift",
"Model/HTTPStatus.swift",
"Model/HTTPVersion.swift",
"Model/MIMEType.swift",
"Model/URIScheme.swift",
"Plugins/Deduplication.swift",
"Plugins/Delay.swift",
"Plugins/IdentifyRequests.swift",
"Plugins/NetworkConstrained.swift",
"Plugins/Retry.swift",
"Plugins/ServerEnvironment.swift",
"Plugins/Throttle.swift",
"Plugins/Timeout.swift",
"Plugins/ValidateRequests.swift",
"Utils/Clock.swift",
"Utils/Combine.swift",
"Utils/Converted.swift",
"Utils/HTTPFormattible.swift",
"Utils/Sorted.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.