Build Information
Failed to build swift-declarative-openapi-generator, reference main (54bed3), with Swift 6.3 for Wasm on 4 Sep 2026 00:20:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sisoje/swift-declarative-openapi-generator.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/sisoje/swift-declarative-openapi-generator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 54bed3e The repo says generator now, so everything else does too
Cloned https://github.com/sisoje/swift-declarative-openapi-generator.git
Revision (git rev-parse @):
54bed3e52d47f7c64f5162edb79b334d2d7061e0
SUCCESS checkout https://github.com/sisoje/swift-declarative-openapi-generator.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/sisoje/swift-declarative-openapi-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/sisoje/swift-declarative-requests.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/sisoje/swift-composable-networking.git
[1/97] Fetching swift-composable-networking
[98/3690] Fetching swift-composable-networking, swift-declarative-requests
Fetched https://github.com/sisoje/swift-declarative-requests.git from cache (0.56s)
[1/11861] Fetching yams
Fetched https://github.com/sisoje/swift-composable-networking.git from cache (1.59s)
Fetched https://github.com/jpsim/Yams.git from cache (1.61s)
Computing version for https://github.com/sisoje/swift-composable-networking.git
Computed https://github.com/sisoje/swift-composable-networking.git at 1.0.0 (1.75s)
Computing version for https://github.com/sisoje/swift-declarative-requests.git
Computed https://github.com/sisoje/swift-declarative-requests.git at 2.0.1 (0.14s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.87s)
Creating working copy for https://github.com/sisoje/swift-composable-networking.git
Working copy of https://github.com/sisoje/swift-composable-networking.git resolved at 1.0.0
Creating working copy for https://github.com/sisoje/swift-declarative-requests.git
Working copy of https://github.com/sisoje/swift-declarative-requests.git resolved at 2.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Building for debugging...
[0/21] Write sources
[9/21] Compiling reader.c
[10/21] Compiling writer.c
[11/21] Write swift-version-24593BA9C3E375BF.txt
[12/21] Compiling parser.c
[13/21] Compiling api.c
[14/45] Compiling emitter.c
[15/45] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/65] Emitting module DeclarativeRequests
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/RequestBuildable.swift:23:63: error: cannot find type 'URLRequest' in scope
21 | public extension RequestBuildable {
22 | /// Materializes. Pass a premade request to apply the blocks on top of it instead of a blank one.
23 | func request(initialRequest: URLRequest? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
24 | let state = RequestState(request: initialRequest)
25 | try transform(state)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/RequestBuildable.swift:23:34: error: cannot find type 'URLRequest' in scope
21 | public extension RequestBuildable {
22 | /// Materializes. Pass a premade request to apply the blocks on top of it instead of a blank one.
23 | func request(initialRequest: URLRequest? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
24 | let state = RequestState(request: initialRequest)
25 | try transform(state)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:17:19: error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
| `- error: cannot find type 'URLRequest' in scope
18 | self.request = request ?? URLRequest(url: .placeholder)
19 | self.encoder = encoder ?? JSONEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:4:44: error: cannot find type 'URLRequest' in scope
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
| `- error: cannot find type 'URLRequest' in scope
5 | self.keyPath = keyPath
6 | self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:9:34: error: cannot find type 'URLRequest' in scope
7 | }
8 |
9 | let keyPath: WritableKeyPath<URLRequest, Value> & Sendable
| `- error: cannot find type 'URLRequest' in scope
10 | let value: @Sendable () throws -> Value
11 |
[18/67] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:4:44: error: cannot find type 'URLRequest' in scope
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
| `- error: cannot find type 'URLRequest' in scope
5 | self.keyPath = keyPath
6 | self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:9:34: error: cannot find type 'URLRequest' in scope
7 | }
8 |
9 | let keyPath: WritableKeyPath<URLRequest, Value> & Sendable
| `- error: cannot find type 'URLRequest' in scope
10 | let value: @Sendable () throws -> Value
11 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Timeout.swift:11:25: error: cannot infer key path type from context; consider explicitly specifying a root type
9 |
10 | public var body: some RequestBuildable {
11 | RequestMutation(\.timeoutInterval, interval)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Timeout.swift:11:9: error: generic parameter 'Value' could not be inferred
9 |
10 | public var body: some RequestBuildable {
11 | RequestMutation(\.timeoutInterval, interval)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:3:31: note: 'Value' declared as parameter to type 'RequestMutation'
1 | import Foundation
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
| `- note: 'Value' declared as parameter to type 'RequestMutation'
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
5 | self.keyPath = keyPath
[19/67] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:4:44: error: cannot find type 'URLRequest' in scope
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
| `- error: cannot find type 'URLRequest' in scope
5 | self.keyPath = keyPath
6 | self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:9:34: error: cannot find type 'URLRequest' in scope
7 | }
8 |
9 | let keyPath: WritableKeyPath<URLRequest, Value> & Sendable
| `- error: cannot find type 'URLRequest' in scope
10 | let value: @Sendable () throws -> Value
11 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Timeout.swift:11:25: error: cannot infer key path type from context; consider explicitly specifying a root type
9 |
10 | public var body: some RequestBuildable {
11 | RequestMutation(\.timeoutInterval, interval)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Timeout.swift:11:9: error: generic parameter 'Value' could not be inferred
9 |
10 | public var body: some RequestBuildable {
11 | RequestMutation(\.timeoutInterval, interval)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
12 | }
13 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:3:31: note: 'Value' declared as parameter to type 'RequestMutation'
1 | import Foundation
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
| `- note: 'Value' declared as parameter to type 'RequestMutation'
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
5 | self.keyPath = keyPath
[20/67] Compiling ComposableNetworking ResponseError.swift
/host/spi-builder-workspace/.build/checkouts/swift-composable-networking/Sources/ComposableNetworking/RefreshingExecutor.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// 401 → single-flight refresh → one retry, generic over any Operation.
[21/67] Compiling ComposableNetworking RefreshingExecutor.swift
/host/spi-builder-workspace/.build/checkouts/swift-composable-networking/Sources/ComposableNetworking/RefreshingExecutor.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// 401 → single-flight refresh → one retry, generic over any Operation.
[22/67] Compiling Yams Resolver.swift
[23/67] Compiling Yams String+Yams.swift
[24/69] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:17:19: error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
| `- error: cannot find type 'URLRequest' in scope
18 | self.request = request ?? URLRequest(url: .placeholder)
19 | self.encoder = encoder ?? JSONEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:18:35: error: cannot find 'URLRequest' in scope
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
18 | self.request = request ?? URLRequest(url: .placeholder)
| `- error: cannot find 'URLRequest' in scope
19 | self.encoder = encoder ?? JSONEncoder()
20 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:18:52: error: cannot infer contextual base in reference to member 'placeholder'
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
18 | self.request = request ?? URLRequest(url: .placeholder)
| `- error: cannot infer contextual base in reference to member 'placeholder'
19 | self.encoder = encoder ?? JSONEncoder()
20 | }
[25/69] Compiling Yams Node.Alias.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:17:19: error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
| `- error: cannot find type 'URLRequest' in scope
18 | self.request = request ?? URLRequest(url: .placeholder)
19 | self.encoder = encoder ?? JSONEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:18:35: error: cannot find 'URLRequest' in scope
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
18 | self.request = request ?? URLRequest(url: .placeholder)
| `- error: cannot find 'URLRequest' in scope
19 | self.encoder = encoder ?? JSONEncoder()
20 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:18:52: error: cannot infer contextual base in reference to member 'placeholder'
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
18 | self.request = request ?? URLRequest(url: .placeholder)
| `- error: cannot infer contextual base in reference to member 'placeholder'
19 | self.encoder = encoder ?? JSONEncoder()
20 | }
[26/69] Compiling Yams Node.Mapping.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:17:19: error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
| `- error: cannot find type 'URLRequest' in scope
18 | self.request = request ?? URLRequest(url: .placeholder)
19 | self.encoder = encoder ?? JSONEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:18:35: error: cannot find 'URLRequest' in scope
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
18 | self.request = request ?? URLRequest(url: .placeholder)
| `- error: cannot find 'URLRequest' in scope
19 | self.encoder = encoder ?? JSONEncoder()
20 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:18:52: error: cannot infer contextual base in reference to member 'placeholder'
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
18 | self.request = request ?? URLRequest(url: .placeholder)
| `- error: cannot infer contextual base in reference to member 'placeholder'
19 | self.encoder = encoder ?? JSONEncoder()
20 | }
[27/69] Emitting module Yams
[28/69] Compiling Yams AliasDereferencingStrategy.swift
[29/69] Compiling Yams Anchor.swift
[30/69] Compiling Yams Constructor.swift
[31/69] Compiling DeclarativeRequests MIMEType.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:4:44: error: cannot find type 'URLRequest' in scope
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
| `- error: cannot find type 'URLRequest' in scope
5 | self.keyPath = keyPath
6 | self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Vocabulary/Method.swift:27:25: error: cannot infer key path type from context; consider explicitly specifying a root type
25 |
26 | public var body: some RequestBuildable {
27 | RequestMutation(\.httpMethod, rawValue)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Vocabulary/Method.swift:27:9: error: generic parameter 'Value' could not be inferred
25 |
26 | public var body: some RequestBuildable {
27 | RequestMutation(\.httpMethod, rawValue)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:3:31: note: 'Value' declared as parameter to type 'RequestMutation'
1 | import Foundation
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
| `- note: 'Value' declared as parameter to type 'RequestMutation'
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
5 | self.keyPath = keyPath
[32/69] Compiling DeclarativeRequests Method.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:4:44: error: cannot find type 'URLRequest' in scope
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
| `- error: cannot find type 'URLRequest' in scope
5 | self.keyPath = keyPath
6 | self.value = value
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Vocabulary/Method.swift:27:25: error: cannot infer key path type from context; consider explicitly specifying a root type
25 |
26 | public var body: some RequestBuildable {
27 | RequestMutation(\.httpMethod, rawValue)
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Vocabulary/Method.swift:27:9: error: generic parameter 'Value' could not be inferred
25 |
26 | public var body: some RequestBuildable {
27 | RequestMutation(\.httpMethod, rawValue)
| |- error: generic parameter 'Value' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
28 | }
29 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/RequestMutation.swift:3:31: note: 'Value' declared as parameter to type 'RequestMutation'
1 | import Foundation
2 |
3 | public struct RequestMutation<Value>: RequestBuildable {
| `- note: 'Value' declared as parameter to type 'RequestMutation'
4 | public init(_ keyPath: WritableKeyPath<URLRequest, Value> & Sendable, _ value: @autoclosure @escaping @Sendable () throws -> Value) {
5 | self.keyPath = keyPath
[36/69] Compiling Yams RedundancyAliasingStrategy.swift
[37/69] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Vocabulary/Header.swift:37:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
35 |
36 | public func addValue(_ value: String) -> some RequestBuildable {
37 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
38 | state.request.addValue(value, forHTTPHeaderField: rawValue)
39 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Vocabulary/Header.swift:43:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
41 |
42 | public func setValue(_ value: String) -> some RequestBuildable {
43 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
44 | state.request.setValue(value, forHTTPHeaderField: rawValue)
45 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Vocabulary/Header.swift:37:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
35 |
36 | public func addValue(_ value: String) -> some RequestBuildable {
37 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
38 | state.request.addValue(value, forHTTPHeaderField: rawValue)
39 | }
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Vocabulary/Header.swift:43:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
41 |
42 | public func setValue(_ value: String) -> some RequestBuildable {
43 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
44 | state.request.setValue(value, forHTTPHeaderField: rawValue)
45 | }
[40/69] Compiling Yams Encoder.swift
[41/69] Compiling Yams Node.Scalar.swift
[42/69] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:7:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
5 | public extension RequestBody {
6 | static func string(_ string: String, type: MIMEType = .plainText) -> some RequestBuildable {
7 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
8 | state.request.httpBody = Data(string.utf8)
9 | state.request.setValue(type.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:22:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
20 |
21 | static func urlEncoded(_ name: String, _ value: (some LosslessStringConvertible & Sendable)?) -> some RequestBuildable {
22 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
23 | state.encodedBodyItems += [URLQueryItem(name: name, value: value?.description)]
24 | state.request.setValue(MIMEType.formURLEncoded.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:29:22: error: invalid conversion from throwing function of type '(_) throws -> any RequestBuildable' to non-throwing function type '() -> any RequestBuildable'
27 |
28 | static func urlEncoded(_ encodable: any Encodable & Sendable) -> some RequestBuildable {
29 | RequestBlock { state in
| `- error: invalid conversion from throwing function of type '(_) throws -> any RequestBuildable' to non-throwing function type '() -> any RequestBuildable'
30 | state.encodedBodyItems += try EncodableQueryItems(encodable: encodable, encoder: state.encoder).items
31 | state.request.setValue(MIMEType.formURLEncoded.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
[43/69] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:7:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
5 | public extension RequestBody {
6 | static func string(_ string: String, type: MIMEType = .plainText) -> some RequestBuildable {
7 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
8 | state.request.httpBody = Data(string.utf8)
9 | state.request.setValue(type.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:22:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
20 |
21 | static func urlEncoded(_ name: String, _ value: (some LosslessStringConvertible & Sendable)?) -> some RequestBuildable {
22 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
23 | state.encodedBodyItems += [URLQueryItem(name: name, value: value?.description)]
24 | state.request.setValue(MIMEType.formURLEncoded.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:29:22: error: invalid conversion from throwing function of type '(_) throws -> any RequestBuildable' to non-throwing function type '() -> any RequestBuildable'
27 |
28 | static func urlEncoded(_ encodable: any Encodable & Sendable) -> some RequestBuildable {
29 | RequestBlock { state in
| `- error: invalid conversion from throwing function of type '(_) throws -> any RequestBuildable' to non-throwing function type '() -> any RequestBuildable'
30 | state.encodedBodyItems += try EncodableQueryItems(encodable: encodable, encoder: state.encoder).items
31 | state.request.setValue(MIMEType.formURLEncoded.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
[44/69] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:14:25: error: cannot find type 'URLRequest' in scope
12 | /// isolation boundary, so there is no concurrent access to guard.
13 | public final class RequestState: @unchecked Sendable {
14 | public var request: URLRequest
| `- error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:7:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
5 | public extension RequestBody {
6 | static func string(_ string: String, type: MIMEType = .plainText) -> some RequestBuildable {
7 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
8 | state.request.httpBody = Data(string.utf8)
9 | state.request.setValue(type.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:22:24: error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
20 |
21 | static func urlEncoded(_ name: String, _ value: (some LosslessStringConvertible & Sendable)?) -> some RequestBuildable {
22 | RequestBlock { state in
| `- error: contextual closure type '() -> any RequestBuildable' expects 0 arguments, but 1 was used in closure body
23 | state.encodedBodyItems += [URLQueryItem(name: name, value: value?.description)]
24 | state.request.setValue(MIMEType.formURLEncoded.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/Syntax/Body/RequestBody.swift:29:22: error: invalid conversion from throwing function of type '(_) throws -> any RequestBuildable' to non-throwing function type '() -> any RequestBuildable'
27 |
28 | static func urlEncoded(_ encodable: any Encodable & Sendable) -> some RequestBuildable {
29 | RequestBlock { state in
| `- error: invalid conversion from throwing function of type '(_) throws -> any RequestBuildable' to non-throwing function type '() -> any RequestBuildable'
30 | state.encodedBodyItems += try EncodableQueryItems(encodable: encodable, encoder: state.encoder).items
31 | state.request.setValue(MIMEType.formURLEncoded.rawValue, forHTTPHeaderField: Header.contentType.rawValue)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/RequestBuildable.swift:23:63: error: cannot find type 'URLRequest' in scope
21 | public extension RequestBuildable {
22 | /// Materializes. Pass a premade request to apply the blocks on top of it instead of a blank one.
23 | func request(initialRequest: URLRequest? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
24 | let state = RequestState(request: initialRequest)
25 | try transform(state)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/RequestBuildable.swift:23:34: error: cannot find type 'URLRequest' in scope
21 | public extension RequestBuildable {
22 | /// Materializes. Pass a premade request to apply the blocks on top of it instead of a blank one.
23 | func request(initialRequest: URLRequest? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
24 | let state = RequestState(request: initialRequest)
25 | try transform(state)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:17:19: error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
| `- error: cannot find type 'URLRequest' in scope
18 | self.request = request ?? URLRequest(url: .placeholder)
19 | self.encoder = encoder ?? JSONEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/EncodableQueryItems.swift:11:13: error: cannot find 'CFGetTypeID' in scope
9 | string
10 | } else if let number = any as? NSNumber {
11 | CFGetTypeID(number) == CFBooleanGetTypeID()
| `- error: cannot find 'CFGetTypeID' in scope
12 | ? String(describing: number.boolValue)
13 | : number.stringValue
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/EncodableQueryItems.swift:11:36: error: cannot find 'CFBooleanGetTypeID' in scope
9 | string
10 | } else if let number = any as? NSNumber {
11 | CFGetTypeID(number) == CFBooleanGetTypeID()
| `- error: cannot find 'CFBooleanGetTypeID' in scope
12 | ? String(describing: number.boolValue)
13 | : number.stringValue
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/RequestBuildable.swift:23:63: error: cannot find type 'URLRequest' in scope
21 | public extension RequestBuildable {
22 | /// Materializes. Pass a premade request to apply the blocks on top of it instead of a blank one.
23 | func request(initialRequest: URLRequest? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
24 | let state = RequestState(request: initialRequest)
25 | try transform(state)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/RequestBuildable.swift:23:34: error: cannot find type 'URLRequest' in scope
21 | public extension RequestBuildable {
22 | /// Materializes. Pass a premade request to apply the blocks on top of it instead of a blank one.
23 | func request(initialRequest: URLRequest? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
24 | let state = RequestState(request: initialRequest)
25 | try transform(state)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:17:19: error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
| `- error: cannot find type 'URLRequest' in scope
18 | self.request = request ?? URLRequest(url: .placeholder)
19 | self.encoder = encoder ?? JSONEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/EncodableQueryItems.swift:11:13: error: cannot find 'CFGetTypeID' in scope
9 | string
10 | } else if let number = any as? NSNumber {
11 | CFGetTypeID(number) == CFBooleanGetTypeID()
| `- error: cannot find 'CFGetTypeID' in scope
12 | ? String(describing: number.boolValue)
13 | : number.stringValue
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/EncodableQueryItems.swift:11:36: error: cannot find 'CFBooleanGetTypeID' in scope
9 | string
10 | } else if let number = any as? NSNumber {
11 | CFGetTypeID(number) == CFBooleanGetTypeID()
| `- error: cannot find 'CFBooleanGetTypeID' in scope
12 | ? String(describing: number.boolValue)
13 | : number.stringValue
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/RequestBuildable.swift:23:63: error: cannot find type 'URLRequest' in scope
21 | public extension RequestBuildable {
22 | /// Materializes. Pass a premade request to apply the blocks on top of it instead of a blank one.
23 | func request(initialRequest: URLRequest? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
24 | let state = RequestState(request: initialRequest)
25 | try transform(state)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/RequestBuildable.swift:23:34: error: cannot find type 'URLRequest' in scope
21 | public extension RequestBuildable {
22 | /// Materializes. Pass a premade request to apply the blocks on top of it instead of a blank one.
23 | func request(initialRequest: URLRequest? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
24 | let state = RequestState(request: initialRequest)
25 | try transform(state)
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/RequestState.swift:17:19: error: cannot find type 'URLRequest' in scope
15 | public var encoder: JSONEncoder
16 |
17 | init(request: URLRequest? = nil, encoder: JSONEncoder? = nil) {
| `- error: cannot find type 'URLRequest' in scope
18 | self.request = request ?? URLRequest(url: .placeholder)
19 | self.encoder = encoder ?? JSONEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/EncodableQueryItems.swift:11:13: error: cannot find 'CFGetTypeID' in scope
9 | string
10 | } else if let number = any as? NSNumber {
11 | CFGetTypeID(number) == CFBooleanGetTypeID()
| `- error: cannot find 'CFGetTypeID' in scope
12 | ? String(describing: number.boolValue)
13 | : number.stringValue
/host/spi-builder-workspace/.build/checkouts/swift-declarative-requests/Sources/DeclarativeRequests/State/EncodableQueryItems.swift:11:36: error: cannot find 'CFBooleanGetTypeID' in scope
9 | string
10 | } else if let number = any as? NSNumber {
11 | CFGetTypeID(number) == CFBooleanGetTypeID()
| `- error: cannot find 'CFBooleanGetTypeID' in scope
12 | ? String(describing: number.boolValue)
13 | : number.stringValue
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/69] Emitting module ComposableNetworking
/host/spi-builder-workspace/.build/checkouts/swift-composable-networking/Sources/ComposableNetworking/RefreshingExecutor.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// 401 → single-flight refresh → one retry, generic over any Operation.
[52/69] Compiling ComposableNetworking ClientBuilder.swift
/host/spi-builder-workspace/.build/checkouts/swift-composable-networking/Sources/ComposableNetworking/RefreshingExecutor.swift:1:8: error: no such module 'SwiftUI'
1 | import SwiftUI
| `- error: no such module 'SwiftUI'
2 |
3 | /// 401 → single-flight refresh → one retry, generic over any Operation.
BUILD FAILURE 6.3 wasm