Build Information
Failed to build RSSwiftNetworking with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/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.10
Building package at path: $workDir
https://github.com/rootstrap/RSSwiftNetworking.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/Alamofire/Alamofire.git
[1/28068] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.78s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.53s)
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...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/59] 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 {
^~~~~~~~~~
[6/62] Emitting module Alamofire
[7/66] Compiling Alamofire AlamofireExtended.swift
[8/66] Compiling Alamofire AuthenticationInterceptor.swift
[9/66] Compiling Alamofire CachedResponseHandler.swift
[10/66] Compiling Alamofire HTTPMethod.swift
[11/66] Compiling Alamofire MultipartFormData.swift
[12/66] Compiling Alamofire MultipartUpload.swift
[13/66] Compiling Alamofire EventMonitor.swift
[14/66] Compiling Alamofire HTTPHeaders.swift
[15/66] Compiling Alamofire ResponseSerialization.swift
[16/66] Compiling Alamofire Session.swift
[17/66] Compiling Alamofire SessionDelegate.swift
[18/66] Compiling Alamofire StringEncoding+Alamofire.swift
[19/66] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[20/66] Compiling Alamofire URLEncodedFormEncoder.swift
[21/66] Compiling Alamofire URLRequest+Alamofire.swift
[22/66] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[23/66] Compiling Alamofire Validation.swift
[25/66] Compiling RSSwiftNetworking ParameterEncoding.swift
[26/66] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[27/66] Compiling RSSwiftNetworking Network.swift
[31/66] Compiling Alamofire NetworkReachabilityManager.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)
^~~~~~~~~~
[32/66] 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)
^~~~~~~~~~
[33/66] 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)
^~~~~~~~~~
[35/66] Compiling Alamofire ParameterEncoder.swift
[36/66] Compiling Alamofire ParameterEncoding.swift
[37/66] Compiling Alamofire Protected.swift
[38/66] Compiling Alamofire RedirectHandler.swift
[39/66] Compiling Alamofire Request.swift
[40/66] Compiling Alamofire RequestInterceptor.swift
[41/66] Compiling Alamofire RequestTaskMap.swift
[42/66] Compiling Alamofire Response.swift
[43/66] Compiling Alamofire Combine.swift
[44/66] Compiling Alamofire Concurrency.swift
[45/66] Compiling Alamofire DispatchQueue+Alamofire.swift
[57/66] Compiling Alamofire AFError.swift
[58/66] Compiling Alamofire Alamofire.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] 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/6] Compiling RSSwiftNetworking Data+Base64.swift
[4/6] Compiling RSSwiftNetworking APIClient+Concurrency.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] 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 {
^~~~~~~~~~
[6/12] Compiling RSSwiftNetworking Network.swift
[7/12] Compiling RSSwiftNetworking APIClient.swift
[8/12] Compiling RSSwiftNetworking MultipartMedia.swift
[9/12] Compiling RSSwiftNetworking BaseAPIClient.swift
[10/12] Compiling RSSwiftNetworking Base64Media.swift
[11/12] Compiling RSSwiftNetworking APIError.swift
error: fatalError
BUILD FAILURE 5.10 linux