Build Information
Failed to build RetroSwift, reference 1.0.1 (545625
), with Swift 6.1 for Linux on 27 Apr 2025 20:31:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rmichelberger/RetroSwift.git
Reference: 1.0.1
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/rmichelberger/RetroSwift
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 545625e - changed min iOS and tvOS version from 11 to 13
Cloned https://github.com/rmichelberger/RetroSwift.git
Revision (git rev-parse @):
545625e2343f42e65dda466b701ad25a504cc3c6
SUCCESS checkout https://github.com/rmichelberger/RetroSwift.git at 1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/rmichelberger/RetroSwift.git
https://github.com/rmichelberger/RetroSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "RetroSwift",
"name" : "RetroSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "RetroSwift",
"targets" : [
"RetroSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RetroSwiftTests",
"module_type" : "SwiftTarget",
"name" : "RetroSwiftTests",
"path" : "Tests/RetroSwiftTests",
"sources" : [
"QueryTests.swift",
"RequestTests.swift"
],
"target_dependencies" : [
"RetroSwift"
],
"type" : "test"
},
{
"c99name" : "RetroSwift",
"module_type" : "SwiftTarget",
"name" : "RetroSwift",
"path" : "Sources/RetroSwift",
"product_memberships" : [
"RetroSwift"
],
"sources" : [
"Request/Body.swift",
"Request/DataEncoder.swift",
"Request/Header.swift",
"Request/KeyValuePair.swift",
"Request/Path.swift",
"Request/Query.swift",
"Request/Request.swift",
"Request/extensions/Extensions.swift",
"Request/methods/DELETE.swift",
"Request/methods/GET.swift",
"Request/methods/POST.swift",
"Request/methods/PUT.swift",
"RetroSwift.swift",
"client/HTTPClient.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/16] Compiling RetroSwift Header.swift
[4/16] Compiling RetroSwift KeyValuePair.swift
[5/16] Compiling RetroSwift Body.swift
[6/16] Compiling RetroSwift DataEncoder.swift
[7/16] Emitting module RetroSwift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
1 | import Foundation
2 |
3 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
4 | mutating func set(headers: [KeyValuePair<String, CustomStringConvertible?>]?) {
5 | headers?.forEach({ setValue($0.value?.description, forHTTPHeaderField: $0.key) })
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol HTTPClient {
4 | func execute<T: Decodable>(request: URLRequest) async throws -> T
| `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
[8/17] Compiling RetroSwift Request.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:31:24: error: cannot find 'URLRequest' in scope
29 | return
30 | }
31 | wrappedValue = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
32 | wrappedValue?.httpMethod = httpMethod.rawValue
33 |
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
1 | import Foundation
2 |
3 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
4 | mutating func set(headers: [KeyValuePair<String, CustomStringConvertible?>]?) {
5 | headers?.forEach({ setValue($0.value?.description, forHTTPHeaderField: $0.key) })
[9/17] Compiling RetroSwift Extensions.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:31:24: error: cannot find 'URLRequest' in scope
29 | return
30 | }
31 | wrappedValue = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
32 | wrappedValue?.httpMethod = httpMethod.rawValue
33 |
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
1 | import Foundation
2 |
3 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
4 | mutating func set(headers: [KeyValuePair<String, CustomStringConvertible?>]?) {
5 | headers?.forEach({ setValue($0.value?.description, forHTTPHeaderField: $0.key) })
[10/17] Compiling RetroSwift DELETE.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/DELETE.swift:11:63: error: cannot infer contextual base in reference to member 'DELETE'
9 | queries: [URLQueryItem]? = nil,
10 | headers: [HeaderType]? = nil) {
11 | wrappedValue = Request(baseURL: baseURL, httpMethod: .DELETE, path: path, queries: queries, headers: headers)
| `- error: cannot infer contextual base in reference to member 'DELETE'
12 | }
13 | }
[11/17] Compiling RetroSwift GET.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/DELETE.swift:11:63: error: cannot infer contextual base in reference to member 'DELETE'
9 | queries: [URLQueryItem]? = nil,
10 | headers: [HeaderType]? = nil) {
11 | wrappedValue = Request(baseURL: baseURL, httpMethod: .DELETE, path: path, queries: queries, headers: headers)
| `- error: cannot infer contextual base in reference to member 'DELETE'
12 | }
13 | }
[12/17] Compiling RetroSwift POST.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/POST.swift:12:63: error: cannot infer contextual base in reference to member 'POST'
10 | body: Data? = nil,
11 | headers: [HeaderType]? = nil) {
12 | wrappedValue = Request(baseURL: baseURL, httpMethod: .POST , path: path, queries: queries, body: body, headers: headers)
| `- error: cannot infer contextual base in reference to member 'POST'
13 | }
14 | }
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/PUT.swift:12:63: error: cannot infer contextual base in reference to member 'PUT'
10 | body: Data? = nil,
11 | headers: [HeaderType]? = nil) {
12 | wrappedValue = Request(baseURL: baseURL, httpMethod: .PUT , path: path, queries: queries, body: body, headers: headers)
| `- error: cannot infer contextual base in reference to member 'PUT'
13 | }
14 | }
[13/17] Compiling RetroSwift PUT.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/POST.swift:12:63: error: cannot infer contextual base in reference to member 'POST'
10 | body: Data? = nil,
11 | headers: [HeaderType]? = nil) {
12 | wrappedValue = Request(baseURL: baseURL, httpMethod: .POST , path: path, queries: queries, body: body, headers: headers)
| `- error: cannot infer contextual base in reference to member 'POST'
13 | }
14 | }
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/PUT.swift:12:63: error: cannot infer contextual base in reference to member 'PUT'
10 | body: Data? = nil,
11 | headers: [HeaderType]? = nil) {
12 | wrappedValue = Request(baseURL: baseURL, httpMethod: .PUT , path: path, queries: queries, body: body, headers: headers)
| `- error: cannot infer contextual base in reference to member 'PUT'
13 | }
14 | }
[14/17] Compiling RetroSwift RetroSwift.swift
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol HTTPClient {
4 | func execute<T: Decodable>(request: URLRequest) async throws -> T
| `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
[15/17] Compiling RetroSwift Path.swift
[16/17] Compiling RetroSwift Query.swift
[17/17] Compiling RetroSwift HTTPClient.swift
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol HTTPClient {
4 | func execute<T: Decodable>(request: URLRequest) async throws -> T
| `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling RetroSwift Request.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:31:24: error: cannot find 'URLRequest' in scope
29 | return
30 | }
31 | wrappedValue = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
32 | wrappedValue?.httpMethod = httpMethod.rawValue
33 |
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
1 | import Foundation
2 |
3 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
4 | mutating func set(headers: [KeyValuePair<String, CustomStringConvertible?>]?) {
5 | headers?.forEach({ setValue($0.value?.description, forHTTPHeaderField: $0.key) })
[3/15] Compiling RetroSwift Extensions.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:31:24: error: cannot find 'URLRequest' in scope
29 | return
30 | }
31 | wrappedValue = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
32 | wrappedValue?.httpMethod = httpMethod.rawValue
33 |
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
1 | import Foundation
2 |
3 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
4 | mutating func set(headers: [KeyValuePair<String, CustomStringConvertible?>]?) {
5 | headers?.forEach({ setValue($0.value?.description, forHTTPHeaderField: $0.key) })
[4/16] Compiling RetroSwift DELETE.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/DELETE.swift:11:63: error: cannot infer contextual base in reference to member 'DELETE'
9 | queries: [URLQueryItem]? = nil,
10 | headers: [HeaderType]? = nil) {
11 | wrappedValue = Request(baseURL: baseURL, httpMethod: .DELETE, path: path, queries: queries, headers: headers)
| `- error: cannot infer contextual base in reference to member 'DELETE'
12 | }
13 | }
[5/16] Compiling RetroSwift GET.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/DELETE.swift:11:63: error: cannot infer contextual base in reference to member 'DELETE'
9 | queries: [URLQueryItem]? = nil,
10 | headers: [HeaderType]? = nil) {
11 | wrappedValue = Request(baseURL: baseURL, httpMethod: .DELETE, path: path, queries: queries, headers: headers)
| `- error: cannot infer contextual base in reference to member 'DELETE'
12 | }
13 | }
[6/16] Compiling RetroSwift Path.swift
[7/16] Compiling RetroSwift Query.swift
[8/16] Compiling RetroSwift Header.swift
[9/16] Compiling RetroSwift KeyValuePair.swift
[10/16] Compiling RetroSwift Body.swift
[11/16] Compiling RetroSwift DataEncoder.swift
[12/16] Compiling RetroSwift RetroSwift.swift
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol HTTPClient {
4 | func execute<T: Decodable>(request: URLRequest) async throws -> T
| `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
[13/16] Compiling RetroSwift POST.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/POST.swift:12:63: error: cannot infer contextual base in reference to member 'POST'
10 | body: Data? = nil,
11 | headers: [HeaderType]? = nil) {
12 | wrappedValue = Request(baseURL: baseURL, httpMethod: .POST , path: path, queries: queries, body: body, headers: headers)
| `- error: cannot infer contextual base in reference to member 'POST'
13 | }
14 | }
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/PUT.swift:12:63: error: cannot infer contextual base in reference to member 'PUT'
10 | body: Data? = nil,
11 | headers: [HeaderType]? = nil) {
12 | wrappedValue = Request(baseURL: baseURL, httpMethod: .PUT , path: path, queries: queries, body: body, headers: headers)
| `- error: cannot infer contextual base in reference to member 'PUT'
13 | }
14 | }
[14/16] Compiling RetroSwift PUT.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/POST.swift:12:63: error: cannot infer contextual base in reference to member 'POST'
10 | body: Data? = nil,
11 | headers: [HeaderType]? = nil) {
12 | wrappedValue = Request(baseURL: baseURL, httpMethod: .POST , path: path, queries: queries, body: body, headers: headers)
| `- error: cannot infer contextual base in reference to member 'POST'
13 | }
14 | }
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/PUT.swift:12:63: error: cannot infer contextual base in reference to member 'PUT'
10 | body: Data? = nil,
11 | headers: [HeaderType]? = nil) {
12 | wrappedValue = Request(baseURL: baseURL, httpMethod: .PUT , path: path, queries: queries, body: body, headers: headers)
| `- error: cannot infer contextual base in reference to member 'PUT'
13 | }
14 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/16] Emitting module RetroSwift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
3 | @propertyWrapper
4 | public struct Request {
5 | public private(set) var wrappedValue: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
6 |
7 | public enum HTTPMethod: String {
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
10 |
11 | public init(baseURL: String,
12 | cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
| `- error: cannot find type 'URLRequest' in scope
13 | timeoutInterval: TimeInterval = 60.0,
14 | httpMethod: HTTPMethod = .GET,
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
1 | import Foundation
2 |
3 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
4 | mutating func set(headers: [KeyValuePair<String, CustomStringConvertible?>]?) {
5 | headers?.forEach({ setValue($0.value?.description, forHTTPHeaderField: $0.key) })
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol HTTPClient {
4 | func execute<T: Decodable>(request: URLRequest) async throws -> T
| `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
[16/16] Compiling RetroSwift HTTPClient.swift
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol HTTPClient {
4 | func execute<T: Decodable>(request: URLRequest) async throws -> T
| `- error: cannot find type 'URLRequest' in scope
5 | }
6 |
BUILD FAILURE 6.1 linux