The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RetroSwift, reference main (545625), with Swift 6.2 (beta) for Linux on 20 Jun 2025 13:23:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rmichelberger/RetroSwift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/rmichelberger/RetroSwift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rmichelberger/RetroSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling RetroSwift Body.swift
[4/16] Compiling RetroSwift DataEncoder.swift
[5/16] Compiling RetroSwift Path.swift
[6/16] Compiling RetroSwift Query.swift
[7/16] Compiling RetroSwift Header.swift
[8/16] Compiling RetroSwift KeyValuePair.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/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 |
[10/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 {
[11/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) })
[12/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) })
[13/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 | }
[14/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 | }
[15/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 | }
[16/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 | }
[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 |
BUILD FAILURE 6.2 linux