Build Information
Failed to build swift-declarative-openapi, reference 1.1.0 (7f6c3f), with Swift 6.3 for Linux on 4 Sep 2026 00:24:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 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: 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: linux
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-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:b82c9ac2aaad9c671b7a7653c8e6eeaf006cac60f6a8910901b9357c067e0892
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/sisoje/swift-declarative-requests.git
[1/3593] Fetching swift-declarative-requests
[2/15454] Fetching swift-declarative-requests, yams
Fetched https://github.com/sisoje/swift-declarative-requests.git from cache (0.54s)
[831/11861] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.12s)
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.28s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.10s)
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 writer.c
[10/21] Compiling reader.c
[11/21] Compiling parser.c
[12/21] Write swift-version-24593BA9C3E375BF.txt
[13/21] Compiling api.c
[14/21] Compiling emitter.c
[15/28] 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 Tag.swift
[19/67] Compiling Yams YamlAnchorProviding.swift
[20/69] Compiling Yams Mark.swift
[21/69] Compiling Yams Node.Alias.swift
[22/69] Compiling Yams Node.Mapping.swift
[23/69] Compiling Yams Emitter.swift
[24/69] Compiling Yams Encoder.swift
[25/69] Compiling Yams Node.Scalar.swift
[26/69] Compiling DeclarativeRequests MIMEType.swift
[27/69] Compiling DeclarativeRequests Method.swift
[28/69] Compiling Yams YamlError.swift
[29/69] Compiling Yams YamlTagProviding.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
/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 Yams Decoder.swift
[35/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.
[36/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/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 | }
[38/69] Compiling Yams AliasDereferencingStrategy.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
[39/69] Compiling Yams Anchor.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
[40/69] Compiling Yams Constructor.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
[41/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.
[42/69] Compiling Yams Resolver.swift
[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/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 | }
[45/69] Compiling Yams RedundancyAliasingStrategy.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 | }
[46/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/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 | }
/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/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/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/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/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)
[57/69] Emitting module Yams
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/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.
[62/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.
[63/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.
[64/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.
error: cancelled
BUILD FAILURE 6.3 linux