The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AlamofireNetworkActivityIndicator with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/Alamofire/AlamofireNetworkActivityIndicator.git
Reference: 3.1.0
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/Alamofire/AlamofireNetworkActivityIndicator
 * tag               3.1.0      -> FETCH_HEAD
HEAD is now at 392bed0 Prepare 3.1 (#68)
Cloned https://github.com/Alamofire/AlamofireNetworkActivityIndicator.git
Revision (git rev-parse @):
392bed083e8d193aca16bfa684ee24e4bcff0510
SUCCESS checkout https://github.com/Alamofire/AlamofireNetworkActivityIndicator.git at 3.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Alamofire/AlamofireNetworkActivityIndicator.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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/28049] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.94s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.41s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.8.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/37] Emitting module Alamofire
[5/41] Compiling Alamofire OperationQueue+Alamofire.swift
[6/41] Compiling Alamofire ParameterEncoder.swift
[7/41] Compiling Alamofire ParameterEncoding.swift
[8/41] Compiling Alamofire Protected.swift
[9/41] Compiling Alamofire RedirectHandler.swift
[10/41] Compiling Alamofire HTTPMethod.swift
[11/41] Compiling Alamofire MultipartFormData.swift
[12/41] Compiling Alamofire MultipartUpload.swift
[13/41] Compiling Alamofire NetworkReachabilityManager.swift
[14/41] Compiling Alamofire Notifications.swift
[15/41] Compiling Alamofire Combine.swift
[16/41] Compiling Alamofire Concurrency.swift
[17/41] Compiling Alamofire DispatchQueue+Alamofire.swift
[18/41] Compiling Alamofire EventMonitor.swift
[19/41] Compiling Alamofire HTTPHeaders.swift
[20/41] Compiling Alamofire Request.swift
[21/41] Compiling Alamofire RequestCompression.swift
[22/41] Compiling Alamofire RequestInterceptor.swift
[23/41] Compiling Alamofire RequestTaskMap.swift
[24/41] Compiling Alamofire Response.swift
[25/41] Compiling Alamofire Session.swift
[26/41] Compiling Alamofire SessionDelegate.swift
[27/41] Compiling Alamofire StringEncoding+Alamofire.swift
[28/41] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[29/41] Compiling Alamofire ResponseSerialization.swift
[30/41] Compiling Alamofire Result+Alamofire.swift
[31/41] Compiling Alamofire RetryPolicy.swift
[32/41] Compiling Alamofire ServerTrustEvaluation.swift
[33/41] Compiling Alamofire AFError.swift
[34/41] Compiling Alamofire Alamofire.swift
[35/41] Compiling Alamofire AlamofireExtended.swift
[36/41] Compiling Alamofire AuthenticationInterceptor.swift
[37/41] Compiling Alamofire CachedResponseHandler.swift
[38/41] Compiling Alamofire URLEncodedFormEncoder.swift
[39/41] Compiling Alamofire URLRequest+Alamofire.swift
[40/41] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[41/41] Compiling Alamofire Validation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/44] Emitting module AlamofireNetworkActivityIndicator
/host/spi-builder-workspace/Source/NetworkActivityIndicatorManager.swift:27:8: error: no such module 'UIKit'
import UIKit
       ^
[44/44] Compiling AlamofireNetworkActivityIndicator NetworkActivityIndicatorManager.swift
/host/spi-builder-workspace/Source/NetworkActivityIndicatorManager.swift:27:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module AlamofireNetworkActivityIndicator
/host/spi-builder-workspace/Source/NetworkActivityIndicatorManager.swift:27:8: error: no such module 'UIKit'
import UIKit
       ^
[3/3] Compiling AlamofireNetworkActivityIndicator NetworkActivityIndicatorManager.swift
/host/spi-builder-workspace/Source/NetworkActivityIndicatorManager.swift:27:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2