Build Information
Failed to build RetroSwift with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/rmichelberger/RetroSwift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling RetroSwift RetroSwift.swift
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
func execute<T: Decodable>(request: URLRequest) async throws -> T
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
[4/16] Compiling RetroSwift Request.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:20:28: error: 'nil' requires a contextual type
wrappedValue = nil
^
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:28:28: error: 'nil' requires a contextual type
wrappedValue = nil
^
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:31:24: error: cannot find 'URLRequest' in scope
wrappedValue = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
[5/16] Compiling RetroSwift Extensions.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:20:28: error: 'nil' requires a contextual type
wrappedValue = nil
^
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:28:28: error: 'nil' requires a contextual type
wrappedValue = nil
^
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:31:24: error: cannot find 'URLRequest' in scope
wrappedValue = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/17] Compiling RetroSwift Body.swift
[7/17] Compiling RetroSwift DataEncoder.swift
[8/17] Emitting module RetroSwift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
func execute<T: Decodable>(request: URLRequest) async throws -> T
^~~~~~~~~~
[9/17] Compiling RetroSwift HTTPClient.swift
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
func execute<T: Decodable>(request: URLRequest) async throws -> T
^~~~~~~~~~
[10/17] Compiling RetroSwift POST.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/POST.swift:12:63: error: cannot infer contextual base in reference to member 'POST'
wrappedValue = Request(baseURL: baseURL, httpMethod: .POST , path: path, queries: queries, body: body, headers: headers)
~^~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/PUT.swift:12:63: error: cannot infer contextual base in reference to member 'PUT'
wrappedValue = Request(baseURL: baseURL, httpMethod: .PUT , path: path, queries: queries, body: body, headers: headers)
~^~~
[11/17] Compiling RetroSwift PUT.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/POST.swift:12:63: error: cannot infer contextual base in reference to member 'POST'
wrappedValue = Request(baseURL: baseURL, httpMethod: .POST , path: path, queries: queries, body: body, headers: headers)
~^~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/PUT.swift:12:63: error: cannot infer contextual base in reference to member 'PUT'
wrappedValue = Request(baseURL: baseURL, httpMethod: .PUT , path: path, queries: queries, body: body, headers: headers)
~^~~
[12/17] Compiling RetroSwift DELETE.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/DELETE.swift:11:63: error: cannot infer contextual base in reference to member 'DELETE'
wrappedValue = Request(baseURL: baseURL, httpMethod: .DELETE, path: path, queries: queries, headers: headers)
~^~~~~~
[13/17] Compiling RetroSwift GET.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/DELETE.swift:11:63: error: cannot infer contextual base in reference to member 'DELETE'
wrappedValue = Request(baseURL: baseURL, httpMethod: .DELETE, path: path, queries: queries, headers: headers)
~^~~~~~
[14/17] Compiling RetroSwift Header.swift
[15/17] Compiling RetroSwift KeyValuePair.swift
[16/17] Compiling RetroSwift Path.swift
[17/17] Compiling RetroSwift Query.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling RetroSwift GET.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
[3/10] Compiling RetroSwift Extensions.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
[4/10] Compiling RetroSwift DELETE.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/DELETE.swift:11:63: error: cannot infer contextual base in reference to member 'DELETE'
wrappedValue = Request(baseURL: baseURL, httpMethod: .DELETE, path: path, queries: queries, headers: headers)
~^~~~~~
[5/10] Compiling RetroSwift PUT.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/PUT.swift:12:63: error: cannot infer contextual base in reference to member 'PUT'
wrappedValue = Request(baseURL: baseURL, httpMethod: .PUT , path: path, queries: queries, body: body, headers: headers)
~^~~
[6/10] Compiling RetroSwift POST.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/methods/POST.swift:12:63: error: cannot infer contextual base in reference to member 'POST'
wrappedValue = Request(baseURL: baseURL, httpMethod: .POST , path: path, queries: queries, body: body, headers: headers)
~^~~~
[7/10] Compiling RetroSwift RetroSwift.swift
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
func execute<T: Decodable>(request: URLRequest) async throws -> T
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
[8/10] Compiling RetroSwift Request.swift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:20:28: error: 'nil' requires a contextual type
wrappedValue = nil
^
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:28:28: error: 'nil' requires a contextual type
wrappedValue = nil
^
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:31:24: error: cannot find 'URLRequest' in scope
wrappedValue = URLRequest(url: url)
^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module RetroSwift
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:5:43: error: cannot find type 'URLRequest' in scope
public private(set) var wrappedValue: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/Request.swift:12:23: error: cannot find type 'URLRequest' in scope
cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/Request/extensions/Extensions.swift:3:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
func execute<T: Decodable>(request: URLRequest) async throws -> T
^~~~~~~~~~
[10/10] Compiling RetroSwift HTTPClient.swift
/host/spi-builder-workspace/Sources/RetroSwift/client/HTTPClient.swift:4:41: error: cannot find type 'URLRequest' in scope
func execute<T: Decodable>(request: URLRequest) async throws -> T
^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux