Build Information
Failed to build ComposableRequest, reference 7.0.0 (151026
), with Swift 6.1 for Wasm on 28 May 2025 12:10:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: wasm
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/4386] Fetching keychainaccess
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.02s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (2.02s)
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 TransientStorage.swift
[8/13] Emitting module Storages
[9/13] Compiling Storages AnyStorage.swift
[10/13] Compiling Storages UserDefaultsStorage.swift
[11/13] Compiling Storages Storable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/14] 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
[13/14] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Emitting module Storages
[3/9] Compiling Storages Storage.swift
[4/9] Compiling Storages Storable.swift
[5/9] Compiling Storages AnyStorage.swift
[6/9] Compiling Storages TransientStorage.swift
[7/9] Compiling Storages UserDefaultsStorage.swift
[9/59] 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)
[10/59] 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)
[11/59] 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)
[12/59] 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)
[13/59] 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)
[14/59] 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)
[15/59] 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)
[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
BUILD FAILURE 6.1 wasm