Build Information
Failed to build ComposableRequest, reference main (151026
), with Swift 6.1 for Android on 28 May 2025 12:10:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
[6/9] Emitting module Storages
[7/9] Compiling Storages UserDefaultsStorage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/59] Emitting module Requests
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Cellular.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsCellularAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Constrained.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsConstrainedNetworkAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Expensive.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.allowsExpensiveNetworkAccess = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:23:23: error: cannot find type 'URLRequest' in scope
21 |
22 | /// The request network service type.
23 | public let value: URLRequest.NetworkServiceType
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:28:39: error: cannot find type 'URLRequest' in scope
26 | ///
27 | /// - parameter networkServiceType: A `URLRequest.NetworkServiceType`.
28 | public init(_ networkServiceType: URLRequest.NetworkServiceType) {
| `- error: cannot find type 'URLRequest' in scope
29 | self.value = networkServiceType
30 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.networkServiceType = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:15:15: error: type 'Service' does not conform to protocol 'Component'
13 | ///
14 | /// - note: Children do not inherit values from their parents if they're non-`nil`.
15 | public struct Service: Component {
| |- error: type 'Service' does not conform to protocol 'Component'
| `- note: add stubs for conformance
16 | /// The default value when no cached
17 | /// component can be found.
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:17:20: note: protocol requires nested type 'Value'
15 | public protocol Component {
16 | /// The associated value type.
17 | associatedtype Value
| `- note: protocol requires nested type 'Value'
18 |
19 | /// The default value when no cached
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Timeout.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.timeoutInterval = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Body.swift:80:41: error: cannot find type 'URLRequest' in scope
78 | ///
79 | /// - parameter request: A mutable `URLRequest`.
80 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
81 | request.httpBody = value
82 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Headers.swift:91:41: error: cannot find type 'URLRequest' in scope
89 | ///
90 | /// - parameter request: A mutable `URLRequest`.
91 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
92 | request.allHTTPHeaderFields = value
93 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Method.swift:59:41: error: cannot find type 'URLRequest' in scope
57 | ///
58 | /// - parameter request: A mutable `URLRequest`.
59 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
60 | // `Method` is guaranteed to run after
61 | // `Body` in code, so we can just read
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Query.swift:96:41: error: cannot find type 'URLRequest' in scope
94 | ///
95 | /// - parameter request: A mutable `URLRequest`.
96 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
97 | // `Query` has already been
98 | // set at this point.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:8: error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:66:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
64 | }
65 |
66 | extension URLSession: EndpointResolver {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
67 | /// Compose the `DefaultResponse`.
68 | ///
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:19:24: error: cannot find type 'URLRequest' in scope
17 | public struct AnyEndpointResolver {
18 | /// The task factory.
19 | private let task: (URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:21:30: error: cannot find type 'URLRequest' in scope
19 | private let task: (URLRequest) async throws -> DefaultResponse
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
| `- error: cannot find type 'URLRequest' in scope
22 |
23 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:50:36: error: cannot find type 'URLRequest' in scope
48 | /// - returns: Some `DefaultResponse`.
49 | @_spi(Private)
50 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
51 | try await task(request)
52 | }
/host/spi-builder-workspace/Sources/Requests/Extensions/URLRequest.swift:10:11: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 | /// Init.
12 | ///
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:14:40: error: cannot find type 'HTTPCookiePropertyKey' in scope
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
15 | super.init(properties: properties)
16 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:20:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | /// Init.
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:39: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:43:11: error: cannot find type 'HTTPCookiePropertyKey' in scope
41 |
42 | /// `HTTPCookiePropertyKey` conformacy to `Codable`.
43 | extension HTTPCookiePropertyKey: Codable {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
44 | /// Init.
45 | /// - parameter decoder: A valid `Decoder`.
/host/spi-builder-workspace/Sources/Requests/Misc/DefaultResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct DefaultResponse {
12 | /// The `URLResponse`.
13 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The `Data`.
15 | public let data: Data
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
[10/65] Compiling Requests Prefix.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Single.swift:55:29: error: cannot find 'URLRequest' in scope
53 | /// - returns: Some `Output`.
54 | public func resolve<R: EndpointResolver>(with session: R) async throws -> Output {
55 | guard let request = URLRequest(path: path, components: components) else { throw EndpointError.invalidRequest }
| `- error: cannot find 'URLRequest' in scope
56 | return try output(await session.resolve(request))
57 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:8: error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:66:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
64 | }
65 |
66 | extension URLSession: EndpointResolver {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
67 | /// Compose the `DefaultResponse`.
68 | ///
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:62:10: error: type 'AnyObject' has no member 'shared'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
62 | .shared
| `- error: type 'AnyObject' has no member 'shared'
63 | }
64 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:72:36: error: cannot find type 'URLRequest' in scope
70 | /// - returns: Some `DefaultResponse`.
71 | @_spi(Private)
72 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
73 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
74 | let (data, response) = try await data(for: request)
[11/65] Compiling Requests Single.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Single.swift:55:29: error: cannot find 'URLRequest' in scope
53 | /// - returns: Some `Output`.
54 | public func resolve<R: EndpointResolver>(with session: R) async throws -> Output {
55 | guard let request = URLRequest(path: path, components: components) else { throw EndpointError.invalidRequest }
| `- error: cannot find 'URLRequest' in scope
56 | return try output(await session.resolve(request))
57 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:8: error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:66:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
64 | }
65 |
66 | extension URLSession: EndpointResolver {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
67 | /// Compose the `DefaultResponse`.
68 | ///
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:62:10: error: type 'AnyObject' has no member 'shared'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
62 | .shared
| `- error: type 'AnyObject' has no member 'shared'
63 | }
64 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:72:36: error: cannot find type 'URLRequest' in scope
70 | /// - returns: Some `DefaultResponse`.
71 | @_spi(Private)
72 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
73 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
74 | let (data, response) = try await data(for: request)
[12/65] Compiling Requests Static.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Single.swift:55:29: error: cannot find 'URLRequest' in scope
53 | /// - returns: Some `Output`.
54 | public func resolve<R: EndpointResolver>(with session: R) async throws -> Output {
55 | guard let request = URLRequest(path: path, components: components) else { throw EndpointError.invalidRequest }
| `- error: cannot find 'URLRequest' in scope
56 | return try output(await session.resolve(request))
57 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:8: error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:66:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
64 | }
65 |
66 | extension URLSession: EndpointResolver {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
67 | /// Compose the `DefaultResponse`.
68 | ///
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:62:10: error: type 'AnyObject' has no member 'shared'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
62 | .shared
| `- error: type 'AnyObject' has no member 'shared'
63 | }
64 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:72:36: error: cannot find type 'URLRequest' in scope
70 | /// - returns: Some `DefaultResponse`.
71 | @_spi(Private)
72 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
73 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
74 | let (data, response) = try await data(for: request)
[13/65] Compiling Requests Endpoint.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Single.swift:55:29: error: cannot find 'URLRequest' in scope
53 | /// - returns: Some `Output`.
54 | public func resolve<R: EndpointResolver>(with session: R) async throws -> Output {
55 | guard let request = URLRequest(path: path, components: components) else { throw EndpointError.invalidRequest }
| `- error: cannot find 'URLRequest' in scope
56 | return try output(await session.resolve(request))
57 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:8: error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:66:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
64 | }
65 |
66 | extension URLSession: EndpointResolver {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
67 | /// Compose the `DefaultResponse`.
68 | ///
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:62:10: error: type 'AnyObject' has no member 'shared'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
62 | .shared
| `- error: type 'AnyObject' has no member 'shared'
63 | }
64 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:72:36: error: cannot find type 'URLRequest' in scope
70 | /// - returns: Some `DefaultResponse`.
71 | @_spi(Private)
72 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
73 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
74 | let (data, response) = try await data(for: request)
[14/65] Compiling Requests EndpointResolver.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Single.swift:55:29: error: cannot find 'URLRequest' in scope
53 | /// - returns: Some `Output`.
54 | public func resolve<R: EndpointResolver>(with session: R) async throws -> Output {
55 | guard let request = URLRequest(path: path, components: components) else { throw EndpointError.invalidRequest }
| `- error: cannot find 'URLRequest' in scope
56 | return try output(await session.resolve(request))
57 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:8: error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:66:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
64 | }
65 |
66 | extension URLSession: EndpointResolver {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
67 | /// Compose the `DefaultResponse`.
68 | ///
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:62:10: error: type 'AnyObject' has no member 'shared'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
62 | .shared
| `- error: type 'AnyObject' has no member 'shared'
63 | }
64 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:72:36: error: cannot find type 'URLRequest' in scope
70 | /// - returns: Some `DefaultResponse`.
71 | @_spi(Private)
72 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
73 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
74 | let (data, response) = try await data(for: request)
[15/65] Compiling Requests LoopEndpoint.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Single.swift:55:29: error: cannot find 'URLRequest' in scope
53 | /// - returns: Some `Output`.
54 | public func resolve<R: EndpointResolver>(with session: R) async throws -> Output {
55 | guard let request = URLRequest(path: path, components: components) else { throw EndpointError.invalidRequest }
| `- error: cannot find 'URLRequest' in scope
56 | return try output(await session.resolve(request))
57 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:8: error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:66:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
64 | }
65 |
66 | extension URLSession: EndpointResolver {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
67 | /// Compose the `DefaultResponse`.
68 | ///
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:62:10: error: type 'AnyObject' has no member 'shared'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
62 | .shared
| `- error: type 'AnyObject' has no member 'shared'
63 | }
64 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:72:36: error: cannot find type 'URLRequest' in scope
70 | /// - returns: Some `DefaultResponse`.
71 | @_spi(Private)
72 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
73 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
74 | let (data, response) = try await data(for: request)
[16/65] Compiling Requests SingleEndpoint.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Concrete/Single.swift:55:29: error: cannot find 'URLRequest' in scope
53 | /// - returns: Some `Output`.
54 | public func resolve<R: EndpointResolver>(with session: R) async throws -> Output {
55 | guard let request = URLRequest(path: path, components: components) else { throw EndpointError.invalidRequest }
| `- error: cannot find 'URLRequest' in scope
56 | return try output(await session.resolve(request))
57 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:8: error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: no type for 'Self' can satisfy both 'Self == AnyObject' and 'Self : EndpointResolver'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:59:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 | }
58 |
59 | public extension EndpointResolver where Self == URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:66:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
64 | }
65 |
66 | extension URLSession: EndpointResolver {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
67 | /// Compose the `DefaultResponse`.
68 | ///
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:62:10: error: type 'AnyObject' has no member 'shared'
60 | /// Return some `shared` `URLSession`.
61 | static var shared: Self {
62 | .shared
| `- error: type 'AnyObject' has no member 'shared'
63 | }
64 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:72:36: error: cannot find type 'URLRequest' in scope
70 | /// - returns: Some `DefaultResponse`.
71 | @_spi(Private)
72 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
73 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
74 | let (data, response) = try await data(for: request)
[17/65] Compiling Requests Lock.swift
[18/65] Compiling Requests Offset.swift
[19/65] Compiling Requests Providers.swift
[20/65] Compiling Requests LockProvider.swift
[21/65] Compiling Requests OffsetProvider.swift
[22/65] Compiling Requests Provider.swift
[23/65] Compiling Requests Method.swift
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Method.swift:59:41: error: cannot find type 'URLRequest' in scope
57 | ///
58 | /// - parameter request: A mutable `URLRequest`.
59 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
60 | // `Method` is guaranteed to run after
61 | // `Body` in code, so we can just read
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Query.swift:96:41: error: cannot find type 'URLRequest' in scope
94 | ///
95 | /// - parameter request: A mutable `URLRequest`.
96 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
97 | // `Query` has already been
98 | // set at this point.
[24/65] Compiling Requests Query.swift
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Method.swift:59:41: error: cannot find type 'URLRequest' in scope
57 | ///
58 | /// - parameter request: A mutable `URLRequest`.
59 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
60 | // `Method` is guaranteed to run after
61 | // `Body` in code, so we can just read
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Query.swift:96:41: error: cannot find type 'URLRequest' in scope
94 | ///
95 | /// - parameter request: A mutable `URLRequest`.
96 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
97 | // `Query` has already been
98 | // set at this point.
[25/65] Compiling Requests Component.swift
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Method.swift:59:41: error: cannot find type 'URLRequest' in scope
57 | ///
58 | /// - parameter request: A mutable `URLRequest`.
59 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
60 | // `Method` is guaranteed to run after
61 | // `Body` in code, so we can just read
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Query.swift:96:41: error: cannot find type 'URLRequest' in scope
94 | ///
95 | /// - parameter request: A mutable `URLRequest`.
96 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
97 | // `Query` has already been
98 | // set at this point.
[26/65] Compiling Requests Catch.swift
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Method.swift:59:41: error: cannot find type 'URLRequest' in scope
57 | ///
58 | /// - parameter request: A mutable `URLRequest`.
59 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
60 | // `Method` is guaranteed to run after
61 | // `Body` in code, so we can just read
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Query.swift:96:41: error: cannot find type 'URLRequest' in scope
94 | ///
95 | /// - parameter request: A mutable `URLRequest`.
96 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
97 | // `Query` has already been
98 | // set at this point.
[27/65] Compiling Requests Collect.swift
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Method.swift:59:41: error: cannot find type 'URLRequest' in scope
57 | ///
58 | /// - parameter request: A mutable `URLRequest`.
59 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
60 | // `Method` is guaranteed to run after
61 | // `Body` in code, so we can just read
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Query.swift:96:41: error: cannot find type 'URLRequest' in scope
94 | ///
95 | /// - parameter request: A mutable `URLRequest`.
96 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
97 | // `Query` has already been
98 | // set at this point.
[28/65] Compiling Requests Endpoints.swift
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Method.swift:59:41: error: cannot find type 'URLRequest' in scope
57 | ///
58 | /// - parameter request: A mutable `URLRequest`.
59 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
60 | // `Method` is guaranteed to run after
61 | // `Body` in code, so we can just read
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Query.swift:96:41: error: cannot find type 'URLRequest' in scope
94 | ///
95 | /// - parameter request: A mutable `URLRequest`.
96 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
97 | // `Query` has already been
98 | // set at this point.
[29/65] Compiling Requests First.swift
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Method.swift:59:41: error: cannot find type 'URLRequest' in scope
57 | ///
58 | /// - parameter request: A mutable `URLRequest`.
59 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
60 | // `Method` is guaranteed to run after
61 | // `Body` in code, so we can just read
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Query.swift:96:41: error: cannot find type 'URLRequest' in scope
94 | ///
95 | /// - parameter request: A mutable `URLRequest`.
96 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
97 | // `Query` has already been
98 | // set at this point.
[30/65] Compiling Requests AnyEndpointResolver.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:19:24: error: cannot find type 'URLRequest' in scope
17 | public struct AnyEndpointResolver {
18 | /// The task factory.
19 | private let task: (URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:21:30: error: cannot find type 'URLRequest' in scope
19 | private let task: (URLRequest) async throws -> DefaultResponse
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
| `- error: cannot find type 'URLRequest' in scope
22 |
23 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:50:36: error: cannot find type 'URLRequest' in scope
48 | /// - returns: Some `DefaultResponse`.
49 | @_spi(Private)
50 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
51 | try await task(request)
52 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:35:21: error: cannot infer type of closure parameter '$0' without a type annotation
33 | /// - parameter session: Some `EndpointResolver`.
34 | public init<R: EndpointResolver>(_ session: R) {
35 | self.task = { try await session.resolve($0) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
36 | #if canImport(Combine)
37 | self.publisher = { session.resolve($0) as AnyPublisher<DefaultResponse, any Error> }
[31/65] Compiling Requests AnyLoopEndpoint.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:19:24: error: cannot find type 'URLRequest' in scope
17 | public struct AnyEndpointResolver {
18 | /// The task factory.
19 | private let task: (URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:21:30: error: cannot find type 'URLRequest' in scope
19 | private let task: (URLRequest) async throws -> DefaultResponse
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
| `- error: cannot find type 'URLRequest' in scope
22 |
23 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:50:36: error: cannot find type 'URLRequest' in scope
48 | /// - returns: Some `DefaultResponse`.
49 | @_spi(Private)
50 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
51 | try await task(request)
52 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:35:21: error: cannot infer type of closure parameter '$0' without a type annotation
33 | /// - parameter session: Some `EndpointResolver`.
34 | public init<R: EndpointResolver>(_ session: R) {
35 | self.task = { try await session.resolve($0) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
36 | #if canImport(Combine)
37 | self.publisher = { session.resolve($0) as AnyPublisher<DefaultResponse, any Error> }
[32/65] Compiling Requests AnySingleEndpoint.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:19:24: error: cannot find type 'URLRequest' in scope
17 | public struct AnyEndpointResolver {
18 | /// The task factory.
19 | private let task: (URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:21:30: error: cannot find type 'URLRequest' in scope
19 | private let task: (URLRequest) async throws -> DefaultResponse
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
| `- error: cannot find type 'URLRequest' in scope
22 |
23 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:50:36: error: cannot find type 'URLRequest' in scope
48 | /// - returns: Some `DefaultResponse`.
49 | @_spi(Private)
50 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
51 | try await task(request)
52 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:35:21: error: cannot infer type of closure parameter '$0' without a type annotation
33 | /// - parameter session: Some `EndpointResolver`.
34 | public init<R: EndpointResolver>(_ session: R) {
35 | self.task = { try await session.resolve($0) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
36 | #if canImport(Combine)
37 | self.publisher = { session.resolve($0) as AnyPublisher<DefaultResponse, any Error> }
[33/65] Compiling Requests CharacterSet.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:19:24: error: cannot find type 'URLRequest' in scope
17 | public struct AnyEndpointResolver {
18 | /// The task factory.
19 | private let task: (URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:21:30: error: cannot find type 'URLRequest' in scope
19 | private let task: (URLRequest) async throws -> DefaultResponse
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
| `- error: cannot find type 'URLRequest' in scope
22 |
23 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:50:36: error: cannot find type 'URLRequest' in scope
48 | /// - returns: Some `DefaultResponse`.
49 | @_spi(Private)
50 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
51 | try await task(request)
52 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:35:21: error: cannot infer type of closure parameter '$0' without a type annotation
33 | /// - parameter session: Some `EndpointResolver`.
34 | public init<R: EndpointResolver>(_ session: R) {
35 | self.task = { try await session.resolve($0) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
36 | #if canImport(Combine)
37 | self.publisher = { session.resolve($0) as AnyPublisher<DefaultResponse, any Error> }
[34/65] Compiling Requests Data.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:19:24: error: cannot find type 'URLRequest' in scope
17 | public struct AnyEndpointResolver {
18 | /// The task factory.
19 | private let task: (URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:21:30: error: cannot find type 'URLRequest' in scope
19 | private let task: (URLRequest) async throws -> DefaultResponse
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
| `- error: cannot find type 'URLRequest' in scope
22 |
23 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:50:36: error: cannot find type 'URLRequest' in scope
48 | /// - returns: Some `DefaultResponse`.
49 | @_spi(Private)
50 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
51 | try await task(request)
52 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:35:21: error: cannot infer type of closure parameter '$0' without a type annotation
33 | /// - parameter session: Some `EndpointResolver`.
34 | public init<R: EndpointResolver>(_ session: R) {
35 | self.task = { try await session.resolve($0) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
36 | #if canImport(Combine)
37 | self.publisher = { session.resolve($0) as AnyPublisher<DefaultResponse, any Error> }
[35/65] Compiling Requests Result.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:19:24: error: cannot find type 'URLRequest' in scope
17 | public struct AnyEndpointResolver {
18 | /// The task factory.
19 | private let task: (URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:21:30: error: cannot find type 'URLRequest' in scope
19 | private let task: (URLRequest) async throws -> DefaultResponse
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
| `- error: cannot find type 'URLRequest' in scope
22 |
23 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:50:36: error: cannot find type 'URLRequest' in scope
48 | /// - returns: Some `DefaultResponse`.
49 | @_spi(Private)
50 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
51 | try await task(request)
52 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:35:21: error: cannot infer type of closure parameter '$0' without a type annotation
33 | /// - parameter session: Some `EndpointResolver`.
34 | public init<R: EndpointResolver>(_ session: R) {
35 | self.task = { try await session.resolve($0) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
36 | #if canImport(Combine)
37 | self.publisher = { session.resolve($0) as AnyPublisher<DefaultResponse, any Error> }
[36/65] Compiling Requests String.swift
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:19:24: error: cannot find type 'URLRequest' in scope
17 | public struct AnyEndpointResolver {
18 | /// The task factory.
19 | private let task: (URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:21:30: error: cannot find type 'URLRequest' in scope
19 | private let task: (URLRequest) async throws -> DefaultResponse
20 | /// The publisher factory.
21 | private let publisher: ((URLRequest) -> Any)?
| `- error: cannot find type 'URLRequest' in scope
22 |
23 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:50:36: error: cannot find type 'URLRequest' in scope
48 | /// - returns: Some `DefaultResponse`.
49 | @_spi(Private)
50 | public func resolve(_ request: URLRequest) async throws -> DefaultResponse {
| `- error: cannot find type 'URLRequest' in scope
51 | try await task(request)
52 | }
/host/spi-builder-workspace/Sources/Requests/Endpoints/Protocols/EndpointResolver.swift:22:29: error: cannot find type 'URLRequest' in scope
20 | /// - returns: Some `DefaultResponse`.
21 | @_spi(Private)
22 | func resolve(_ request: URLRequest) async throws -> DefaultResponse
| `- error: cannot find type 'URLRequest' in scope
23 |
24 | #if canImport(Combine)
/host/spi-builder-workspace/Sources/Requests/Endpoints/Type ereasure/AnyEndpointResolver.swift:35:21: error: cannot infer type of closure parameter '$0' without a type annotation
33 | /// - parameter session: Some `EndpointResolver`.
34 | public init<R: EndpointResolver>(_ session: R) {
35 | self.task = { try await session.resolve($0) }
| `- error: cannot infer type of closure parameter '$0' without a type annotation
36 | #if canImport(Combine)
37 | self.publisher = { session.resolve($0) as AnyPublisher<DefaultResponse, any Error> }
[37/65] Compiling Requests URLRequest.swift
/host/spi-builder-workspace/Sources/Requests/Extensions/URLRequest.swift:10:11: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 | /// Init.
12 | ///
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:14:40: error: cannot find type 'HTTPCookiePropertyKey' in scope
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
15 | super.init(properties: properties)
16 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:20:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | /// Init.
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:39: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:43:11: error: cannot find type 'HTTPCookiePropertyKey' in scope
41 |
42 | /// `HTTPCookiePropertyKey` conformacy to `Codable`.
43 | extension HTTPCookiePropertyKey: Codable {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
44 | /// Init.
45 | /// - parameter decoder: A valid `Decoder`.
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:15:9: error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
15 | super.init(properties: properties)
| `- error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
16 | }
17 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:21:39: error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
| `- error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
22 | self.init(properties: properties)
23 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:22:18: error: extraneous argument label 'properties:' in call
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
| `- error: extraneous argument label 'properties:' in call
23 | }
24 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:53: error: cannot find 'HTTPCookiePropertyKey' in scope
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: cannot find 'HTTPCookiePropertyKey' in scope
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:45: error: no exact matches in call to instance method 'decode'
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: no exact matches in call to instance method 'decode'
31 | // swiftlint:enable force_unwrapping
32 | }
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Bool.Type) throws -> Bool}
| `- note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: String.Type) throws -> String}
| `- note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Double.Type) throws -> Double}
| `- note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Float.Type) throws -> Float}
| `- note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int.Type) throws -> Int}
| `- note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int8.Type) throws -> Int8}
| `- note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int16.Type) throws -> Int16}
| `- note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int32.Type) throws -> Int32}
| `- note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int64.Type) throws -> Int64}
| `- note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt.Type) throws -> UInt}
| `- note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt8.Type) throws -> UInt8}
| `- note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt16.Type) throws -> UInt16}
| `- note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt32.Type) throws -> UInt32}
| `- note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt64.Type) throws -> UInt64}
| `- note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:18: error: extraneous argument label 'properties:' in call
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: extraneous argument label 'properties:' in call
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:30: error: cannot find 'properties' in scope
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| `- error: cannot find 'properties' in scope
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:23: error: no exact matches in call to instance method 'encode'
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| |- error: no exact matches in call to instance method 'encode'
| |- note: found candidate with type '(Bool) throws -> ()'
| |- note: found candidate with type '(String) throws -> ()'
| |- note: found candidate with type '(Double) throws -> ()'
| |- note: found candidate with type '(Float) throws -> ()'
| |- note: found candidate with type '(Int) throws -> ()'
| |- note: found candidate with type '(Int8) throws -> ()'
| |- note: found candidate with type '(Int16) throws -> ()'
| |- note: found candidate with type '(Int32) throws -> ()'
| |- note: found candidate with type '(Int64) throws -> ()'
| |- note: found candidate with type '(Int128) throws -> ()'
| |- note: found candidate with type '(UInt) throws -> ()'
| |- note: found candidate with type '(UInt8) throws -> ()'
| |- note: found candidate with type '(UInt16) throws -> ()'
| |- note: found candidate with type '(UInt32) throws -> ()'
| |- note: found candidate with type '(UInt64) throws -> ()'
| `- note: found candidate with type '(UInt128) throws -> ()'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/DefaultResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct DefaultResponse {
12 | /// The `URLResponse`.
13 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The `Data`.
15 | public let data: Data
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
[38/65] Compiling Requests CodableHTTPCookie.swift
/host/spi-builder-workspace/Sources/Requests/Extensions/URLRequest.swift:10:11: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 | /// Init.
12 | ///
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:14:40: error: cannot find type 'HTTPCookiePropertyKey' in scope
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
15 | super.init(properties: properties)
16 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:20:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | /// Init.
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:39: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:43:11: error: cannot find type 'HTTPCookiePropertyKey' in scope
41 |
42 | /// `HTTPCookiePropertyKey` conformacy to `Codable`.
43 | extension HTTPCookiePropertyKey: Codable {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
44 | /// Init.
45 | /// - parameter decoder: A valid `Decoder`.
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:15:9: error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
15 | super.init(properties: properties)
| `- error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
16 | }
17 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:21:39: error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
| `- error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
22 | self.init(properties: properties)
23 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:22:18: error: extraneous argument label 'properties:' in call
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
| `- error: extraneous argument label 'properties:' in call
23 | }
24 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:53: error: cannot find 'HTTPCookiePropertyKey' in scope
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: cannot find 'HTTPCookiePropertyKey' in scope
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:45: error: no exact matches in call to instance method 'decode'
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: no exact matches in call to instance method 'decode'
31 | // swiftlint:enable force_unwrapping
32 | }
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Bool.Type) throws -> Bool}
| `- note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: String.Type) throws -> String}
| `- note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Double.Type) throws -> Double}
| `- note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Float.Type) throws -> Float}
| `- note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int.Type) throws -> Int}
| `- note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int8.Type) throws -> Int8}
| `- note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int16.Type) throws -> Int16}
| `- note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int32.Type) throws -> Int32}
| `- note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int64.Type) throws -> Int64}
| `- note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt.Type) throws -> UInt}
| `- note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt8.Type) throws -> UInt8}
| `- note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt16.Type) throws -> UInt16}
| `- note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt32.Type) throws -> UInt32}
| `- note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt64.Type) throws -> UInt64}
| `- note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:18: error: extraneous argument label 'properties:' in call
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: extraneous argument label 'properties:' in call
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:30: error: cannot find 'properties' in scope
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| `- error: cannot find 'properties' in scope
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:23: error: no exact matches in call to instance method 'encode'
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| |- error: no exact matches in call to instance method 'encode'
| |- note: found candidate with type '(Bool) throws -> ()'
| |- note: found candidate with type '(String) throws -> ()'
| |- note: found candidate with type '(Double) throws -> ()'
| |- note: found candidate with type '(Float) throws -> ()'
| |- note: found candidate with type '(Int) throws -> ()'
| |- note: found candidate with type '(Int8) throws -> ()'
| |- note: found candidate with type '(Int16) throws -> ()'
| |- note: found candidate with type '(Int32) throws -> ()'
| |- note: found candidate with type '(Int64) throws -> ()'
| |- note: found candidate with type '(Int128) throws -> ()'
| |- note: found candidate with type '(UInt) throws -> ()'
| |- note: found candidate with type '(UInt8) throws -> ()'
| |- note: found candidate with type '(UInt16) throws -> ()'
| |- note: found candidate with type '(UInt32) throws -> ()'
| |- note: found candidate with type '(UInt64) throws -> ()'
| `- note: found candidate with type '(UInt128) throws -> ()'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/DefaultResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct DefaultResponse {
12 | /// The `URLResponse`.
13 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The `Data`.
15 | public let data: Data
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
[39/65] Compiling Requests DefaultResponse.swift
/host/spi-builder-workspace/Sources/Requests/Extensions/URLRequest.swift:10:11: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 | /// Init.
12 | ///
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:14:40: error: cannot find type 'HTTPCookiePropertyKey' in scope
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
15 | super.init(properties: properties)
16 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:20:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | /// Init.
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:39: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:43:11: error: cannot find type 'HTTPCookiePropertyKey' in scope
41 |
42 | /// `HTTPCookiePropertyKey` conformacy to `Codable`.
43 | extension HTTPCookiePropertyKey: Codable {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
44 | /// Init.
45 | /// - parameter decoder: A valid `Decoder`.
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:15:9: error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
15 | super.init(properties: properties)
| `- error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
16 | }
17 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:21:39: error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
| `- error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
22 | self.init(properties: properties)
23 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:22:18: error: extraneous argument label 'properties:' in call
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
| `- error: extraneous argument label 'properties:' in call
23 | }
24 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:53: error: cannot find 'HTTPCookiePropertyKey' in scope
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: cannot find 'HTTPCookiePropertyKey' in scope
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:45: error: no exact matches in call to instance method 'decode'
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: no exact matches in call to instance method 'decode'
31 | // swiftlint:enable force_unwrapping
32 | }
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Bool.Type) throws -> Bool}
| `- note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: String.Type) throws -> String}
| `- note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Double.Type) throws -> Double}
| `- note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Float.Type) throws -> Float}
| `- note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int.Type) throws -> Int}
| `- note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int8.Type) throws -> Int8}
| `- note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int16.Type) throws -> Int16}
| `- note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int32.Type) throws -> Int32}
| `- note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int64.Type) throws -> Int64}
| `- note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt.Type) throws -> UInt}
| `- note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt8.Type) throws -> UInt8}
| `- note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt16.Type) throws -> UInt16}
| `- note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt32.Type) throws -> UInt32}
| `- note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt64.Type) throws -> UInt64}
| `- note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:18: error: extraneous argument label 'properties:' in call
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: extraneous argument label 'properties:' in call
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:30: error: cannot find 'properties' in scope
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| `- error: cannot find 'properties' in scope
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:23: error: no exact matches in call to instance method 'encode'
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| |- error: no exact matches in call to instance method 'encode'
| |- note: found candidate with type '(Bool) throws -> ()'
| |- note: found candidate with type '(String) throws -> ()'
| |- note: found candidate with type '(Double) throws -> ()'
| |- note: found candidate with type '(Float) throws -> ()'
| |- note: found candidate with type '(Int) throws -> ()'
| |- note: found candidate with type '(Int8) throws -> ()'
| |- note: found candidate with type '(Int16) throws -> ()'
| |- note: found candidate with type '(Int32) throws -> ()'
| |- note: found candidate with type '(Int64) throws -> ()'
| |- note: found candidate with type '(Int128) throws -> ()'
| |- note: found candidate with type '(UInt) throws -> ()'
| |- note: found candidate with type '(UInt8) throws -> ()'
| |- note: found candidate with type '(UInt16) throws -> ()'
| |- note: found candidate with type '(UInt32) throws -> ()'
| |- note: found candidate with type '(UInt64) throws -> ()'
| `- note: found candidate with type '(UInt128) throws -> ()'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/DefaultResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct DefaultResponse {
12 | /// The `URLResponse`.
13 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The `Data`.
15 | public let data: Data
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
[40/65] Compiling Requests EndpointError.swift
/host/spi-builder-workspace/Sources/Requests/Extensions/URLRequest.swift:10:11: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 | /// Init.
12 | ///
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:14:40: error: cannot find type 'HTTPCookiePropertyKey' in scope
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
15 | super.init(properties: properties)
16 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:20:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | /// Init.
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:39: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:43:11: error: cannot find type 'HTTPCookiePropertyKey' in scope
41 |
42 | /// `HTTPCookiePropertyKey` conformacy to `Codable`.
43 | extension HTTPCookiePropertyKey: Codable {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
44 | /// Init.
45 | /// - parameter decoder: A valid `Decoder`.
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:15:9: error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
15 | super.init(properties: properties)
| `- error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
16 | }
17 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:21:39: error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
| `- error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
22 | self.init(properties: properties)
23 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:22:18: error: extraneous argument label 'properties:' in call
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
| `- error: extraneous argument label 'properties:' in call
23 | }
24 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:53: error: cannot find 'HTTPCookiePropertyKey' in scope
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: cannot find 'HTTPCookiePropertyKey' in scope
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:45: error: no exact matches in call to instance method 'decode'
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: no exact matches in call to instance method 'decode'
31 | // swiftlint:enable force_unwrapping
32 | }
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Bool.Type) throws -> Bool}
| `- note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: String.Type) throws -> String}
| `- note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Double.Type) throws -> Double}
| `- note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Float.Type) throws -> Float}
| `- note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int.Type) throws -> Int}
| `- note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int8.Type) throws -> Int8}
| `- note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int16.Type) throws -> Int16}
| `- note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int32.Type) throws -> Int32}
| `- note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int64.Type) throws -> Int64}
| `- note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt.Type) throws -> UInt}
| `- note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt8.Type) throws -> UInt8}
| `- note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt16.Type) throws -> UInt16}
| `- note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt32.Type) throws -> UInt32}
| `- note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt64.Type) throws -> UInt64}
| `- note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:18: error: extraneous argument label 'properties:' in call
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: extraneous argument label 'properties:' in call
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:30: error: cannot find 'properties' in scope
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| `- error: cannot find 'properties' in scope
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:23: error: no exact matches in call to instance method 'encode'
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| |- error: no exact matches in call to instance method 'encode'
| |- note: found candidate with type '(Bool) throws -> ()'
| |- note: found candidate with type '(String) throws -> ()'
| |- note: found candidate with type '(Double) throws -> ()'
| |- note: found candidate with type '(Float) throws -> ()'
| |- note: found candidate with type '(Int) throws -> ()'
| |- note: found candidate with type '(Int8) throws -> ()'
| |- note: found candidate with type '(Int16) throws -> ()'
| |- note: found candidate with type '(Int32) throws -> ()'
| |- note: found candidate with type '(Int64) throws -> ()'
| |- note: found candidate with type '(Int128) throws -> ()'
| |- note: found candidate with type '(UInt) throws -> ()'
| |- note: found candidate with type '(UInt8) throws -> ()'
| |- note: found candidate with type '(UInt16) throws -> ()'
| |- note: found candidate with type '(UInt32) throws -> ()'
| |- note: found candidate with type '(UInt64) throws -> ()'
| `- note: found candidate with type '(UInt128) throws -> ()'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/DefaultResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct DefaultResponse {
12 | /// The `URLResponse`.
13 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The `Data`.
15 | public let data: Data
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
[41/65] Compiling Requests NextAction.swift
/host/spi-builder-workspace/Sources/Requests/Extensions/URLRequest.swift:10:11: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 | /// Init.
12 | ///
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:14:40: error: cannot find type 'HTTPCookiePropertyKey' in scope
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
15 | super.init(properties: properties)
16 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:20:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | /// Init.
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:39: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:43:11: error: cannot find type 'HTTPCookiePropertyKey' in scope
41 |
42 | /// `HTTPCookiePropertyKey` conformacy to `Codable`.
43 | extension HTTPCookiePropertyKey: Codable {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
44 | /// Init.
45 | /// - parameter decoder: A valid `Decoder`.
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:15:9: error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
15 | super.init(properties: properties)
| `- error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
16 | }
17 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:21:39: error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
| `- error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
22 | self.init(properties: properties)
23 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:22:18: error: extraneous argument label 'properties:' in call
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
| `- error: extraneous argument label 'properties:' in call
23 | }
24 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:53: error: cannot find 'HTTPCookiePropertyKey' in scope
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: cannot find 'HTTPCookiePropertyKey' in scope
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:45: error: no exact matches in call to instance method 'decode'
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: no exact matches in call to instance method 'decode'
31 | // swiftlint:enable force_unwrapping
32 | }
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Bool.Type) throws -> Bool}
| `- note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: String.Type) throws -> String}
| `- note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Double.Type) throws -> Double}
| `- note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Float.Type) throws -> Float}
| `- note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int.Type) throws -> Int}
| `- note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int8.Type) throws -> Int8}
| `- note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int16.Type) throws -> Int16}
| `- note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int32.Type) throws -> Int32}
| `- note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int64.Type) throws -> Int64}
| `- note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt.Type) throws -> UInt}
| `- note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt8.Type) throws -> UInt8}
| `- note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt16.Type) throws -> UInt16}
| `- note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt32.Type) throws -> UInt32}
| `- note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt64.Type) throws -> UInt64}
| `- note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:18: error: extraneous argument label 'properties:' in call
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: extraneous argument label 'properties:' in call
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:30: error: cannot find 'properties' in scope
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| `- error: cannot find 'properties' in scope
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:23: error: no exact matches in call to instance method 'encode'
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| |- error: no exact matches in call to instance method 'encode'
| |- note: found candidate with type '(Bool) throws -> ()'
| |- note: found candidate with type '(String) throws -> ()'
| |- note: found candidate with type '(Double) throws -> ()'
| |- note: found candidate with type '(Float) throws -> ()'
| |- note: found candidate with type '(Int) throws -> ()'
| |- note: found candidate with type '(Int8) throws -> ()'
| |- note: found candidate with type '(Int16) throws -> ()'
| |- note: found candidate with type '(Int32) throws -> ()'
| |- note: found candidate with type '(Int64) throws -> ()'
| |- note: found candidate with type '(Int128) throws -> ()'
| |- note: found candidate with type '(UInt) throws -> ()'
| |- note: found candidate with type '(UInt8) throws -> ()'
| |- note: found candidate with type '(UInt16) throws -> ()'
| |- note: found candidate with type '(UInt32) throws -> ()'
| |- note: found candidate with type '(UInt64) throws -> ()'
| `- note: found candidate with type '(UInt128) throws -> ()'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/DefaultResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct DefaultResponse {
12 | /// The `URLResponse`.
13 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The `Data`.
15 | public let data: Data
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
[42/65] Compiling Requests NextInput.swift
/host/spi-builder-workspace/Sources/Requests/Extensions/URLRequest.swift:10:11: error: cannot find type 'URLRequest' in scope
8 | import Foundation
9 |
10 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
11 | /// Init.
12 | ///
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:14:40: error: cannot find type 'HTTPCookiePropertyKey' in scope
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
15 | super.init(properties: properties)
16 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:20:40: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 | /// Init.
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:11:39: error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 |
10 | /// A `subclass` of `HTTPCookie` conforming to `Codable`.
11 | public final class CodableHTTPCookie: HTTPCookie, Codable {
| `- error: 'HTTPCookie' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | /// Init.
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
Foundation.HTTPCookie:2:18: note: 'HTTPCookie' 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 HTTPCookie = AnyObject
| `- note: 'HTTPCookie' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:43:11: error: cannot find type 'HTTPCookiePropertyKey' in scope
41 |
42 | /// `HTTPCookiePropertyKey` conformacy to `Codable`.
43 | extension HTTPCookiePropertyKey: Codable {
| `- error: cannot find type 'HTTPCookiePropertyKey' in scope
44 | /// Init.
45 | /// - parameter decoder: A valid `Decoder`.
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:15:9: error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
13 | /// - parameter properties: A valid `Dictionary` of `Any`.
14 | override public init?(properties: [HTTPCookiePropertyKey: Any]) {
15 | super.init(properties: properties)
| `- error: 'super' cannot be used in class 'CodableHTTPCookie' because it has no superclass
16 | }
17 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:21:39: error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
19 | /// - parameter cookie: A valid `HTTPCookie`.
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
| `- error: value of type 'HTTPCookie' (aka 'AnyObject') has no member 'properties'
22 | self.init(properties: properties)
23 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:22:18: error: extraneous argument label 'properties:' in call
20 | public convenience init?(_ cookie: HTTPCookie) {
21 | guard let properties = cookie.properties else { return nil }
22 | self.init(properties: properties)
| `- error: extraneous argument label 'properties:' in call
23 | }
24 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:53: error: cannot find 'HTTPCookiePropertyKey' in scope
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: cannot find 'HTTPCookiePropertyKey' in scope
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:45: error: no exact matches in call to instance method 'decode'
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: no exact matches in call to instance method 'decode'
31 | // swiftlint:enable force_unwrapping
32 | }
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Bool.Type) throws -> Bool}
| `- note: candidate expects value of type 'Bool.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: String.Type) throws -> String}
| `- note: candidate expects value of type 'String.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Double.Type) throws -> Double}
| `- note: candidate expects value of type 'Double.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Float.Type) throws -> Float}
| `- note: candidate expects value of type 'Float.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int.Type) throws -> Int}
| `- note: candidate expects value of type 'Int.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int8.Type) throws -> Int8}
| `- note: candidate expects value of type 'Int8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int16.Type) throws -> Int16}
| `- note: candidate expects value of type 'Int16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int32.Type) throws -> Int32}
| `- note: candidate expects value of type 'Int32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: Int64.Type) throws -> Int64}
| `- note: candidate expects value of type 'Int64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt.Type) throws -> UInt}
| `- note: candidate expects value of type 'UInt.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt8.Type) throws -> UInt8}
| `- note: candidate expects value of type 'UInt8.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt16.Type) throws -> UInt16}
| `- note: candidate expects value of type 'UInt16.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt32.Type) throws -> UInt32}
| `- note: candidate expects value of type 'UInt32.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:2:6: note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | func decode(_ type: UInt64.Type) throws -> UInt64}
| `- note: candidate expects value of type 'UInt64.Type' for parameter #1 (got '[AnyHashable : String.Type]')
3 |
Swift.SingleValueDecodingContainer.decode:3:8: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: Int128.Type) throws -> Int128}
| `- note: candidate expects value of type 'Int128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
Swift.SingleValueDecodingContainer.decode:3:15: note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 | public func decode(_ type: UInt128.Type) throws -> UInt128}
| `- note: candidate expects value of type 'UInt128.Type' for parameter #1 (got '[AnyHashable : String.Type]')
4 |
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:30:18: error: extraneous argument label 'properties:' in call
28 | let container = try decoder.singleValueContainer()
29 | // swiftlint:disable force_unwrapping
30 | self.init(properties: try container.decode([HTTPCookiePropertyKey: String].self))!
| `- error: extraneous argument label 'properties:' in call
31 | // swiftlint:enable force_unwrapping
32 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:30: error: cannot find 'properties' in scope
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| `- error: cannot find 'properties' in scope
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/CodableHTTPCookie.swift:38:23: error: no exact matches in call to instance method 'encode'
36 | public func encode(to encoder: Encoder) throws {
37 | var container = encoder.singleValueContainer()
38 | try container.encode(properties?.compactMapValues { $0 as? String } ?? [:])
| |- error: no exact matches in call to instance method 'encode'
| |- note: found candidate with type '(Bool) throws -> ()'
| |- note: found candidate with type '(String) throws -> ()'
| |- note: found candidate with type '(Double) throws -> ()'
| |- note: found candidate with type '(Float) throws -> ()'
| |- note: found candidate with type '(Int) throws -> ()'
| |- note: found candidate with type '(Int8) throws -> ()'
| |- note: found candidate with type '(Int16) throws -> ()'
| |- note: found candidate with type '(Int32) throws -> ()'
| |- note: found candidate with type '(Int64) throws -> ()'
| |- note: found candidate with type '(Int128) throws -> ()'
| |- note: found candidate with type '(UInt) throws -> ()'
| |- note: found candidate with type '(UInt8) throws -> ()'
| |- note: found candidate with type '(UInt16) throws -> ()'
| |- note: found candidate with type '(UInt32) throws -> ()'
| |- note: found candidate with type '(UInt64) throws -> ()'
| `- note: found candidate with type '(UInt128) throws -> ()'
39 | }
40 | }
/host/spi-builder-workspace/Sources/Requests/Misc/DefaultResponse.swift:13:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 | public struct DefaultResponse {
12 | /// The `URLResponse`.
13 | public let response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | /// The `Data`.
15 | public let data: Data
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/65] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[44/65] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[45/65] Compiling Requests Cellular.swift
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Cellular.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsCellularAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Constrained.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsConstrainedNetworkAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Expensive.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.allowsExpensiveNetworkAccess = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:23:23: error: cannot find type 'URLRequest' in scope
21 |
22 | /// The request network service type.
23 | public let value: URLRequest.NetworkServiceType
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:28:39: error: cannot find type 'URLRequest' in scope
26 | ///
27 | /// - parameter networkServiceType: A `URLRequest.NetworkServiceType`.
28 | public init(_ networkServiceType: URLRequest.NetworkServiceType) {
| `- error: cannot find type 'URLRequest' in scope
29 | self.value = networkServiceType
30 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.networkServiceType = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:15:15: error: type 'Service' does not conform to protocol 'Component'
13 | ///
14 | /// - note: Children do not inherit values from their parents if they're non-`nil`.
15 | public struct Service: Component {
| |- error: type 'Service' does not conform to protocol 'Component'
| `- note: add stubs for conformance
16 | /// The default value when no cached
17 | /// component can be found.
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:17:20: note: protocol requires nested type 'Value'
15 | public protocol Component {
16 | /// The associated value type.
17 | associatedtype Value
| `- note: protocol requires nested type 'Value'
18 |
19 | /// The default value when no cached
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:19:16: error: cannot infer contextual base in reference to member 'default'
17 | /// component can be found.
18 | public static var defaultValue: Service {
19 | .init(.default)
| `- error: cannot infer contextual base in reference to member 'default'
20 | }
21 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Timeout.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.timeoutInterval = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Body.swift:80:41: error: cannot find type 'URLRequest' in scope
78 | ///
79 | /// - parameter request: A mutable `URLRequest`.
80 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
81 | request.httpBody = value
82 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Headers.swift:91:41: error: cannot find type 'URLRequest' in scope
89 | ///
90 | /// - parameter request: A mutable `URLRequest`.
91 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
92 | request.allHTTPHeaderFields = value
93 | }
[46/65] Compiling Requests Constrained.swift
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Cellular.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsCellularAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Constrained.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsConstrainedNetworkAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Expensive.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.allowsExpensiveNetworkAccess = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:23:23: error: cannot find type 'URLRequest' in scope
21 |
22 | /// The request network service type.
23 | public let value: URLRequest.NetworkServiceType
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:28:39: error: cannot find type 'URLRequest' in scope
26 | ///
27 | /// - parameter networkServiceType: A `URLRequest.NetworkServiceType`.
28 | public init(_ networkServiceType: URLRequest.NetworkServiceType) {
| `- error: cannot find type 'URLRequest' in scope
29 | self.value = networkServiceType
30 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.networkServiceType = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:15:15: error: type 'Service' does not conform to protocol 'Component'
13 | ///
14 | /// - note: Children do not inherit values from their parents if they're non-`nil`.
15 | public struct Service: Component {
| |- error: type 'Service' does not conform to protocol 'Component'
| `- note: add stubs for conformance
16 | /// The default value when no cached
17 | /// component can be found.
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:17:20: note: protocol requires nested type 'Value'
15 | public protocol Component {
16 | /// The associated value type.
17 | associatedtype Value
| `- note: protocol requires nested type 'Value'
18 |
19 | /// The default value when no cached
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:19:16: error: cannot infer contextual base in reference to member 'default'
17 | /// component can be found.
18 | public static var defaultValue: Service {
19 | .init(.default)
| `- error: cannot infer contextual base in reference to member 'default'
20 | }
21 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Timeout.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.timeoutInterval = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Body.swift:80:41: error: cannot find type 'URLRequest' in scope
78 | ///
79 | /// - parameter request: A mutable `URLRequest`.
80 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
81 | request.httpBody = value
82 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Headers.swift:91:41: error: cannot find type 'URLRequest' in scope
89 | ///
90 | /// - parameter request: A mutable `URLRequest`.
91 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
92 | request.allHTTPHeaderFields = value
93 | }
[47/65] Compiling Requests Expensive.swift
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Cellular.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsCellularAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Constrained.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsConstrainedNetworkAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Expensive.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.allowsExpensiveNetworkAccess = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:23:23: error: cannot find type 'URLRequest' in scope
21 |
22 | /// The request network service type.
23 | public let value: URLRequest.NetworkServiceType
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:28:39: error: cannot find type 'URLRequest' in scope
26 | ///
27 | /// - parameter networkServiceType: A `URLRequest.NetworkServiceType`.
28 | public init(_ networkServiceType: URLRequest.NetworkServiceType) {
| `- error: cannot find type 'URLRequest' in scope
29 | self.value = networkServiceType
30 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.networkServiceType = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:15:15: error: type 'Service' does not conform to protocol 'Component'
13 | ///
14 | /// - note: Children do not inherit values from their parents if they're non-`nil`.
15 | public struct Service: Component {
| |- error: type 'Service' does not conform to protocol 'Component'
| `- note: add stubs for conformance
16 | /// The default value when no cached
17 | /// component can be found.
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:17:20: note: protocol requires nested type 'Value'
15 | public protocol Component {
16 | /// The associated value type.
17 | associatedtype Value
| `- note: protocol requires nested type 'Value'
18 |
19 | /// The default value when no cached
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:19:16: error: cannot infer contextual base in reference to member 'default'
17 | /// component can be found.
18 | public static var defaultValue: Service {
19 | .init(.default)
| `- error: cannot infer contextual base in reference to member 'default'
20 | }
21 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Timeout.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.timeoutInterval = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Body.swift:80:41: error: cannot find type 'URLRequest' in scope
78 | ///
79 | /// - parameter request: A mutable `URLRequest`.
80 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
81 | request.httpBody = value
82 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Headers.swift:91:41: error: cannot find type 'URLRequest' in scope
89 | ///
90 | /// - parameter request: A mutable `URLRequest`.
91 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
92 | request.allHTTPHeaderFields = value
93 | }
[48/65] Compiling Requests Service.swift
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Cellular.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsCellularAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Constrained.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsConstrainedNetworkAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Expensive.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.allowsExpensiveNetworkAccess = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:23:23: error: cannot find type 'URLRequest' in scope
21 |
22 | /// The request network service type.
23 | public let value: URLRequest.NetworkServiceType
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:28:39: error: cannot find type 'URLRequest' in scope
26 | ///
27 | /// - parameter networkServiceType: A `URLRequest.NetworkServiceType`.
28 | public init(_ networkServiceType: URLRequest.NetworkServiceType) {
| `- error: cannot find type 'URLRequest' in scope
29 | self.value = networkServiceType
30 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.networkServiceType = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:15:15: error: type 'Service' does not conform to protocol 'Component'
13 | ///
14 | /// - note: Children do not inherit values from their parents if they're non-`nil`.
15 | public struct Service: Component {
| |- error: type 'Service' does not conform to protocol 'Component'
| `- note: add stubs for conformance
16 | /// The default value when no cached
17 | /// component can be found.
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:17:20: note: protocol requires nested type 'Value'
15 | public protocol Component {
16 | /// The associated value type.
17 | associatedtype Value
| `- note: protocol requires nested type 'Value'
18 |
19 | /// The default value when no cached
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:19:16: error: cannot infer contextual base in reference to member 'default'
17 | /// component can be found.
18 | public static var defaultValue: Service {
19 | .init(.default)
| `- error: cannot infer contextual base in reference to member 'default'
20 | }
21 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Timeout.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.timeoutInterval = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Body.swift:80:41: error: cannot find type 'URLRequest' in scope
78 | ///
79 | /// - parameter request: A mutable `URLRequest`.
80 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
81 | request.httpBody = value
82 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Headers.swift:91:41: error: cannot find type 'URLRequest' in scope
89 | ///
90 | /// - parameter request: A mutable `URLRequest`.
91 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
92 | request.allHTTPHeaderFields = value
93 | }
[49/65] Compiling Requests Timeout.swift
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Cellular.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsCellularAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Constrained.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsConstrainedNetworkAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Expensive.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.allowsExpensiveNetworkAccess = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:23:23: error: cannot find type 'URLRequest' in scope
21 |
22 | /// The request network service type.
23 | public let value: URLRequest.NetworkServiceType
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:28:39: error: cannot find type 'URLRequest' in scope
26 | ///
27 | /// - parameter networkServiceType: A `URLRequest.NetworkServiceType`.
28 | public init(_ networkServiceType: URLRequest.NetworkServiceType) {
| `- error: cannot find type 'URLRequest' in scope
29 | self.value = networkServiceType
30 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.networkServiceType = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:15:15: error: type 'Service' does not conform to protocol 'Component'
13 | ///
14 | /// - note: Children do not inherit values from their parents if they're non-`nil`.
15 | public struct Service: Component {
| |- error: type 'Service' does not conform to protocol 'Component'
| `- note: add stubs for conformance
16 | /// The default value when no cached
17 | /// component can be found.
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:17:20: note: protocol requires nested type 'Value'
15 | public protocol Component {
16 | /// The associated value type.
17 | associatedtype Value
| `- note: protocol requires nested type 'Value'
18 |
19 | /// The default value when no cached
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:19:16: error: cannot infer contextual base in reference to member 'default'
17 | /// component can be found.
18 | public static var defaultValue: Service {
19 | .init(.default)
| `- error: cannot infer contextual base in reference to member 'default'
20 | }
21 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Timeout.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.timeoutInterval = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Body.swift:80:41: error: cannot find type 'URLRequest' in scope
78 | ///
79 | /// - parameter request: A mutable `URLRequest`.
80 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
81 | request.httpBody = value
82 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Headers.swift:91:41: error: cannot find type 'URLRequest' in scope
89 | ///
90 | /// - parameter request: A mutable `URLRequest`.
91 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
92 | request.allHTTPHeaderFields = value
93 | }
[50/65] Compiling Requests Body.swift
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Cellular.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsCellularAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Constrained.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsConstrainedNetworkAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Expensive.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.allowsExpensiveNetworkAccess = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:23:23: error: cannot find type 'URLRequest' in scope
21 |
22 | /// The request network service type.
23 | public let value: URLRequest.NetworkServiceType
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:28:39: error: cannot find type 'URLRequest' in scope
26 | ///
27 | /// - parameter networkServiceType: A `URLRequest.NetworkServiceType`.
28 | public init(_ networkServiceType: URLRequest.NetworkServiceType) {
| `- error: cannot find type 'URLRequest' in scope
29 | self.value = networkServiceType
30 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.networkServiceType = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:15:15: error: type 'Service' does not conform to protocol 'Component'
13 | ///
14 | /// - note: Children do not inherit values from their parents if they're non-`nil`.
15 | public struct Service: Component {
| |- error: type 'Service' does not conform to protocol 'Component'
| `- note: add stubs for conformance
16 | /// The default value when no cached
17 | /// component can be found.
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:17:20: note: protocol requires nested type 'Value'
15 | public protocol Component {
16 | /// The associated value type.
17 | associatedtype Value
| `- note: protocol requires nested type 'Value'
18 |
19 | /// The default value when no cached
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:19:16: error: cannot infer contextual base in reference to member 'default'
17 | /// component can be found.
18 | public static var defaultValue: Service {
19 | .init(.default)
| `- error: cannot infer contextual base in reference to member 'default'
20 | }
21 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Timeout.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.timeoutInterval = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Body.swift:80:41: error: cannot find type 'URLRequest' in scope
78 | ///
79 | /// - parameter request: A mutable `URLRequest`.
80 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
81 | request.httpBody = value
82 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Headers.swift:91:41: error: cannot find type 'URLRequest' in scope
89 | ///
90 | /// - parameter request: A mutable `URLRequest`.
91 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
92 | request.allHTTPHeaderFields = value
93 | }
[51/65] Compiling Requests Headers.swift
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Cellular.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsCellularAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:58:34: error: cannot find type 'URLRequest' in scope
56 | /// built-in ones.
57 | /// - parameter request: A mutable `URLRequest`.
58 | func update(_ request: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
59 | }
60 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Constrained.swift:36:41: error: cannot find type 'URLRequest' in scope
34 | ///
35 | /// - parameter request: A mutable `URLRequest`.
36 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
37 | request.allowsConstrainedNetworkAccess = value
38 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Expensive.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.allowsExpensiveNetworkAccess = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:23:23: error: cannot find type 'URLRequest' in scope
21 |
22 | /// The request network service type.
23 | public let value: URLRequest.NetworkServiceType
| `- error: cannot find type 'URLRequest' in scope
24 |
25 | /// Init.
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:28:39: error: cannot find type 'URLRequest' in scope
26 | ///
27 | /// - parameter networkServiceType: A `URLRequest.NetworkServiceType`.
28 | public init(_ networkServiceType: URLRequest.NetworkServiceType) {
| `- error: cannot find type 'URLRequest' in scope
29 | self.value = networkServiceType
30 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.networkServiceType = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:15:15: error: type 'Service' does not conform to protocol 'Component'
13 | ///
14 | /// - note: Children do not inherit values from their parents if they're non-`nil`.
15 | public struct Service: Component {
| |- error: type 'Service' does not conform to protocol 'Component'
| `- note: add stubs for conformance
16 | /// The default value when no cached
17 | /// component can be found.
/host/spi-builder-workspace/Sources/Requests/Components/Component.swift:17:20: note: protocol requires nested type 'Value'
15 | public protocol Component {
16 | /// The associated value type.
17 | associatedtype Value
| `- note: protocol requires nested type 'Value'
18 |
19 | /// The default value when no cached
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Service.swift:19:16: error: cannot infer contextual base in reference to member 'default'
17 | /// component can be found.
18 | public static var defaultValue: Service {
19 | .init(.default)
| `- error: cannot infer contextual base in reference to member 'default'
20 | }
21 |
/host/spi-builder-workspace/Sources/Requests/Components/Advanced/Timeout.swift:35:41: error: cannot find type 'URLRequest' in scope
33 | ///
34 | /// - parameter request: A mutable `URLRequest`.
35 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
36 | request.timeoutInterval = value
37 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Body.swift:80:41: error: cannot find type 'URLRequest' in scope
78 | ///
79 | /// - parameter request: A mutable `URLRequest`.
80 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
81 | request.httpBody = value
82 | }
/host/spi-builder-workspace/Sources/Requests/Components/Basics/Headers.swift:91:41: error: cannot find type 'URLRequest' in scope
89 | ///
90 | /// - parameter request: A mutable `URLRequest`.
91 | public func update(_ request: inout URLRequest) {
| `- error: cannot find type 'URLRequest' in scope
92 | request.allHTTPHeaderFields = value
93 | }
BUILD FAILURE 6.1 android