The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Requests, reference master (8504a5), with Swift 6.1 for Wasm on 27 May 2025 08:31:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[10/19] Compiling Requests RequestError.swift
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
137 |     ///   - Any errors thrown by the request's `bodyProvider`.
138 |     ///
139 |     public func toURLRequest() throws -> URLRequest {
    |                                          `- error: cannot find type 'URLRequest' in scope
140 |         guard let url = buildRequestURL() else {
141 |             throw InvalidRequestURLError()
/host/spi-builder-workspace/Sources/RequestConvertible.swift:144:23: error: cannot find 'URLRequest' in scope
142 |         }
143 |
144 |         var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
    |                       `- error: cannot find 'URLRequest' in scope
145 |         var header = self.header
146 |         let body = try bodyProvider.body(updating: &header)
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
34 |
35 |     /// The failed request or `nil` if the request could not be constructed.
36 |     public let request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
/host/spi-builder-workspace/Sources/RequestError.swift:39:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:44:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     /// HTTP response.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         return response as? HTTPURLResponse
46 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                  `- error: cannot find type 'URLRequest' in scope
49 |         self.underlyingError = underlyingError
50 |         self.request = request
/host/spi-builder-workspace/Sources/RequestError.swift:48:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.underlyingError = underlyingError
50 |         self.request = request
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:39:16: warning: stored property 'response' of 'Sendable'-conforming struct 'RequestTransportError' has non-sendable type 'URLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'RequestTransportError' has non-sendable type 'URLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
/host/spi-builder-workspace/Sources/RequestError.swift:45:25: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
46 |     }
47 |
/host/spi-builder-workspace/Sources/RequestError.swift:45:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[11/19] Compiling Requests Request.swift
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/Request.swift:43:23: error: extra arguments at positions #1, #3 in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                       `- error: extra arguments at positions #1, #3 in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:33: error: missing argument for parameter 'baseURL' in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                 `- error: missing argument for parameter 'baseURL' in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:16: error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                `- error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 44 |     }
 45 |
    :
159 | /// - SeeAlso: `RequestProviding`
160 | ///
161 | public struct Request<API: RequestProviding, Resource>: RequestConvertible {
    |                       `- note: arguments to generic parameter 'API' ('AnonymousRequestProvider' and 'Self') are expected to be equal
162 |
163 |     // MARK: - Public Properties
/host/spi-builder-workspace/Sources/Request.swift:43:73: error: cannot infer contextual base in reference to member 'none'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                                                         `- error: cannot infer contextual base in reference to member 'none'
 44 |     }
 45 |
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:18: error: extra arguments at positions #1, #3 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                  `- error: extra arguments at positions #1, #3 in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:66: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                  `- error: missing argument for parameter 'baseURL' in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:106: error: cannot infer contextual base in reference to member 'none'
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                                                          `- error: cannot infer contextual base in reference to member 'none'
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'API' = 'API'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'Resource' = 'NewResource'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:41: error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                                         `- error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:419:19: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
419 |           api: api,
    |                   `- error: missing argument for parameter 'baseURL' in call
420 |           endpoint: endpoint,
421 |           responseDecoder: newDecoder,
[12/19] Compiling Requests RequestBody.swift
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/Request.swift:43:23: error: extra arguments at positions #1, #3 in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                       `- error: extra arguments at positions #1, #3 in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:33: error: missing argument for parameter 'baseURL' in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                 `- error: missing argument for parameter 'baseURL' in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:16: error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                `- error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 44 |     }
 45 |
    :
159 | /// - SeeAlso: `RequestProviding`
160 | ///
161 | public struct Request<API: RequestProviding, Resource>: RequestConvertible {
    |                       `- note: arguments to generic parameter 'API' ('AnonymousRequestProvider' and 'Self') are expected to be equal
162 |
163 |     // MARK: - Public Properties
/host/spi-builder-workspace/Sources/Request.swift:43:73: error: cannot infer contextual base in reference to member 'none'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                                                         `- error: cannot infer contextual base in reference to member 'none'
 44 |     }
 45 |
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:18: error: extra arguments at positions #1, #3 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                  `- error: extra arguments at positions #1, #3 in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:66: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                  `- error: missing argument for parameter 'baseURL' in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:106: error: cannot infer contextual base in reference to member 'none'
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                                                          `- error: cannot infer contextual base in reference to member 'none'
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'API' = 'API'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'Resource' = 'NewResource'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:41: error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                                         `- error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:419:19: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
419 |           api: api,
    |                   `- error: missing argument for parameter 'baseURL' in call
420 |           endpoint: endpoint,
421 |           responseDecoder: newDecoder,
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/19] Compiling Requests AuthenticationProvider.swift
/host/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
   |                       `- 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'
/host/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: add '@MainActor' to make static property 'bearerToken' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         AuthenticationProvider { header in
40 |             header[.authorization] = "Bearer \(token)"
/host/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         header.remove(.contentType)
 46 |         return .none
[14/19] Compiling Requests BodyProvider.swift
/host/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
   |                       `- 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'
/host/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: add '@MainActor' to make static property 'bearerToken' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         AuthenticationProvider { header in
40 |             header[.authorization] = "Bearer \(token)"
/host/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         header.remove(.contentType)
 46 |         return .none
[15/19] Emitting module Requests
/host/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
   |                       `- 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'
/host/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: add '@MainActor' to make static property 'bearerToken' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |         AuthenticationProvider { header in
40 |             header[.authorization] = "Bearer \(token)"
/host/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |         header.remove(.contentType)
 46 |         return .none
/host/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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// An empty `Header`.
/host/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
/host/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: add '@MainActor' to make static property 'header' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/host/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
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
/host/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: add '@MainActor' to make static property 'bodyProvider' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/host/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
/host/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: add '@MainActor' to make static property 'authenticationProvider' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/host/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
/host/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: add '@MainActor' to make static property 'accept' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |
 90 |     static let acceptLanguage: Field.Name = "Accept-Language"
/host/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: add '@MainActor' to make static property 'acceptLanguage' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |
 92 |     static let authorization: Field.Name = "Authorization"
/host/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: add '@MainActor' to make static property 'authorization' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 93 |
 94 |     static let contentType: Field.Name = "Content-Type"
/host/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: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                `- 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'
/host/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: add '@MainActor' to make static property 'contentType' part of global actor 'MainActor'
    |                `- 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'
/host/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: add '@MainActor' to make static property 'accept' part of global actor 'MainActor'
    |                `- 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'
/host/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: add '@MainActor' to make static property 'acceptLanguage' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | }
/host/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: add '@MainActor' to make static property 'connect' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     static let delete: HTTPMethod = "DELETE"
/host/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: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 |     static let get: HTTPMethod = "GET"
/host/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: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 |     static let head: HTTPMethod = "HEAD"
/host/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: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     static let options: HTTPMethod = "OPTIONS"
/host/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: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 |     static let patch: HTTPMethod = "PATCH"
/host/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: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 |     static let post: HTTPMethod = "POST"
/host/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: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 |     static let put: HTTPMethod = "PUT"
/host/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: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |
58 |     static let trace: HTTPMethod = "TRACE"
/host/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: add '@MainActor' to make static property 'trace' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/host/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: add '@MainActor' to make static property 'application' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 |
129 |     static let audio = MediaType.TopLevelType("audio")
/host/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: add '@MainActor' to make static property 'audio' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 |     static let font = MediaType.TopLevelType("font")
/host/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: add '@MainActor' to make static property 'font' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 |
133 |     static let image = MediaType.TopLevelType("image")
/host/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: add '@MainActor' to make static property 'image' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 |
135 |     static let message = MediaType.TopLevelType("message")
/host/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: add '@MainActor' to make static property 'message' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 |     static let model = MediaType.TopLevelType("model")
/host/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: add '@MainActor' to make static property 'model' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 |     static let multipart = MediaType.TopLevelType("multipart")
/host/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: add '@MainActor' to make static property 'multipart' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |
141 |     static let text = MediaType.TopLevelType("text")
/host/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: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 |     static let video = MediaType.TopLevelType("video")
/host/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: add '@MainActor' to make static property 'video' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | }
145 |
/host/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: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 |     static let html = MediaType.SubType("html")
/host/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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 |     static let css = MediaType.SubType("css")
/host/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: add '@MainActor' to make static property 'css' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 |     static let json = MediaType.SubType("json")
/host/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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 |     static let xml = MediaType.SubType("xml")
/host/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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 |
160 |     static let urlEncodedForm = MediaType.SubType("x-www-form-urlencoded")
/host/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: add '@MainActor' to make static property 'urlEncodedForm' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 |     static let octetStream = MediaType.SubType("octet-stream")
/host/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: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 |     static let formData = MediaType.SubType("form-data")
/host/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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 |     static let gif = MediaType.SubType("gif")
/host/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: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     static let png = MediaType.SubType("png")
/host/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: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 |     static let jpeg = MediaType.SubType("jpeg")
/host/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: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 |     static let svg = MediaType.SubType("svg+xml")
/host/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: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | }
174 |
/host/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: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 |     static let xml = MediaType(type: .application, subtype: .xml, parameters: ["charset": "utf-8"])
/host/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: add '@MainActor' to make static property 'xml' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 |     static let urlEncodedForm = MediaType(type: .application, subtype: .urlEncodedForm,
/host/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: add '@MainActor' to make static property 'urlEncodedForm' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |                                           parameters: ["charset": "utf-8"])
187 |
/host/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: add '@MainActor' to make static property 'binary' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 |     // MARK: - text/*
/host/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: add '@MainActor' to make static property 'plainText' part of global actor 'MainActor'
    |                `- 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"])
/host/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: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 |     static let css = MediaType(type: .text, subtype: .css, parameters: ["charset": "utf-8"])
/host/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: add '@MainActor' to make static property 'css' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 |     // MARK: - image/*
/host/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: add '@MainActor' to make static property 'gif' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 |
202 |     static let png = MediaType(type: .image, subtype: .png)
/host/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: add '@MainActor' to make static property 'png' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 |
204 |     static let jpeg = MediaType(type: .image, subtype: .jpeg)
/host/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: add '@MainActor' to make static property 'jpeg' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 |     static let svg = MediaType(type: .image, subtype: .svg)
/host/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: add '@MainActor' to make static property 'svg' part of global actor 'MainActor'
    |                `- 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'
/host/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: add '@MainActor' to make static property 'formData' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |         MediaType(type: .multipart, subtype: .formData, parameters: ["boundary": boundary])
213 |     }
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
137 |     ///   - Any errors thrown by the request's `bodyProvider`.
138 |     ///
139 |     public func toURLRequest() throws -> URLRequest {
    |                                          `- error: cannot find type 'URLRequest' in scope
140 |         guard let url = buildRequestURL() else {
141 |             throw InvalidRequestURLError()
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
34 |
35 |     /// The failed request or `nil` if the request could not be constructed.
36 |     public let request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
/host/spi-builder-workspace/Sources/RequestError.swift:39:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:44:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     /// HTTP response.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         return response as? HTTPURLResponse
46 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                  `- error: cannot find type 'URLRequest' in scope
49 |         self.underlyingError = underlyingError
50 |         self.request = request
/host/spi-builder-workspace/Sources/RequestError.swift:48:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.underlyingError = underlyingError
50 |         self.request = request
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:39:16: warning: stored property 'response' of 'Sendable'-conforming struct 'RequestTransportError' has non-sendable type 'URLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'RequestTransportError' has non-sendable type 'URLResponse?' (aka 'Optional<AnyObject>'); this is an error in the Swift 6 language mode
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:14:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |     /// The body of the decoder.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
   |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:16:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
   |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         self.decode = decode
18 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/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: add '@MainActor' to make static property 'data' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 |
/host/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: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     /// Decodes a string from the response data.
/host/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
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[16/19] Compiling Requests CaseInsensitiveString.swift
/host/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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// An empty `Header`.
/host/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
/host/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: add '@MainActor' to make static property 'header' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/host/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
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
/host/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: add '@MainActor' to make static property 'bodyProvider' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/host/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
/host/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: add '@MainActor' to make static property 'authenticationProvider' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/host/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
[17/19] Compiling Requests DefaultValue.swift
/host/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: add '@MainActor' to make static property 'method' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     /// An empty `Header`.
/host/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
/host/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: add '@MainActor' to make static property 'header' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// An empty array of query items.
/host/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
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
/host/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: add '@MainActor' to make static property 'bodyProvider' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// A `none` authentication provider.
/host/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
/host/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: add '@MainActor' to make static property 'authenticationProvider' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/host/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
[18/19] Compiling Requests URLQueryItem+ExpresibleByDictionaryLiteral.swift
/host/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
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:31:22: error: cannot find type 'DispatchQueue' in scope
 29 |       _ request: R,
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
 31 |       decodingQueue: DispatchQueue = .global(qos: .userInitiated),
    |                      `- error: cannot find type 'DispatchQueue' in scope
 32 |       callbackQueue: DispatchQueue = .main,
 33 |       configureTask: (URLSessionTask) -> Void = { _ in },
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:32:22: error: cannot find type 'DispatchQueue' in scope
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
 31 |       decodingQueue: DispatchQueue = .global(qos: .userInitiated),
 32 |       callbackQueue: DispatchQueue = .main,
    |                      `- error: cannot find type 'DispatchQueue' in scope
 33 |       configureTask: (URLSessionTask) -> Void = { _ in },
 34 |       completionHandler: @escaping (NetworkResult<R.Resource>) -> Void
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:116:24: error: cannot find type 'URLRequest' in scope
114 |
115 |     private func dataTask(
116 |       with urlRequest: URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
117 |       configurationBlock configureTask: (URLSessionTask) -> Void,
118 |       completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
[19/19] Compiling Requests URLSession+Requests.swift
/host/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
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:31:22: error: cannot find type 'DispatchQueue' in scope
 29 |       _ request: R,
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
 31 |       decodingQueue: DispatchQueue = .global(qos: .userInitiated),
    |                      `- error: cannot find type 'DispatchQueue' in scope
 32 |       callbackQueue: DispatchQueue = .main,
 33 |       configureTask: (URLSessionTask) -> Void = { _ in },
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:32:22: error: cannot find type 'DispatchQueue' in scope
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
 31 |       decodingQueue: DispatchQueue = .global(qos: .userInitiated),
 32 |       callbackQueue: DispatchQueue = .main,
    |                      `- error: cannot find type 'DispatchQueue' in scope
 33 |       configureTask: (URLSessionTask) -> Void = { _ in },
 34 |       completionHandler: @escaping (NetworkResult<R.Resource>) -> Void
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:116:24: error: cannot find type 'URLRequest' in scope
114 |
115 |     private func dataTask(
116 |       with urlRequest: URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
117 |       configurationBlock configureTask: (URLSessionTask) -> Void,
118 |       completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling Requests RequestConvertible.swift
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
137 |     ///   - Any errors thrown by the request's `bodyProvider`.
138 |     ///
139 |     public func toURLRequest() throws -> URLRequest {
    |                                          `- error: cannot find type 'URLRequest' in scope
140 |         guard let url = buildRequestURL() else {
141 |             throw InvalidRequestURLError()
/host/spi-builder-workspace/Sources/RequestConvertible.swift:144:23: error: cannot find 'URLRequest' in scope
142 |         }
143 |
144 |         var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
    |                       `- error: cannot find 'URLRequest' in scope
145 |         var header = self.header
146 |         let body = try bodyProvider.body(updating: &header)
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
34 |
35 |     /// The failed request or `nil` if the request could not be constructed.
36 |     public let request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
/host/spi-builder-workspace/Sources/RequestError.swift:39:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:44:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     /// HTTP response.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         return response as? HTTPURLResponse
46 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                  `- error: cannot find type 'URLRequest' in scope
49 |         self.underlyingError = underlyingError
50 |         self.request = request
/host/spi-builder-workspace/Sources/RequestError.swift:48:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.underlyingError = underlyingError
50 |         self.request = request
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:45:25: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
46 |     }
47 |
/host/spi-builder-workspace/Sources/RequestError.swift:45:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[3/16] Compiling Requests RequestError.swift
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
137 |     ///   - Any errors thrown by the request's `bodyProvider`.
138 |     ///
139 |     public func toURLRequest() throws -> URLRequest {
    |                                          `- error: cannot find type 'URLRequest' in scope
140 |         guard let url = buildRequestURL() else {
141 |             throw InvalidRequestURLError()
/host/spi-builder-workspace/Sources/RequestConvertible.swift:144:23: error: cannot find 'URLRequest' in scope
142 |         }
143 |
144 |         var request = URLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeoutInterval)
    |                       `- error: cannot find 'URLRequest' in scope
145 |         var header = self.header
146 |         let body = try bodyProvider.body(updating: &header)
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
34 |
35 |     /// The failed request or `nil` if the request could not be constructed.
36 |     public let request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
/host/spi-builder-workspace/Sources/RequestError.swift:39:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:44:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     /// HTTP response.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         return response as? HTTPURLResponse
46 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                  `- error: cannot find type 'URLRequest' in scope
49 |         self.underlyingError = underlyingError
50 |         self.request = request
/host/spi-builder-workspace/Sources/RequestError.swift:48:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.underlyingError = underlyingError
50 |         self.request = request
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:45:25: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                         `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
46 |     }
47 |
/host/spi-builder-workspace/Sources/RequestError.swift:45:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
45 |         return response as? HTTPURLResponse
   |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/18] Compiling Requests Field.swift
[5/18] Compiling Requests HTTPMethod.swift
[6/18] Emitting module Requests
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/RequestConvertible.swift:139:42: error: cannot find type 'URLRequest' in scope
137 |     ///   - Any errors thrown by the request's `bodyProvider`.
138 |     ///
139 |     public func toURLRequest() throws -> URLRequest {
    |                                          `- error: cannot find type 'URLRequest' in scope
140 |         guard let url = buildRequestURL() else {
141 |             throw InvalidRequestURLError()
/host/spi-builder-workspace/Sources/RequestError.swift:36:25: error: cannot find type 'URLRequest' in scope
34 |
35 |     /// The failed request or `nil` if the request could not be constructed.
36 |     public let request: URLRequest?
   |                         `- error: cannot find type 'URLRequest' in scope
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
/host/spi-builder-workspace/Sources/RequestError.swift:39:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |
38 |     /// A response received before the error occurred or `nil` if there was no response.
39 |     public let response: URLResponse?
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     /// A HTTP response received before the error occurred or `nil` if there was no response or `response` is not an
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:44:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 |     /// HTTP response.
43 |     ///
44 |     public var httpResponse: HTTPURLResponse? {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 |         return response as? HTTPURLResponse
46 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestError.swift:48:50: error: cannot find type 'URLRequest' in scope
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                  `- error: cannot find type 'URLRequest' in scope
49 |         self.underlyingError = underlyingError
50 |         self.request = request
/host/spi-builder-workspace/Sources/RequestError.swift:48:73: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |     }
47 |
48 |     public init(underlyingError: Error, request: URLRequest?, response: URLResponse?) {
   |                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |         self.underlyingError = underlyingError
50 |         self.request = request
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:14:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |     /// The body of the decoder.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
   |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:16:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
   |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         self.decode = decode
18 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/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
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[7/18] Compiling Requests CaseInsensitiveString.swift
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
[8/18] Compiling Requests DefaultValue.swift
/host/spi-builder-workspace/Sources/DefaultValue.swift:23:37: error: cannot find 'URLRequest' in scope
21 |
22 |     /// The `useProtocolCachePolicy`.
23 |     public static let cachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
   |                                     `- error: cannot find 'URLRequest' in scope
24 |
25 |     /// 60 seconds.
[9/18] Compiling Requests URLQueryItem+ExpresibleByDictionaryLiteral.swift
/host/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
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:31:22: error: cannot find type 'DispatchQueue' in scope
 29 |       _ request: R,
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
 31 |       decodingQueue: DispatchQueue = .global(qos: .userInitiated),
    |                      `- error: cannot find type 'DispatchQueue' in scope
 32 |       callbackQueue: DispatchQueue = .main,
 33 |       configureTask: (URLSessionTask) -> Void = { _ in },
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:32:22: error: cannot find type 'DispatchQueue' in scope
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
 31 |       decodingQueue: DispatchQueue = .global(qos: .userInitiated),
 32 |       callbackQueue: DispatchQueue = .main,
    |                      `- error: cannot find type 'DispatchQueue' in scope
 33 |       configureTask: (URLSessionTask) -> Void = { _ in },
 34 |       completionHandler: @escaping (NetworkResult<R.Resource>) -> Void
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:116:24: error: cannot find type 'URLRequest' in scope
114 |
115 |     private func dataTask(
116 |       with urlRequest: URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
117 |       configurationBlock configureTask: (URLSessionTask) -> Void,
118 |       completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
[10/18] Compiling Requests URLSession+Requests.swift
/host/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
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:10:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 | import Foundation
  9 |
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
    |                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 | extension URLSession {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 10 | public typealias NetworkResult<Resource> = Result<(HTTPURLResponse, Resource), RequestTransportError>
 11 |
 12 | extension URLSession {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
 13 |
 14 |     /// Executes a `RequestConvertible` request and attempts to decode the response body.
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:128:71: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | // MARK: - Helper Functions
127 |
128 | private func decodeBody<Body>(from data: Data?, forResponse response: HTTPURLResponse,
    |                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
129 |                               using responseDecoder: ResponseDecoder<Body>) throws -> Body {
130 |     guard Body.self != Void.self else { return () as! Body } // swiftlint:disable:this force_cast
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:31:22: error: cannot find type 'DispatchQueue' in scope
 29 |       _ request: R,
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
 31 |       decodingQueue: DispatchQueue = .global(qos: .userInitiated),
    |                      `- error: cannot find type 'DispatchQueue' in scope
 32 |       callbackQueue: DispatchQueue = .main,
 33 |       configureTask: (URLSessionTask) -> Void = { _ in },
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:32:22: error: cannot find type 'DispatchQueue' in scope
 30 |       validateResponse validationBlock: ((HTTPURLResponse) throws -> Bool)? = nil,
 31 |       decodingQueue: DispatchQueue = .global(qos: .userInitiated),
 32 |       callbackQueue: DispatchQueue = .main,
    |                      `- error: cannot find type 'DispatchQueue' in scope
 33 |       configureTask: (URLSessionTask) -> Void = { _ in },
 34 |       completionHandler: @escaping (NetworkResult<R.Resource>) -> Void
/host/spi-builder-workspace/Sources/URLSession+Requests.swift:116:24: error: cannot find type 'URLRequest' in scope
114 |
115 |     private func dataTask(
116 |       with urlRequest: URLRequest,
    |                        `- error: cannot find type 'URLRequest' in scope
117 |       configurationBlock configureTask: (URLSessionTask) -> Void,
118 |       completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void
[11/18] Compiling Requests AuthenticationProvider.swift
[12/18] Compiling Requests BodyProvider.swift
[13/18] Compiling Requests Header.swift
[14/18] Compiling Requests MediaType.swift
[15/18] Compiling Requests ResponseDecoder.swift
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:14:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |     /// The body of the decoder.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
   |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:16:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
   |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         self.decode = decode
18 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[16/18] Compiling Requests URL+StaticString.swift
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:14:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 |     /// The body of the decoder.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
   |                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ResponseDecoder.swift:16:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let decode: (HTTPURLResponse, Data) throws -> Response
15 |
16 |     public init(_ decode: @escaping (HTTPURLResponse, Data) throws -> Response) {
   |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         self.decode = decode
18 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[17/18] Compiling Requests Request.swift
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/Request.swift:43:23: error: extra arguments at positions #1, #3 in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                       `- error: extra arguments at positions #1, #3 in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:33: error: missing argument for parameter 'baseURL' in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                 `- error: missing argument for parameter 'baseURL' in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:16: error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                `- error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 44 |     }
 45 |
    :
159 | /// - SeeAlso: `RequestProviding`
160 | ///
161 | public struct Request<API: RequestProviding, Resource>: RequestConvertible {
    |                       `- note: arguments to generic parameter 'API' ('AnonymousRequestProvider' and 'Self') are expected to be equal
162 |
163 |     // MARK: - Public Properties
/host/spi-builder-workspace/Sources/Request.swift:43:73: error: cannot infer contextual base in reference to member 'none'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                                                         `- error: cannot infer contextual base in reference to member 'none'
 44 |     }
 45 |
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:18: error: extra arguments at positions #1, #3 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                  `- error: extra arguments at positions #1, #3 in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:66: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                  `- error: missing argument for parameter 'baseURL' in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:106: error: cannot infer contextual base in reference to member 'none'
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                                                          `- error: cannot infer contextual base in reference to member 'none'
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'API' = 'API'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'Resource' = 'NewResource'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:41: error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                                         `- error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:419:19: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
419 |           api: api,
    |                   `- error: missing argument for parameter 'baseURL' in call
420 |           endpoint: endpoint,
421 |           responseDecoder: newDecoder,
[18/18] Compiling Requests RequestBody.swift
/host/spi-builder-workspace/Sources/Request.swift:179:29: error: cannot find type 'URLRequest' in scope
177 |     public var queryItems: [URLQueryItem]
178 |
179 |     public var cachePolicy: URLRequest.CachePolicy
    |                             `- error: cannot find type 'URLRequest' in scope
180 |
181 |     public var timeoutInterval: TimeInterval
/host/spi-builder-workspace/Sources/Request.swift:204:20: error: cannot find type 'URLRequest' in scope
202 |       header: Header = DefaultValue.header,
203 |       queryItems: [URLQueryItem] = DefaultValue.queryItems,
204 |       cachePolicy: URLRequest.CachePolicy = DefaultValue.cachePolicy,
    |                    `- error: cannot find type 'URLRequest' in scope
205 |       timeoutInterval: TimeInterval = DefaultValue.timeout,
206 |       bodyProvider: BodyProvider = DefaultValue.bodyProvider,
/host/spi-builder-workspace/Sources/RequestConvertible.swift:56:22: error: cannot find type 'URLRequest' in scope
 54 |
 55 |     /// The caching policy to specify when converted to a `URLRequest`. Defaults to `.useProtocolCachePolicy`.
 56 |     var cachePolicy: URLRequest.CachePolicy { get }
    |                      `- error: cannot find type 'URLRequest' in scope
 57 |
 58 |     /// The timeout interval to specify when converted to a `URLRequest`. Defaults to `60.0`.
/host/spi-builder-workspace/Sources/Request.swift:43:23: error: extra arguments at positions #1, #3 in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                       `- error: extra arguments at positions #1, #3 in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:33: error: missing argument for parameter 'baseURL' in call
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                 `- error: missing argument for parameter 'baseURL' in call
 44 |     }
 45 |
    :
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
/host/spi-builder-workspace/Sources/Request.swift:43:16: error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                `- error: cannot convert return expression of type 'Request<AnonymousRequestProvider, ()>' to return type 'Request<Self, Void>'
 44 |     }
 45 |
    :
159 | /// - SeeAlso: `RequestProviding`
160 | ///
161 | public struct Request<API: RequestProviding, Resource>: RequestConvertible {
    |                       `- note: arguments to generic parameter 'API' ('AnonymousRequestProvider' and 'Self') are expected to be equal
162 |
163 |     // MARK: - Public Properties
/host/spi-builder-workspace/Sources/Request.swift:43:73: error: cannot infer contextual base in reference to member 'none'
 41 |
 42 |     public func request(to endpoint: String, using method: HTTPMethod) -> Request<Self, Void> {
 43 |         return Request(api: self, endpoint: endpoint, responseDecoder: .none, method: method)
    |                                                                         `- error: cannot infer contextual base in reference to member 'none'
 44 |     }
 45 |
/host/spi-builder-workspace/Sources/RequestConvertible.swift:86:29: error: cannot find type 'URLRequest' in scope
 84 |     }
 85 |
 86 |     public var cachePolicy: URLRequest.CachePolicy {
    |                             `- error: cannot find type 'URLRequest' in scope
 87 |         return DefaultValue.cachePolicy
 88 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:18: error: extra arguments at positions #1, #3 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                  `- error: extra arguments at positions #1, #3 in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:66: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                  `- error: missing argument for parameter 'baseURL' in call
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:237:106: error: cannot infer contextual base in reference to member 'none'
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
    |                                                                                                          `- error: cannot infer contextual base in reference to member 'none'
238 |                   method: method)
239 |     }
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'API' = 'API'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'API' and 'AnonymousRequestProvider' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:16: error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
223 | // MARK: - Convenience Initializers
224 |
225 | extension Request where API == AnonymousRequestProvider, Resource == Void {
    | `- note: where 'Resource' = 'NewResource'
226 |
227 |     /// Initialises a new request using an `AnonymousRequestProvider`.
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                `- error: referencing initializer 'init(method:baseURL:endpoint:)' on 'Request' requires the types 'NewResource' and '()' be equivalent
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:418:41: error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
416 |
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
    |                                         `- error: extra arguments at positions #1, #3, #5, #6, #7, #8, #9 in call
419 |           api: api,
420 |           endpoint: endpoint,
/host/spi-builder-workspace/Sources/Request.swift:419:19: error: missing argument for parameter 'baseURL' in call
234 |     /// - Warning: Use of this initializer outside of playgrounds and exploratory work is strongly discouraged.
235 |     ///
236 |     public init(method: HTTPMethod, baseURL: URL, endpoint: String = "") {
    |            `- note: 'init(method:baseURL:endpoint:)' declared here
237 |         self.init(api: AnonymousRequestProvider(baseURL: baseURL), endpoint: endpoint, responseDecoder: .none,
238 |                   method: method)
    :
417 |     private func adapted<NewResource>(for newDecoder: ResponseDecoder<NewResource>) -> Request<API, NewResource> {
418 |         return Request<API, NewResource>(
419 |           api: api,
    |                   `- error: missing argument for parameter 'baseURL' in call
420 |           endpoint: endpoint,
421 |           responseDecoder: newDecoder,
BUILD FAILURE 6.1 wasm