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 RSSwiftNetworking with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/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: 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.10
Building package at path:  $workDir
https://github.com/rootstrap/RSSwiftNetworking.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/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 (2.65s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.41s)
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] Compiling RSSwiftNetworking ParameterEncoding.swift
[7/62] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[8/62] Compiling RSSwiftNetworking Network.swift
[9/62] Compiling Alamofire Protected.swift
[10/62] Compiling Alamofire RedirectHandler.swift
[11/62] Compiling Alamofire ResponseSerialization.swift
[12/62] Compiling Alamofire OperationQueue+Alamofire.swift
[13/62] Compiling Alamofire ParameterEncoder.swift
[14/62] Compiling Alamofire ParameterEncoding.swift
[15/62] Compiling Alamofire Alamofire.swift
[16/62] Compiling Alamofire AlamofireExtended.swift
[17/62] Compiling Alamofire AuthenticationInterceptor.swift
[18/62] Compiling Alamofire CachedResponseHandler.swift
[19/62] Compiling Alamofire Combine.swift
[20/62] Compiling Alamofire Concurrency.swift
[21/62] Compiling Alamofire HTTPMethod.swift
[22/62] Compiling Alamofire MultipartFormData.swift
[23/62] Compiling Alamofire MultipartUpload.swift
[24/62] Compiling Alamofire NetworkReachabilityManager.swift
[25/62] Compiling Alamofire Notifications.swift
[28/62] Compiling Alamofire DispatchQueue+Alamofire.swift
[29/62] Compiling Alamofire EventMonitor.swift
[30/62] Compiling Alamofire HTTPHeaders.swift
[31/62] Compiling Alamofire AFError.swift
[36/62] Emitting module Alamofire
[52/66] Compiling Alamofire Session.swift
[53/66] Compiling Alamofire SessionDelegate.swift
[54/66] Compiling Alamofire StringEncoding+Alamofire.swift
[55/66] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[56/66] Compiling Alamofire Request.swift
[57/66] Compiling Alamofire RequestInterceptor.swift
[58/66] Compiling Alamofire RequestTaskMap.swift
[59/66] Compiling Alamofire Response.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)
                      ^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] 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/10] Compiling RSSwiftNetworking APIClient+Concurrency.swift
[4/10] Compiling RSSwiftNetworking Data+Base64.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] 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/16] Compiling Alamofire URLRequest+Alamofire.swift
[7/26] Compiling RSSwiftNetworking Base64Media.swift
[8/26] Compiling RSSwiftNetworking Network.swift
[9/26] Compiling RSSwiftNetworking MultipartMedia.swift
[10/26] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[11/26] Compiling Alamofire Validation.swift
[12/30] Compiling RSSwiftNetworking APIClient.swift
[13/30] Compiling RSSwiftNetworking BaseAPIClient.swift
[14/30] Compiling RSSwiftNetworking APIError.swift
error: fatalError
BUILD FAILURE 5.10 linux