The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build RetroSwift, reference 1.0.1 (545625), with Swift 6.0 for Linux on 3 Nov 2024 14:44:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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.0
Building package at path:  $PWD
https://github.com/rmichelberger/RetroSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] 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:20:28: error: 'nil' requires a contextual type
18 |          headers: [HeaderType]? = nil) {
19 |         guard var urlComponents = URLComponents(string: baseURL) else {
20 |             wrappedValue = nil
   |                            `- error: 'nil' requires a contextual type
21 |             return
22 |         }
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:28:28: error: 'nil' requires a contextual type
26 |         urlComponents.queryItems = queries
27 |         guard let url = urlComponents.url else {
28 |             wrappedValue = nil
   |                            `- error: 'nil' requires a contextual type
29 |             return
30 |         }
/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 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:20:28: error: 'nil' requires a contextual type
18 |          headers: [HeaderType]? = nil) {
19 |         guard var urlComponents = URLComponents(string: baseURL) else {
20 |             wrappedValue = nil
   |                            `- error: 'nil' requires a contextual type
21 |             return
22 |         }
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:28:28: error: 'nil' requires a contextual type
26 |         urlComponents.queryItems = queries
27 |         guard let url = urlComponents.url else {
28 |             wrappedValue = nil
   |                            `- error: 'nil' requires a contextual type
29 |             return
30 |         }
/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) })
[5/17] Compiling RetroSwift Header.swift
[6/17] Compiling RetroSwift KeyValuePair.swift
[7/17] Compiling RetroSwift Path.swift
[8/17] Compiling RetroSwift Query.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/17] Compiling RetroSwift Body.swift
[10/17] Compiling RetroSwift DataEncoder.swift
[11/17] 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 |
[12/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 | }
[13/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 | }
[14/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 |
[15/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 {
[16/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 | }
[17/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 | }
BUILD FAILURE 6.0 linux