The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-declarative-openapi-generator, reference main (1363ba), with Swift 6.3 for Wasm on 19 Nov 2026 08:37:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
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 1363ba2 The pin follows the runtime's 1.1.0
Cloned https://github.com/sisoje/swift-declarative-openapi-generator.git
Revision (git rev-parse @):
1363ba2469152062ab132ab12d6b7dfdd5f8a7b3
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-54344845-1":/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:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/sisoje/swift-composable-networking.git
Fetching https://github.com/sisoje/swift-declarative-requests.git
[1/3597] Fetching swift-declarative-requests
[2/3710] Fetching swift-declarative-requests, swift-composable-networking
Fetched https://github.com/sisoje/swift-declarative-requests.git from cache (0.39s)
[1/11910] Fetching yams
Fetched https://github.com/sisoje/swift-composable-networking.git from cache (0.91s)
Fetched https://github.com/jpsim/Yams.git from cache (0.93s)
Computing version for https://github.com/sisoje/swift-composable-networking.git
Computed https://github.com/sisoje/swift-composable-networking.git at 1.1.0 (1.08s)
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.13s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.88s)
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.1.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.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
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/46] Compiling emitter.c
[15/46] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/66] 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/68] Emitting module Yams
[19/70] Compiling Yams String+Yams.swift
[20/70] Compiling Yams Parser.swift
[21/70] Compiling Yams Mark.swift
[22/70] Compiling DeclarativeRequests MIMEType.swift
[23/70] Compiling DeclarativeRequests Method.swift
[24/70] Compiling Yams RedundancyAliasingStrategy.swift
/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
[25/70] Compiling Yams Representer.swift
/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
[26/70] Compiling Yams Decoder.swift
/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
[27/70] Compiling Yams Node.Scalar.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
[28/70] Compiling Yams Node.Sequence.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
[29/70] 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/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 |         }
/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
/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
[33/70] Compiling Yams Tag.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 |     }
[34/70] Compiling Yams YamlAnchorProviding.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 |     }
[35/70] Compiling Yams Resolver.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 |     }
[36/70] Compiling Yams Anchor.swift
[37/70] Compiling Yams Constructor.swift
[38/70] Compiling Yams Emitter.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)
[39/70] Compiling Yams Encoder.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)
[40/70] Compiling Yams AliasDereferencingStrategy.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)
[46/70] Compiling Yams YamlError.swift
[47/70] Compiling Yams YamlTagProviding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/70] 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.
[49/70] 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.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 |         // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 |         // it uses with `String(format:...)`
307 |         let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
    |                                             `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 |         // "%*.g" does not use scientific notation if the exponent is less than –4.
309 |         // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[58/70] 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.
[59/70] 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.
/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