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.8 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.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: 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.8
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.8-latest swift build 2>&1
Fetching https://github.com/Alamofire/Alamofire.git
[1/27716] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git (3.69s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.60s)
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...
[1/55] Emitting module Alamofire
[2/59] Compiling RSSwiftNetworking JSONDecoder+DecodingConfiguration.swift
[3/59] Compiling RSSwiftNetworking String+File.swift
[4/59] Compiling RSSwiftNetworking Base64Media.swift
[5/59] Compiling RSSwiftNetworking MultipartMedia.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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 {
                    ^~~~~~~~~~
[7/62] Compiling Alamofire AFError.swift
[8/62] Compiling Alamofire Alamofire.swift
[9/62] Compiling Alamofire AlamofireExtended.swift
[10/62] Compiling Alamofire URLEncodedFormEncoder.swift
[11/62] Compiling Alamofire URLRequest+Alamofire.swift
[12/62] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[13/62] Compiling Alamofire Validation.swift
[14/62] Compiling Alamofire Combine.swift
[15/62] Compiling Alamofire Concurrency.swift
[16/62] Compiling Alamofire DispatchQueue+Alamofire.swift
[17/62] Compiling Alamofire EventMonitor.swift
[18/62] Compiling Alamofire HTTPHeaders.swift
[19/62] Compiling Alamofire HTTPMethod.swift
[20/62] Compiling Alamofire MultipartFormData.swift
[21/62] Compiling Alamofire MultipartUpload.swift
[22/62] Compiling Alamofire NetworkReachabilityManager.swift
[23/62] Compiling Alamofire Notifications.swift
[24/62] Compiling Alamofire AuthenticationInterceptor.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)
                      ^~~~~~~~~~
[25/62] Compiling Alamofire CachedResponseHandler.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)
                      ^~~~~~~~~~
[27/62] Compiling RSSwiftNetworking ParameterEncoding.swift
[28/62] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[29/62] Compiling RSSwiftNetworking Network.swift
[37/62] Compiling RSSwiftNetworking APIClient.swift
[38/62] Compiling RSSwiftNetworking Cancellable.swift
[50/62] Compiling Alamofire Session.swift
[51/62] Compiling Alamofire SessionDelegate.swift
[52/62] Compiling Alamofire StringEncoding+Alamofire.swift
[53/62] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[54/62] Compiling Alamofire Request.swift
[55/62] Compiling Alamofire RequestInterceptor.swift
[56/62] Compiling Alamofire RequestTaskMap.swift
[57/62] Compiling Alamofire Response.swift
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Compiling RSSwiftNetworking APIClient+Concurrency.swift
[2/5] Compiling RSSwiftNetworking Data+Base64.swift
[3/5] 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)
                      ^~~~~~~~~~
[4/5] 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 Base64Media.swift
[6/8] Compiling RSSwiftNetworking BaseAPIClient.swift
[7/8] Compiling RSSwiftNetworking APIClient.swift
BUILD FAILURE 5.8 linux