Build Information
Failed to build ComposableRequest, reference 7.0.0 (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-3":/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: 7.0.0
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
* tag 7.0.0 -> FETCH_HEAD
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 7.0.0
========================================
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-3":/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.50s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.97s)
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] Compiling Storages Storage.swift
[7/13] Compiling Storages Storable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/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
[9/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
[10/13] Compiling Storages TransientStorage.swift
[11/13] Compiling Storages AnyStorage.swift
[12/13] Emitting module Storages
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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] Emitting module Storages
[5/9] Compiling Storages TransientStorage.swift
[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 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
[17/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/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
BUILD FAILURE 6.1 linux