The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-declarative-openapi, reference 1.1.0 (7f6c3f), with Swift 6.3 for Wasm on 4 Sep 2026 00:14:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sisoje/swift-declarative-openapi-generator.git
Reference: 1.1.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/sisoje/swift-declarative-openapi-generator
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 7f6c3f7 Binding is Sendable, its accessors are not
Cloned https://github.com/sisoje/swift-declarative-openapi-generator.git
Revision (git rev-parse @):
7f6c3f7d661749d199e6968a3a87e850c10a53b9
SUCCESS checkout https://github.com/sisoje/swift-declarative-openapi-generator.git at 1.1.0
========================================
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-54344844-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: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
[1/3593] Fetching swift-declarative-requests
[3594/15454] Fetching swift-declarative-requests, yams
Fetched https://github.com/sisoje/swift-declarative-requests.git from cache (1.17s)
Fetched https://github.com/jpsim/Yams.git from cache (1.20s)
Computing version for https://github.com/sisoje/swift-declarative-requests.git
Computed https://github.com/sisoje/swift-declarative-requests.git at 2.0.1 (1.40s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.91s)
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/27] Compiling api.c
[14/28] 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 Mark.swift
[19/67] Compiling DeclarativeRequests MIMEType.swift
[20/67] Compiling DeclarativeRequests Method.swift
[21/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/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 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/69] Emitting module DeclarativeOpenAPIRuntime
/host/spi-builder-workspace/Sources/DeclarativeOpenAPIRuntime/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 spec's Operation.
[24/69] Compiling DeclarativeOpenAPIRuntime ClientBuilder.swift
/host/spi-builder-workspace/Sources/DeclarativeOpenAPIRuntime/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 spec's Operation.
[25/69] 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)
[26/69] 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/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)
[27/69] Compiling Yams String+Yams.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/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
[30/69] Compiling Yams AliasDereferencingStrategy.swift
[31/69] Compiling Yams Anchor.swift
[32/69] Compiling Yams Constructor.swift
[33/69] Emitting module Yams
[34/69] Compiling DeclarativeOpenAPIRuntime ClosureUtilities.swift
/host/spi-builder-workspace/Sources/DeclarativeOpenAPIRuntime/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 spec's Operation.
[35/69] Compiling DeclarativeOpenAPIRuntime RefreshingExecutor.swift
/host/spi-builder-workspace/Sources/DeclarativeOpenAPIRuntime/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 spec's Operation.
[36/69] Compiling DeclarativeOpenAPIRuntime ResponseError.swift
/host/spi-builder-workspace/Sources/DeclarativeOpenAPIRuntime/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 spec's Operation.
[37/69] Compiling DeclarativeOpenAPIRuntime NetworkExecution.swift
/host/spi-builder-workspace/Sources/DeclarativeOpenAPIRuntime/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 spec's Operation.
[38/69] Compiling Yams Parser.swift
/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.
[39/69] Compiling Yams RedundancyAliasingStrategy.swift
/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.
[40/69] Compiling Yams Representer.swift
/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.
[41/69] Compiling Yams Tag.swift
[42/69] Compiling Yams YamlAnchorProviding.swift
[43/69] 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
[44/69] 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
/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
BUILD FAILURE 6.3 wasm