Build Information
Failed to build RSSwiftNetworking with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rootstrap/RSSwiftNetworking.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/rootstrap/RSSwiftNetworking
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c1a44b6 Merge pull request #17 from rootstrap/refactor/version-number-fix
Cloned https://github.com/rootstrap/RSSwiftNetworking.git
Revision (git rev-parse @):
c1a44b60c4e949092629948158a2b27472a5e0be
SUCCESS checkout https://github.com/rootstrap/RSSwiftNetworking.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/Alamofire/Alamofire.git
[1/27716] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git (3.62s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.34s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.6.2
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/55] Emitting module RSSwiftNetworking
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
var urlRequest: URLRequest {
^~~~~~~~~~
[2/58] Compiling Alamofire AFError.swift
[3/58] Compiling Alamofire Alamofire.swift
[4/58] Compiling Alamofire AlamofireExtended.swift
[5/58] Compiling Alamofire AuthenticationInterceptor.swift
[6/58] Compiling Alamofire CachedResponseHandler.swift
[7/58] Compiling Alamofire HTTPMethod.swift
[8/58] Compiling Alamofire MultipartFormData.swift
[9/58] Compiling Alamofire MultipartUpload.swift
[10/58] Emitting module Alamofire
[11/62] Compiling Alamofire Request.swift
[12/62] Compiling RSSwiftNetworking ParameterEncoding.swift
[13/62] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[14/62] Compiling RSSwiftNetworking Network.swift
[15/62] Compiling Alamofire ParameterEncoder.swift
[16/62] Compiling Alamofire ParameterEncoding.swift
[17/62] Compiling Alamofire Protected.swift
[18/62] Compiling Alamofire RedirectHandler.swift
[19/62] Compiling Alamofire Combine.swift
[20/62] Compiling Alamofire Concurrency.swift
[21/62] Compiling Alamofire DispatchQueue+Alamofire.swift
[22/62] Compiling Alamofire EventMonitor.swift
[23/62] Compiling Alamofire HTTPHeaders.swift
[24/62] Compiling Alamofire NetworkReachabilityManager.swift
[25/62] Compiling Alamofire Notifications.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
var urlRequest: URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:15:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: requestURL)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
var urlRequest: URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:15:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: requestURL)
^~~~~~~~~~
[32/62] Compiling Alamofire OperationQueue+Alamofire.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
var urlRequest: URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:15:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: requestURL)
^~~~~~~~~~
[45/62] Compiling Alamofire Session.swift
[46/62] Compiling Alamofire SessionDelegate.swift
[47/62] Compiling Alamofire StringEncoding+Alamofire.swift
[48/62] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[55/62] Compiling Alamofire ResponseSerialization.swift
[56/62] Compiling Alamofire Result+Alamofire.swift
[57/62] Compiling Alamofire RetryPolicy.swift
[58/62] Compiling Alamofire ServerTrustEvaluation.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/9] Compiling RSSwiftNetworking Data+Base64.swift
[2/9] Compiling RSSwiftNetworking Endpoint+URLRequest.swift
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
var urlRequest: URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:15:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: requestURL)
^~~~~~~~~~
[3/11] Compiling RSSwiftNetworking APIClient+Concurrency.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Emitting module RSSwiftNetworking
/host/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/Endpoint+URLRequest.swift:14:21: error: cannot find type 'URLRequest' in scope
var urlRequest: URLRequest {
^~~~~~~~~~
[5/15] Compiling RSSwiftNetworking APIClient.swift
[6/15] Compiling RSSwiftNetworking Base64Media.swift
[7/15] Compiling RSSwiftNetworking APIError.swift
[8/15] Compiling RSSwiftNetworking MultipartMedia.swift
[9/15] Compiling RSSwiftNetworking BaseAPIClient.swift
[10/15] Compiling RSSwiftNetworking Network.swift
[11/15] Compiling Alamofire Validation.swift
[12/15] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
error: fatalError
BUILD FAILURE 5.9 linux