Build Information
Failed to build ComposableRequest, reference main (151026
), with Swift 6.1 for Linux on 27 Apr 2025 08:27:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbertix/ComposableRequest.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/sbertix/ComposableRequest
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1510263 feat!: update to `7.0.0` (#51)
Cloned https://github.com/sbertix/ComposableRequest.git
Revision (git rev-parse @):
151026359f4a2c89dcd06f6880eb4a940dcbb7bc
SUCCESS checkout https://github.com/sbertix/ComposableRequest.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/sbertix/ComposableRequest.git
https://github.com/sbertix/ComposableRequest.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "keychainaccess",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.2",
"upper_bound" : "4.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kishikawakatsumi/KeychainAccess"
}
],
"manifest_display_name" : "ComposableRequest",
"name" : "ComposableRequest",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Requests",
"targets" : [
"Requests"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Storages",
"targets" : [
"Storages"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EncryptedStorages",
"targets" : [
"EncryptedStorages"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Storages",
"module_type" : "SwiftTarget",
"name" : "Storages",
"path" : "Sources/Storages",
"product_memberships" : [
"Requests",
"Storages",
"EncryptedStorages"
],
"sources" : [
"Concrete/AnyStorage.swift",
"Concrete/TransientStorage.swift",
"Concrete/UserDefaultsStorage.swift",
"Protocols/Storable.swift",
"Protocols/Storage.swift"
],
"type" : "library"
},
{
"c99name" : "Requests",
"module_type" : "SwiftTarget",
"name" : "Requests",
"path" : "Sources/Requests",
"product_memberships" : [
"Requests"
],
"sources" : [
"Builder/EndpointBuilder.swift",
"Builder/Items/Components.swift",
"Builder/Items/Path.swift",
"Builder/Items/Response.swift",
"Builder/Items/TupleItem.swift",
"Codable/AnyCodable.swift",
"Codable/AnyDecodable.swift",
"Components/Advanced/Cellular.swift",
"Components/Advanced/Constrained.swift",
"Components/Advanced/Expensive.swift",
"Components/Advanced/Service.swift",
"Components/Advanced/Timeout.swift",
"Components/Basics/Body.swift",
"Components/Basics/Headers.swift",
"Components/Basics/Method.swift",
"Components/Basics/Query.swift",
"Components/Component.swift",
"Endpoints/Concrete/Catch.swift",
"Endpoints/Concrete/Collect.swift",
"Endpoints/Concrete/Endpoints.swift",
"Endpoints/Concrete/First.swift",
"Endpoints/Concrete/FlatMap.swift",
"Endpoints/Concrete/ForEach.swift",
"Endpoints/Concrete/Future.swift",
"Endpoints/Concrete/HandleEvents.swift",
"Endpoints/Concrete/Last.swift",
"Endpoints/Concrete/Loop.swift",
"Endpoints/Concrete/Map.swift",
"Endpoints/Concrete/Prefix.swift",
"Endpoints/Concrete/Single.swift",
"Endpoints/Concrete/Static.swift",
"Endpoints/Protocols/Endpoint.swift",
"Endpoints/Protocols/EndpointResolver.swift",
"Endpoints/Protocols/LoopEndpoint.swift",
"Endpoints/Protocols/SingleEndpoint.swift",
"Endpoints/Type ereasure/AnyEndpointResolver.swift",
"Endpoints/Type ereasure/AnyLoopEndpoint.swift",
"Endpoints/Type ereasure/AnySingleEndpoint.swift",
"Extensions/CharacterSet.swift",
"Extensions/Data.swift",
"Extensions/Result.swift",
"Extensions/String.swift",
"Extensions/URLRequest.swift",
"Misc/CodableHTTPCookie.swift",
"Misc/DefaultResponse.swift",
"Misc/EndpointError.swift",
"Misc/NextAction.swift",
"Misc/NextInput.swift",
"Providers/Concrete/Lock.swift",
"Providers/Concrete/Offset.swift",
"Providers/Concrete/Providers.swift",
"Providers/Protocols/LockProvider.swift",
"Providers/Protocols/OffsetProvider.swift",
"Providers/Protocols/Provider.swift"
],
"target_dependencies" : [
"Storages"
],
"type" : "library"
},
{
"c99name" : "EncryptedStorages",
"module_type" : "SwiftTarget",
"name" : "EncryptedStorages",
"path" : "Sources/EncryptedStorages",
"product_dependencies" : [
"KeychainAccess"
],
"product_memberships" : [
"EncryptedStorages"
],
"sources" : [
"KeychainStorage.swift"
],
"target_dependencies" : [
"Storages"
],
"type" : "library"
},
{
"c99name" : "ComposableRequestTests",
"module_type" : "SwiftTarget",
"name" : "ComposableRequestTests",
"path" : "Tests/ComposableRequestTests",
"sources" : [
"APITests.swift",
"Shared/Item.swift",
"StorageTests.swift",
"WrappersTests.swift"
],
"target_dependencies" : [
"Requests",
"Storages",
"EncryptedStorages"
],
"type" : "test"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (0.48s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.96s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/13] Emitting module Storages
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] 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
[8/13] 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
[9/13] Compiling Storages Storable.swift
[10/13] Compiling Storages TransientStorage.swift
[11/13] Compiling Storages AnyStorage.swift
[12/13] Compiling Storages UserDefaultsStorage.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Storages Storage.swift
[3/9] Compiling Storages Storable.swift
[4/9] Compiling Storages TransientStorage.swift
[5/9] Emitting module Storages
[6/9] Compiling Storages AnyStorage.swift
[7/9] Compiling Storages UserDefaultsStorage.swift
[9/59] 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 | }
[10/59] 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 | }
[11/59] 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 | }
[12/59] 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 | }
[13/59] 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 | }
[14/59] 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 | }
[15/59] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/65] 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
[17/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)
[18/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)
[19/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)
[20/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)
[21/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)
[22/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)
[23/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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/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
[25/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
[26/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> }
[27/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> }
[28/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> }
[29/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> }
[30/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> }
[31/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> }
[32/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> }
/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 | }
BUILD FAILURE 6.1 linux