Build Information
Failed to build RSSwiftNetworking with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-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: 1.1.7
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
* tag 1.1.7 -> FETCH_HEAD
HEAD is now at 0fb25cd Merge pull request #16 from rootstrap/feature/separate-key-name-from-file-name
Cloned https://github.com/rootstrap/RSSwiftNetworking.git
Revision (git rev-parse @):
0fb25cd68154313e597e68f3f286da46ed9cc4f9
SUCCESS checkout https://github.com/rootstrap/RSSwiftNetworking.git at 1.1.7
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/Alamofire/Alamofire.git
[1/27716] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git (2.53s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.37s)
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] Emitting module Alamofire
[3/62] Compiling Alamofire AuthenticationInterceptor.swift
[4/62] Compiling Alamofire CachedResponseHandler.swift
[5/62] Compiling Alamofire HTTPMethod.swift
[6/62] Compiling Alamofire URLEncodedFormEncoder.swift
[7/62] Compiling Alamofire URLRequest+Alamofire.swift
[8/62] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[9/62] Compiling Alamofire Validation.swift
[10/62] Compiling Alamofire Session.swift
[11/62] Compiling Alamofire SessionDelegate.swift
[12/62] Compiling Alamofire StringEncoding+Alamofire.swift
[13/62] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[14/62] Compiling RSSwiftNetworking ParameterEncoding.swift
[15/62] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[16/62] Compiling RSSwiftNetworking Network.swift
[17/62] Compiling Alamofire MultipartFormData.swift
[18/62] Compiling Alamofire MultipartUpload.swift
[19/62] Compiling Alamofire NetworkReachabilityManager.swift
[20/62] Compiling Alamofire AFError.swift
[21/62] Compiling Alamofire Alamofire.swift
[22/62] Compiling Alamofire AlamofireExtended.swift
[25/62] Compiling RSSwiftNetworking Data+Base64.swift
[26/62] Compiling RSSwiftNetworking Endpoint+URLRequest.swift
[33/62] Compiling Alamofire Notifications.swift
[34/62] Compiling Alamofire Request.swift
[35/62] Compiling Alamofire RequestInterceptor.swift
[36/62] Compiling RSSwiftNetworking MultipartMedia.swift
[37/62] Compiling RSSwiftNetworking APIClient.swift
[38/62] Compiling RSSwiftNetworking Cancellable.swift
[39/62] Compiling Alamofire RequestTaskMap.swift
[40/62] Compiling Alamofire Response.swift
[41/62] Compiling Alamofire OperationQueue+Alamofire.swift
[42/62] Compiling RSSwiftNetworking APIClient+Concurrency.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)
^~~~~~~~~~
/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)
^~~~~~~~~~
[59/62] Compiling Alamofire ResponseSerialization.swift
[60/62] Compiling Alamofire Result+Alamofire.swift
[61/62] Compiling Alamofire RetryPolicy.swift
[62/62] Compiling Alamofire ServerTrustEvaluation.swift
[0/1] Planning build
Building for debugging...
[1/4] 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)
^~~~~~~~~~
[2/4] Compiling RSSwiftNetworking Data+Base64.swift
[3/7] Compiling RSSwiftNetworking APIClient+Concurrency.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] 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/8] Compiling RSSwiftNetworking APIClient.swift
[6/8] Compiling RSSwiftNetworking Base64Media.swift
[7/8] Compiling RSSwiftNetworking BaseAPIClient.swift
BUILD FAILURE 5.8 linux