The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Requests, reference v0.3.2 (8504a5), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 00:56:09 UTC.

Swift 6 data race errors: 59

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

    |                |- note: annotate 'jpeg' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 |     static let svg = MediaType(type: .image, subtype: .svg)
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:206:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
204 |     static let jpeg = MediaType(type: .image, subtype: .jpeg)
205 |
206 |     static let svg = MediaType(type: .image, subtype: .svg)
    |                |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'svg' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 |     // MARK: - multipart/*
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:211:16: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type '(String) -> MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
209 |
210 |     /// Constructs a `multipart/form-data` media type using the given boundary.
211 |     static let formData: (String) -> MediaType = { boundary in
    |                |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type '(String) -> MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |         MediaType(type: .multipart, subtype: .formData, parameters: ["boundary": boundary])
213 |     }
[8/19] Compiling Requests Field.swift
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:88:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 86 | public extension Field.Name {
 87 |
 88 |     static let accept: Field.Name = "Accept"
    |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:90:16: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 88 |     static let accept: Field.Name = "Accept"
 89 |
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
    |                |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'acceptLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:92:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
    |                |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'authorization' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:94:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 92 |     static let authorization: Field.Name = "Authorization"
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |
 96 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:100:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | public extension Field {
 99 |
100 |     static let contentType: (MediaType) -> Field = { Field(name: .contentType, value: $0.rawValue) }
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:102:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
100 |     static let contentType: (MediaType) -> Field = { Field(name: .contentType, value: $0.rawValue) }
101 |
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
    |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 |     static let acceptLanguage = { Field(name: .acceptLanguage, value: $0) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:104:16: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type '(String) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
103 |
104 |     static let acceptLanguage = { Field(name: .acceptLanguage, value: $0) }
    |                |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type '(String) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'acceptLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:42:16: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
40 | public extension HTTPMethod {
41 |
42 |     static let connect: HTTPMethod = "CONNECT"
   |                |- warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'connect' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     static let delete: HTTPMethod = "DELETE"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:44:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
42 |     static let connect: HTTPMethod = "CONNECT"
43 |
44 |     static let delete: HTTPMethod = "DELETE"
   |                |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 |     static let get: HTTPMethod = "GET"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:46:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
44 |     static let delete: HTTPMethod = "DELETE"
45 |
46 |     static let get: HTTPMethod = "GET"
   |                |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:48:16: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
46 |     static let get: HTTPMethod = "GET"
47 |
48 |     static let head: HTTPMethod = "HEAD"
   |                |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'head' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:50:16: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
48 |     static let head: HTTPMethod = "HEAD"
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
   |                |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'options' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 |     static let patch: HTTPMethod = "PATCH"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:52:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
50 |     static let options: HTTPMethod = "OPTIONS"
51 |
52 |     static let patch: HTTPMethod = "PATCH"
   |                |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'patch' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 |     static let post: HTTPMethod = "POST"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:54:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
52 |     static let patch: HTTPMethod = "PATCH"
53 |
54 |     static let post: HTTPMethod = "POST"
   |                |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 |     static let put: HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:56:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
54 |     static let post: HTTPMethod = "POST"
55 |
56 |     static let put: HTTPMethod = "PUT"
   |                |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'put' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 |     static let trace: HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:58:16: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
56 |     static let put: HTTPMethod = "PUT"
57 |
58 |     static let trace: HTTPMethod = "TRACE"
   |                |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
[9/19] Compiling Requests HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:88:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 86 | public extension Field.Name {
 87 |
 88 |     static let accept: Field.Name = "Accept"
    |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:90:16: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 88 |     static let accept: Field.Name = "Accept"
 89 |
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
    |                |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'acceptLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:92:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
    |                |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'authorization' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:94:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 92 |     static let authorization: Field.Name = "Authorization"
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |
 96 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:100:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | public extension Field {
 99 |
100 |     static let contentType: (MediaType) -> Field = { Field(name: .contentType, value: $0.rawValue) }
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:102:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
100 |     static let contentType: (MediaType) -> Field = { Field(name: .contentType, value: $0.rawValue) }
101 |
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
    |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 |     static let acceptLanguage = { Field(name: .acceptLanguage, value: $0) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:104:16: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type '(String) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
103 |
104 |     static let acceptLanguage = { Field(name: .acceptLanguage, value: $0) }
    |                |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type '(String) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'acceptLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:42:16: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
40 | public extension HTTPMethod {
41 |
42 |     static let connect: HTTPMethod = "CONNECT"
   |                |- warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'connect' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     static let delete: HTTPMethod = "DELETE"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:44:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
42 |     static let connect: HTTPMethod = "CONNECT"
43 |
44 |     static let delete: HTTPMethod = "DELETE"
   |                |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 |     static let get: HTTPMethod = "GET"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:46:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
44 |     static let delete: HTTPMethod = "DELETE"
45 |
46 |     static let get: HTTPMethod = "GET"
   |                |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:48:16: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
46 |     static let get: HTTPMethod = "GET"
47 |
48 |     static let head: HTTPMethod = "HEAD"
   |                |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'head' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:50:16: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
48 |     static let head: HTTPMethod = "HEAD"
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
   |                |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'options' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 |     static let patch: HTTPMethod = "PATCH"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:52:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
50 |     static let options: HTTPMethod = "OPTIONS"
51 |
52 |     static let patch: HTTPMethod = "PATCH"
   |                |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'patch' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 |     static let post: HTTPMethod = "POST"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:54:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
52 |     static let patch: HTTPMethod = "PATCH"
53 |
54 |     static let post: HTTPMethod = "POST"
   |                |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 |     static let put: HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:56:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
54 |     static let post: HTTPMethod = "POST"
55 |
56 |     static let put: HTTPMethod = "PUT"
   |                |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'put' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 |     static let trace: HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:58:16: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
56 |     static let put: HTTPMethod = "PUT"
57 |
58 |     static let trace: HTTPMethod = "TRACE"
   |                |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
[10/19] Compiling Requests AuthenticationProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:35:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
   :
33 |
34 |     /// An authentication provider that makes no changes to the header passed to it.
35 |     public static let none = AuthenticationProvider(authenticate: { _ in })
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     /// An authentication provider that sets the provided token as a bearer token in the header.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:38:23: warning: static property 'bearerToken' is not concurrency-safe because non-'Sendable' type '(String) -> AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 |     /// An authentication provider that sets the provided token as a bearer token in the header.
38 |     public static let bearerToken: (String) -> AuthenticationProvider = { token in
   |                       |- warning: static property 'bearerToken' is not concurrency-safe because non-'Sendable' type '(String) -> AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bearerToken' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         AuthenticationProvider { header in
40 |             header[.authorization] = "Bearer \(token)"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:92:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
    |                |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'authorization' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:44:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
    :
 42 |     /// always produces a `RequestBody.none`.
 43 |     ///
 44 |     static let none = BodyProvider { header in
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         header.remove(.contentType)
 46 |         return .none
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:94:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 92 |     static let authorization: Field.Name = "Authorization"
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |
 96 | }
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:188:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
186 |                                           parameters: ["charset": "utf-8"])
187 |
188 |     static let binary = MediaType(type: .application, subtype: .octetStream)
    |                |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 |     // MARK: - text/*
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:100:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | public extension Field {
 99 |
100 |     static let contentType: (MediaType) -> Field = { Field(name: .contentType, value: $0.rawValue) }
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:192:16: warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
190 |     // MARK: - text/*
191 |
192 |     static let plainText = MediaType(type: .text, subtype: .plain, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'plainText' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 |     static let html = MediaType(type: .text, subtype: .html, parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:181:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
179 |     // MARK: - application/*
180 |
181 |     static let json = MediaType(type: .application, subtype: .json, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     static let xml = MediaType(type: .application, subtype: .xml, parameters: ["charset": "utf-8"])
[11/19] Compiling Requests BodyProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:35:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
   :
33 |
34 |     /// An authentication provider that makes no changes to the header passed to it.
35 |     public static let none = AuthenticationProvider(authenticate: { _ in })
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     /// An authentication provider that sets the provided token as a bearer token in the header.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:38:23: warning: static property 'bearerToken' is not concurrency-safe because non-'Sendable' type '(String) -> AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 |     /// An authentication provider that sets the provided token as a bearer token in the header.
38 |     public static let bearerToken: (String) -> AuthenticationProvider = { token in
   |                       |- warning: static property 'bearerToken' is not concurrency-safe because non-'Sendable' type '(String) -> AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bearerToken' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         AuthenticationProvider { header in
40 |             header[.authorization] = "Bearer \(token)"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:92:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
    |                |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'authorization' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:44:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
    :
 42 |     /// always produces a `RequestBody.none`.
 43 |     ///
 44 |     static let none = BodyProvider { header in
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         header.remove(.contentType)
 46 |         return .none
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:94:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 92 |     static let authorization: Field.Name = "Authorization"
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |
 96 | }
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:188:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
186 |                                           parameters: ["charset": "utf-8"])
187 |
188 |     static let binary = MediaType(type: .application, subtype: .octetStream)
    |                |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 |     // MARK: - text/*
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:100:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | public extension Field {
 99 |
100 |     static let contentType: (MediaType) -> Field = { Field(name: .contentType, value: $0.rawValue) }
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:192:16: warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
190 |     // MARK: - text/*
191 |
192 |     static let plainText = MediaType(type: .text, subtype: .plain, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'plainText' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 |     static let html = MediaType(type: .text, subtype: .html, parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:181:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
179 |     // MARK: - application/*
180 |
181 |     static let json = MediaType(type: .application, subtype: .json, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     static let xml = MediaType(type: .application, subtype: .xml, parameters: ["charset": "utf-8"])
[12/19] Compiling Requests CaseInsensitiveString.swift
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:14:23: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// The `GET` method.
14 |     public static let method: HTTPMethod = .get
   |                       |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'method' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// An empty `Header`.
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:13:15: note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:46:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
44 |     static let delete: HTTPMethod = "DELETE"
45 |
46 |     static let get: HTTPMethod = "GET"
   |                |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:17:23: warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// An empty `Header`.
17 |     public static let header: Header = .empty
   |                       |- warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'header' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:12:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
 10 | /// - Note: A `Header` instance does not preserve the order of fields added to it.
 11 | ///
 12 | public struct Header: Hashable {
    |               `- note: consider making struct 'Header' conform to the 'Sendable' protocol
 13 |
 14 |     // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:29:23: warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// A `none` body provider.
29 |     public static let bodyProvider: BodyProvider = .none
   |                       |- warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bodyProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:26:15: note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:44:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
    :
 42 |     /// always produces a `RequestBody.none`.
 43 |     ///
 44 |     static let none = BodyProvider { header in
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         header.remove(.contentType)
 46 |         return .none
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:32:23: warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// A `none` authentication provider.
32 |     public static let authenticationProvider: AuthenticationProvider = .none
   |                       |- warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'authenticationProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:11:15: note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:35:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
   :
33 |
34 |     /// An authentication provider that makes no changes to the header passed to it.
35 |     public static let none = AuthenticationProvider(authenticate: { _ in })
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     /// An authentication provider that sets the provided token as a bearer token in the header.
[13/19] Compiling Requests DefaultValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:14:23: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// The `GET` method.
14 |     public static let method: HTTPMethod = .get
   |                       |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'method' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// An empty `Header`.
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:13:15: note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:46:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
44 |     static let delete: HTTPMethod = "DELETE"
45 |
46 |     static let get: HTTPMethod = "GET"
   |                |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:17:23: warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// An empty `Header`.
17 |     public static let header: Header = .empty
   |                       |- warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'header' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:12:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
 10 | /// - Note: A `Header` instance does not preserve the order of fields added to it.
 11 | ///
 12 | public struct Header: Hashable {
    |               `- note: consider making struct 'Header' conform to the 'Sendable' protocol
 13 |
 14 |     // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:29:23: warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// A `none` body provider.
29 |     public static let bodyProvider: BodyProvider = .none
   |                       |- warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bodyProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:26:15: note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:44:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
    :
 42 |     /// always produces a `RequestBody.none`.
 43 |     ///
 44 |     static let none = BodyProvider { header in
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         header.remove(.contentType)
 46 |         return .none
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:32:23: warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// A `none` authentication provider.
32 |     public static let authenticationProvider: AuthenticationProvider = .none
   |                       |- warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'authenticationProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:11:15: note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:35:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
   :
33 |
34 |     /// An authentication provider that makes no changes to the header passed to it.
35 |     public static let none = AuthenticationProvider(authenticate: { _ in })
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     /// An authentication provider that sets the provided token as a bearer token in the header.
[14/19] Emitting module Requests
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:35:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
   :
33 |
34 |     /// An authentication provider that makes no changes to the header passed to it.
35 |     public static let none = AuthenticationProvider(authenticate: { _ in })
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     /// An authentication provider that sets the provided token as a bearer token in the header.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:38:23: warning: static property 'bearerToken' is not concurrency-safe because non-'Sendable' type '(String) -> AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 |     /// An authentication provider that sets the provided token as a bearer token in the header.
38 |     public static let bearerToken: (String) -> AuthenticationProvider = { token in
   |                       |- warning: static property 'bearerToken' is not concurrency-safe because non-'Sendable' type '(String) -> AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bearerToken' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         AuthenticationProvider { header in
40 |             header[.authorization] = "Bearer \(token)"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:92:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
    |                |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'authorization' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:44:16: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
    :
 42 |     /// always produces a `RequestBody.none`.
 43 |     ///
 44 |     static let none = BodyProvider { header in
    |                |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         header.remove(.contentType)
 46 |         return .none
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:94:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 92 |     static let authorization: Field.Name = "Authorization"
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 95 |
 96 | }
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:188:16: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
186 |                                           parameters: ["charset": "utf-8"])
187 |
188 |     static let binary = MediaType(type: .application, subtype: .octetStream)
    |                |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'binary' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 |     // MARK: - text/*
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:14:23: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// The `GET` method.
14 |     public static let method: HTTPMethod = .get
   |                       |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'method' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// An empty `Header`.
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:13:15: note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:46:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
44 |     static let delete: HTTPMethod = "DELETE"
45 |
46 |     static let get: HTTPMethod = "GET"
   |                |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:17:23: warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// An empty `Header`.
17 |     public static let header: Header = .empty
   |                       |- warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'header' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:12:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
 10 | /// - Note: A `Header` instance does not preserve the order of fields added to it.
 11 | ///
 12 | public struct Header: Hashable {
    |               `- note: consider making struct 'Header' conform to the 'Sendable' protocol
 13 |
 14 |     // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:29:23: warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// A `none` body provider.
29 |     public static let bodyProvider: BodyProvider = .none
   |                       |- warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bodyProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:26:15: note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:32:23: warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// A `none` authentication provider.
32 |     public static let authenticationProvider: AuthenticationProvider = .none
   |                       |- warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'authenticationProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:11:15: note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:88:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 86 | public extension Field.Name {
 87 |
 88 |     static let accept: Field.Name = "Accept"
    |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:90:16: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// The name of a header field in a HTTP request.
 15 |     public struct Name: Hashable, RawRepresentable, ExpressibleByStringLiteral, CustomStringConvertible {
    |                   `- note: consider making struct 'Name' conform to the 'Sendable' protocol
 16 |
 17 |         // MARK: - Public Properties
    :
 88 |     static let accept: Field.Name = "Accept"
 89 |
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
    |                |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type 'Field.Name' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'acceptLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:100:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
 98 | public extension Field {
 99 |
100 |     static let contentType: (MediaType) -> Field = { Field(name: .contentType, value: $0.rawValue) }
    |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'contentType' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:102:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
100 |     static let contentType: (MediaType) -> Field = { Field(name: .contentType, value: $0.rawValue) }
101 |
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
    |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type '(MediaType) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 |     static let acceptLanguage = { Field(name: .acceptLanguage, value: $0) }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Field.swift:104:16: warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type '(String) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
102 |     static let accept: (MediaType) -> Field = { Field(name: .accept, value: $0.rawValue) }
103 |
104 |     static let acceptLanguage = { Field(name: .acceptLanguage, value: $0) }
    |                |- warning: static property 'acceptLanguage' is not concurrency-safe because non-'Sendable' type '(String) -> Field' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'acceptLanguage' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:42:16: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
40 | public extension HTTPMethod {
41 |
42 |     static let connect: HTTPMethod = "CONNECT"
   |                |- warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'connect' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     static let delete: HTTPMethod = "DELETE"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:44:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
42 |     static let connect: HTTPMethod = "CONNECT"
43 |
44 |     static let delete: HTTPMethod = "DELETE"
   |                |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 |     static let get: HTTPMethod = "GET"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:48:16: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
46 |     static let get: HTTPMethod = "GET"
47 |
48 |     static let head: HTTPMethod = "HEAD"
   |                |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'head' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:50:16: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
48 |     static let head: HTTPMethod = "HEAD"
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
   |                |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'options' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 |     static let patch: HTTPMethod = "PATCH"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:52:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
50 |     static let options: HTTPMethod = "OPTIONS"
51 |
52 |     static let patch: HTTPMethod = "PATCH"
   |                |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'patch' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 |     static let post: HTTPMethod = "POST"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:54:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
52 |     static let patch: HTTPMethod = "PATCH"
53 |
54 |     static let post: HTTPMethod = "POST"
   |                |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 |     static let put: HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:56:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
54 |     static let post: HTTPMethod = "POST"
55 |
56 |     static let put: HTTPMethod = "PUT"
   |                |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'put' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 |     static let trace: HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:58:16: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
56 |     static let put: HTTPMethod = "PUT"
57 |
58 |     static let trace: HTTPMethod = "TRACE"
   |                |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:127:16: warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
125 | public extension MediaType.TopLevelType {
126 |
127 |     static let application = MediaType.TopLevelType("application")
    |                |- warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'application' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 |     static let audio = MediaType.TopLevelType("audio")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:129:16: warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
127 |     static let application = MediaType.TopLevelType("application")
128 |
129 |     static let audio = MediaType.TopLevelType("audio")
    |                |- warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'audio' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 |     static let font = MediaType.TopLevelType("font")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:131:16: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
129 |     static let audio = MediaType.TopLevelType("audio")
130 |
131 |     static let font = MediaType.TopLevelType("font")
    |                |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'font' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 |     static let image = MediaType.TopLevelType("image")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:133:16: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
131 |     static let font = MediaType.TopLevelType("font")
132 |
133 |     static let image = MediaType.TopLevelType("image")
    |                |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 |     static let message = MediaType.TopLevelType("message")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:135:16: warning: static property 'message' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
133 |     static let image = MediaType.TopLevelType("image")
134 |
135 |     static let message = MediaType.TopLevelType("message")
    |                |- warning: static property 'message' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'message' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 |     static let model = MediaType.TopLevelType("model")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:137:16: warning: static property 'model' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
135 |     static let message = MediaType.TopLevelType("message")
136 |
137 |     static let model = MediaType.TopLevelType("model")
    |                |- warning: static property 'model' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'model' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 |     static let multipart = MediaType.TopLevelType("multipart")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:139:16: warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
137 |     static let model = MediaType.TopLevelType("model")
138 |
139 |     static let multipart = MediaType.TopLevelType("multipart")
    |                |- warning: static property 'multipart' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'multipart' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |
141 |     static let text = MediaType.TopLevelType("text")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:141:16: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
139 |     static let multipart = MediaType.TopLevelType("multipart")
140 |
141 |     static let text = MediaType.TopLevelType("text")
    |                |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 |     static let video = MediaType.TopLevelType("video")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:143:16: warning: static property 'video' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
 44 |     /// A top level media type, e.g., `application`, `text`, `audio` etc.
 45 |     ///
 46 |     public struct TopLevelType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'TopLevelType' conform to the 'Sendable' protocol
 47 |
 48 |         public let rawValue: CaseInsensitiveString
    :
141 |     static let text = MediaType.TopLevelType("text")
142 |
143 |     static let video = MediaType.TopLevelType("video")
    |                |- warning: static property 'video' is not concurrency-safe because non-'Sendable' type 'MediaType.TopLevelType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'video' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:150:16: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
148 | public extension MediaType.SubType {
149 |
150 |     static let plain = MediaType.SubType("plain")
    |                |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     static let html = MediaType.SubType("html")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:152:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
150 |     static let plain = MediaType.SubType("plain")
151 |
152 |     static let html = MediaType.SubType("html")
    |                |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'html' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 |     static let css = MediaType.SubType("css")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:154:16: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
152 |     static let html = MediaType.SubType("html")
153 |
154 |     static let css = MediaType.SubType("css")
    |                |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'css' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 |     static let json = MediaType.SubType("json")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:156:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
154 |     static let css = MediaType.SubType("css")
155 |
156 |     static let json = MediaType.SubType("json")
    |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 |     static let xml = MediaType.SubType("xml")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:158:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
156 |     static let json = MediaType.SubType("json")
157 |
158 |     static let xml = MediaType.SubType("xml")
    |                |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'xml' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 |     static let urlEncodedForm = MediaType.SubType("x-www-form-urlencoded")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:160:16: warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
158 |     static let xml = MediaType.SubType("xml")
159 |
160 |     static let urlEncodedForm = MediaType.SubType("x-www-form-urlencoded")
    |                |- warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'urlEncodedForm' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 |     static let octetStream = MediaType.SubType("octet-stream")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:162:16: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
160 |     static let urlEncodedForm = MediaType.SubType("x-www-form-urlencoded")
161 |
162 |     static let octetStream = MediaType.SubType("octet-stream")
    |                |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'octetStream' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 |     static let formData = MediaType.SubType("form-data")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:164:16: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
162 |     static let octetStream = MediaType.SubType("octet-stream")
163 |
164 |     static let formData = MediaType.SubType("form-data")
    |                |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 |     static let gif = MediaType.SubType("gif")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:166:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
164 |     static let formData = MediaType.SubType("form-data")
165 |
166 |     static let gif = MediaType.SubType("gif")
    |                |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'gif' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     static let png = MediaType.SubType("png")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:168:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
166 |     static let gif = MediaType.SubType("gif")
167 |
168 |     static let png = MediaType.SubType("png")
    |                |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'png' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 |     static let jpeg = MediaType.SubType("jpeg")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:170:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
168 |     static let png = MediaType.SubType("png")
169 |
170 |     static let jpeg = MediaType.SubType("jpeg")
    |                |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'jpeg' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 |     static let svg = MediaType.SubType("svg+xml")
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:172:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
 63 |     /// A sub type of a top level media type, e.g., `plain`, `css`, `json` etc.
 64 |     ///
 65 |     public struct SubType: Hashable, RawRepresentable, CustomStringConvertible {
    |                   `- note: consider making struct 'SubType' conform to the 'Sendable' protocol
 66 |
 67 |         public let rawValue: CaseInsensitiveString
    :
170 |     static let jpeg = MediaType.SubType("jpeg")
171 |
172 |     static let svg = MediaType.SubType("svg+xml")
    |                |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType.SubType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'svg' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:181:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
179 |     // MARK: - application/*
180 |
181 |     static let json = MediaType(type: .application, subtype: .json, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'json' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     static let xml = MediaType(type: .application, subtype: .xml, parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:183:16: warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
181 |     static let json = MediaType(type: .application, subtype: .json, parameters: ["charset": "utf-8"])
182 |
183 |     static let xml = MediaType(type: .application, subtype: .xml, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'xml' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'xml' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 |     static let urlEncodedForm = MediaType(type: .application, subtype: .urlEncodedForm,
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:185:16: warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
183 |     static let xml = MediaType(type: .application, subtype: .xml, parameters: ["charset": "utf-8"])
184 |
185 |     static let urlEncodedForm = MediaType(type: .application, subtype: .urlEncodedForm,
    |                |- warning: static property 'urlEncodedForm' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'urlEncodedForm' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |                                           parameters: ["charset": "utf-8"])
187 |
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:192:16: warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
190 |     // MARK: - text/*
191 |
192 |     static let plainText = MediaType(type: .text, subtype: .plain, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'plainText' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'plainText' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 |     static let html = MediaType(type: .text, subtype: .html, parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:194:16: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
192 |     static let plainText = MediaType(type: .text, subtype: .plain, parameters: ["charset": "utf-8"])
193 |
194 |     static let html = MediaType(type: .text, subtype: .html, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'html' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 |     static let css = MediaType(type: .text, subtype: .css, parameters: ["charset": "utf-8"])
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:196:16: warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
194 |     static let html = MediaType(type: .text, subtype: .html, parameters: ["charset": "utf-8"])
195 |
196 |     static let css = MediaType(type: .text, subtype: .css, parameters: ["charset": "utf-8"])
    |                |- warning: static property 'css' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'css' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 |     // MARK: - image/*
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:200:16: warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
198 |     // MARK: - image/*
199 |
200 |     static let gif = MediaType(type: .image, subtype: .gif)
    |                |- warning: static property 'gif' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'gif' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     static let png = MediaType(type: .image, subtype: .png)
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:202:16: warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
200 |     static let gif = MediaType(type: .image, subtype: .gif)
201 |
202 |     static let png = MediaType(type: .image, subtype: .png)
    |                |- warning: static property 'png' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'png' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 |
204 |     static let jpeg = MediaType(type: .image, subtype: .jpeg)
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:204:16: warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
202 |     static let png = MediaType(type: .image, subtype: .png)
203 |
204 |     static let jpeg = MediaType(type: .image, subtype: .jpeg)
    |                |- warning: static property 'jpeg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'jpeg' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 |     static let svg = MediaType(type: .image, subtype: .svg)
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:206:16: warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
 38 | /// which will produce a new `MediaType` with the `boundary` parameter set to the provided `String`.
 39 | ///
 40 | public struct MediaType: CustomStringConvertible {
    |               `- note: consider making struct 'MediaType' conform to the 'Sendable' protocol
 41 |
 42 |     // MARK: - Nested Types
    :
204 |     static let jpeg = MediaType(type: .image, subtype: .jpeg)
205 |
206 |     static let svg = MediaType(type: .image, subtype: .svg)
    |                |- warning: static property 'svg' is not concurrency-safe because non-'Sendable' type 'MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'svg' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 |     // MARK: - multipart/*
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/MediaType.swift:211:16: warning: static property 'formData' is not concurrency-safe because non-'Sendable' type '(String) -> MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
209 |
210 |     /// Constructs a `multipart/form-data` media type using the given boundary.
211 |     static let formData: (String) -> MediaType = { boundary in
    |                |- warning: static property 'formData' is not concurrency-safe because non-'Sendable' type '(String) -> MediaType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'formData' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |         MediaType(type: .multipart, subtype: .formData, parameters: ["boundary": boundary])
213 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:26:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
24 |
25 |     /// A decoder that always returns a `()` value.
26 |     public static let none = ResponseDecoder { _, _ in () }
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:34:23: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
32 |
33 |     /// Returns the response data unchanged. Never throws an error.
34 |     public static let data = ResponseDecoder { _, data in data }
   |                       |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:42:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<String>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
40 |
41 |     /// Decodes a UTF8 string from the response data.
42 |     public static let text = ResponseDecoder<String>.text(encoding: .utf8)
   |                       |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     /// Decodes a string from the response data.
/Users/admin/builder/spi-builder-workspace/Sources/URLQueryItem+ExpresibleByDictionaryLiteral.swift:7:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 5 | import Foundation
 6 |
 7 | extension Array: ExpressibleByDictionaryLiteral where Element == URLQueryItem {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 8 |
 9 |     public typealias Key = String
[15/19] Compiling Requests RequestConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:17:23: warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// An empty `Header`.
17 |     public static let header: Header = .empty
   |                       |- warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'header' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:12:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
 10 | /// - Note: A `Header` instance does not preserve the order of fields added to it.
 11 | ///
 12 | public struct Header: Hashable {
    |               `- note: consider making struct 'Header' conform to the 'Sendable' protocol
 13 |
 14 |     // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:29:23: warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// A `none` body provider.
29 |     public static let bodyProvider: BodyProvider = .none
   |                       |- warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bodyProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:26:15: note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:32:23: warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// A `none` authentication provider.
32 |     public static let authenticationProvider: AuthenticationProvider = .none
   |                       |- warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'authenticationProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:11:15: note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:26:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
24 |
25 |     /// A decoder that always returns a `()` value.
26 |     public static let none = ResponseDecoder { _, _ in () }
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:42:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<String>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
40 |
41 |     /// Decodes a UTF8 string from the response data.
42 |     public static let text = ResponseDecoder<String>.text(encoding: .utf8)
   |                       |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     /// Decodes a string from the response data.
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:34:23: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
32 |
33 |     /// Returns the response data unchanged. Never throws an error.
34 |     public static let data = ResponseDecoder { _, data in data }
   |                       |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[16/19] Compiling Requests RequestError.swift
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:17:23: warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// An empty `Header`.
17 |     public static let header: Header = .empty
   |                       |- warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'header' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:12:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
 10 | /// - Note: A `Header` instance does not preserve the order of fields added to it.
 11 | ///
 12 | public struct Header: Hashable {
    |               `- note: consider making struct 'Header' conform to the 'Sendable' protocol
 13 |
 14 |     // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:29:23: warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// A `none` body provider.
29 |     public static let bodyProvider: BodyProvider = .none
   |                       |- warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bodyProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:26:15: note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:32:23: warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// A `none` authentication provider.
32 |     public static let authenticationProvider: AuthenticationProvider = .none
   |                       |- warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'authenticationProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:11:15: note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:26:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
24 |
25 |     /// A decoder that always returns a `()` value.
26 |     public static let none = ResponseDecoder { _, _ in () }
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:42:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<String>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
40 |
41 |     /// Decodes a UTF8 string from the response data.
42 |     public static let text = ResponseDecoder<String>.text(encoding: .utf8)
   |                       |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     /// Decodes a string from the response data.
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:34:23: warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
32 |
33 |     /// Returns the response data unchanged. Never throws an error.
34 |     public static let data = ResponseDecoder { _, data in data }
   |                       |- warning: static property 'data' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<Data>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'data' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
[17/19] Compiling Requests Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:14:23: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// The `GET` method.
14 |     public static let method: HTTPMethod = .get
   |                       |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'method' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// An empty `Header`.
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:13:15: note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:17:23: warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// An empty `Header`.
17 |     public static let header: Header = .empty
   |                       |- warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'header' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:12:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
 10 | /// - Note: A `Header` instance does not preserve the order of fields added to it.
 11 | ///
 12 | public struct Header: Hashable {
    |               `- note: consider making struct 'Header' conform to the 'Sendable' protocol
 13 |
 14 |     // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:29:23: warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// A `none` body provider.
29 |     public static let bodyProvider: BodyProvider = .none
   |                       |- warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bodyProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:26:15: note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:32:23: warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// A `none` authentication provider.
32 |     public static let authenticationProvider: AuthenticationProvider = .none
   |                       |- warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'authenticationProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:11:15: note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:26:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
24 |
25 |     /// A decoder that always returns a `()` value.
26 |     public static let none = ResponseDecoder { _, _ in () }
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:46:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
44 |     static let delete: HTTPMethod = "DELETE"
45 |
46 |     static let get: HTTPMethod = "GET"
   |                |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:54:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
52 |     static let patch: HTTPMethod = "PATCH"
53 |
54 |     static let post: HTTPMethod = "POST"
   |                |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 |     static let put: HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:56:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
54 |     static let post: HTTPMethod = "POST"
55 |
56 |     static let put: HTTPMethod = "PUT"
   |                |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'put' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 |     static let trace: HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:52:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
50 |     static let options: HTTPMethod = "OPTIONS"
51 |
52 |     static let patch: HTTPMethod = "PATCH"
   |                |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'patch' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 |     static let post: HTTPMethod = "POST"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:44:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
42 |     static let connect: HTTPMethod = "CONNECT"
43 |
44 |     static let delete: HTTPMethod = "DELETE"
   |                |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 |     static let get: HTTPMethod = "GET"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:48:16: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
46 |     static let get: HTTPMethod = "GET"
47 |
48 |     static let head: HTTPMethod = "HEAD"
   |                |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'head' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
[18/19] Compiling Requests RequestBody.swift
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:14:23: warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// The `GET` method.
14 |     public static let method: HTTPMethod = .get
   |                       |- warning: static property 'method' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'method' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// An empty `Header`.
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:13:15: note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:17:23: warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 |     /// An empty `Header`.
17 |     public static let header: Header = .empty
   |                       |- warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'Header' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'header' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/Users/admin/builder/spi-builder-workspace/Sources/Header.swift:12:15: note: consider making struct 'Header' conform to the 'Sendable' protocol
 10 | /// - Note: A `Header` instance does not preserve the order of fields added to it.
 11 | ///
 12 | public struct Header: Hashable {
    |               `- note: consider making struct 'Header' conform to the 'Sendable' protocol
 13 |
 14 |     // MARK: - Public Properties
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:29:23: warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 |     /// A `none` body provider.
29 |     public static let bodyProvider: BodyProvider = .none
   |                       |- warning: static property 'bodyProvider' is not concurrency-safe because non-'Sendable' type 'BodyProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bodyProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/Users/admin/builder/spi-builder-workspace/Sources/BodyProvider.swift:26:15: note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 24 | /// body has not been created because an error was thrown during creation.
 25 | ///
 26 | public struct BodyProvider {
    |               `- note: consider making struct 'BodyProvider' conform to the 'Sendable' protocol
 27 |
 28 |     private let _body: (inout Header) throws -> RequestBody
/Users/admin/builder/spi-builder-workspace/Sources/DefaultValue.swift:32:23: warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 |     /// A `none` authentication provider.
32 |     public static let authenticationProvider: AuthenticationProvider = .none
   |                       |- warning: static property 'authenticationProvider' is not concurrency-safe because non-'Sendable' type 'AuthenticationProvider' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'authenticationProvider' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/AuthenticationProvider.swift:11:15: note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
 9 | /// `AuthenticationProvider` is simply a wrapper around a function that modifies a header so it is authenticated.
10 | ///
11 | public struct AuthenticationProvider {
   |               `- note: consider making struct 'AuthenticationProvider' conform to the 'Sendable' protocol
12 |
13 |     private let _body: (inout Header) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/ResponseDecoder.swift:26:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | /// A type that can decode a response type from the raw body of a HTTP response.
11 | public struct ResponseDecoder<Response> {
   |               `- note: consider making generic struct 'ResponseDecoder' conform to the 'Sendable' protocol
12 |
13 |     /// The body of the decoder.
   :
24 |
25 |     /// A decoder that always returns a `()` value.
26 |     public static let none = ResponseDecoder { _, _ in () }
   |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ResponseDecoder<()>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:46:16: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
44 |     static let delete: HTTPMethod = "DELETE"
45 |
46 |     static let get: HTTPMethod = "GET"
   |                |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     static let head: HTTPMethod = "HEAD"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:54:16: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
52 |     static let patch: HTTPMethod = "PATCH"
53 |
54 |     static let post: HTTPMethod = "POST"
   |                |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 |     static let put: HTTPMethod = "PUT"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:56:16: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
54 |     static let post: HTTPMethod = "POST"
55 |
56 |     static let put: HTTPMethod = "PUT"
   |                |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'put' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 |     static let trace: HTTPMethod = "TRACE"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:52:16: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
50 |     static let options: HTTPMethod = "OPTIONS"
51 |
52 |     static let patch: HTTPMethod = "PATCH"
   |                |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'patch' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 |     static let post: HTTPMethod = "POST"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:44:16: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
42 |     static let connect: HTTPMethod = "CONNECT"
43 |
44 |     static let delete: HTTPMethod = "DELETE"
   |                |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 |     static let get: HTTPMethod = "GET"
/Users/admin/builder/spi-builder-workspace/Sources/HTTPMethod.swift:48:16: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// statement.
12 | ///
13 | public struct HTTPMethod: Hashable, RawRepresentable {
   |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
14 |
15 |     public let rawValue: String
   :
46 |     static let get: HTTPMethod = "GET"
47 |
48 |     static let head: HTTPMethod = "HEAD"
   |                |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'head' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
[19/19] Compiling Requests URLSession+Requests.swift
/Users/admin/builder/spi-builder-workspace/Sources/URLSession+Requests.swift:37:35: warning: capture of 'completionHandler' with non-sendable type '(NetworkResult<R.Resource>) -> Void' (aka '(Result<(HTTPURLResponse, R.Resource), RequestTransportError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |     ) {
 36 |         let complete = { (response: NetworkResult<R.Resource>) in
 37 |             callbackQueue.async { completionHandler(response) }
    |                                   |- warning: capture of 'completionHandler' with non-sendable type '(NetworkResult<R.Resource>) -> Void' (aka '(Result<(HTTPURLResponse, R.Resource), RequestTransportError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 38 |         }
 39 |
/Users/admin/builder/spi-builder-workspace/Sources/URLSession+Requests.swift:37:53: warning: capture of 'response' with non-sendable type 'NetworkResult<R.Resource>' (aka 'Result<(HTTPURLResponse, R.Resource), RequestTransportError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |     ) {
 36 |         let complete = { (response: NetworkResult<R.Resource>) in
 37 |             callbackQueue.async { completionHandler(response) }
    |                                                     `- warning: capture of 'response' with non-sendable type 'NetworkResult<R.Resource>' (aka 'Result<(HTTPURLResponse, R.Resource), RequestTransportError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 38 |         }
 39 |
/Users/admin/builder/spi-builder-workspace/Sources/URLSession+Requests.swift:99:62: warning: capture of 'request' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 26 |     ///   - completionHandler: A block executed when the request completes and the response body has been decoded.
 27 |     ///
 28 |     public func perform<R: RequestConvertible>(
    |                         `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
 29 |       _ request: R,
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
    :
 97 |                     do {
 98 |                         let resource = try decodeBody(from: data, forResponse: httpResponse,
 99 |                                                       using: request.responseDecoder)
    |                                                              `- warning: capture of 'request' with non-sendable type 'R' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |                         complete(.success((httpResponse, resource)))
101 |                     } catch let decodingError {
/Users/admin/builder/spi-builder-workspace/Sources/URLSession+Requests.swift:100:25: warning: capture of 'complete' with non-sendable type '(NetworkResult<R.Resource>) -> ()' (aka '(Result<(HTTPURLResponse, R.Resource), RequestTransportError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 98 |                         let resource = try decodeBody(from: data, forResponse: httpResponse,
 99 |                                                       using: request.responseDecoder)
100 |                         complete(.success((httpResponse, resource)))
    |                         |- warning: capture of 'complete' with non-sendable type '(NetworkResult<R.Resource>) -> ()' (aka '(Result<(HTTPURLResponse, R.Resource), RequestTransportError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
101 |                     } catch let decodingError {
102 |                         let transportError = RequestTransportError(underlyingError: decodingError, request: urlRequest,
/Users/admin/builder/spi-builder-workspace/Sources/URLSession+Requests.swift:120:66: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
116 |       with urlRequest: URLRequest,
117 |       configurationBlock configureTask: (URLSessionTask) -> Void,
118 |       completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
    |       `- note: parameter 'completionHandler' is implicitly non-sendable
119 |     ) throws -> URLSessionDataTask {
120 |         let task = dataTask(with: urlRequest, completionHandler: completionHandler)
    |                                                                  `- warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
121 |         configureTask(task)
122 |         return task
Build complete! (13.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Requests",
  "name" : "Requests",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Requests",
      "targets" : [
        "Requests"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RequestsTests",
      "module_type" : "SwiftTarget",
      "name" : "RequestsTests",
      "path" : "Tests",
      "sources" : [
        "AuthenticationProviderTests.swift",
        "BodyProviderTests.swift",
        "CaseInsensitiveStringTests.swift",
        "FieldTests.swift",
        "HTTPMethodTests.swift",
        "HTTPStubProtocol.swift",
        "HeaderTests.swift",
        "MediaTypeTests.swift",
        "RequestConvertibleTests.swift",
        "RequestTests.swift",
        "URLQueryItem+ExpressibleByDictionaryLiteralTests.swift",
        "URLSessionExtensionTests.swift"
      ],
      "target_dependencies" : [
        "Requests"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Requests",
      "module_type" : "SwiftTarget",
      "name" : "Requests",
      "path" : "Sources",
      "product_memberships" : [
        "Requests"
      ],
      "sources" : [
        "AuthenticationProvider.swift",
        "BodyProvider.swift",
        "CaseInsensitiveString.swift",
        "DefaultValue.swift",
        "Field.swift",
        "HTTPMethod.swift",
        "Header.swift",
        "MediaType.swift",
        "Request.swift",
        "RequestBody.swift",
        "RequestConvertible.swift",
        "RequestError.swift",
        "ResponseDecoder.swift",
        "URL+StaticString.swift",
        "URLQueryItem+ExpresibleByDictionaryLiteral.swift",
        "URLSession+Requests.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.