The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProntoSDK 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/Pronto-am/MobileCMS-iOS-SDK.git
Reference: v4.0.5
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/Pronto-am/MobileCMS-iOS-SDK
 * tag               v4.0.5     -> FETCH_HEAD
HEAD is now at ed75403 Version change
Cloned https://github.com/Pronto-am/MobileCMS-iOS-SDK.git
Revision (git rev-parse @):
ed75403cea9e8a849285d39ae4dc7129cb829aac
SUCCESS checkout https://github.com/Pronto-am/MobileCMS-iOS-SDK.git at v4.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Pronto-am/MobileCMS-iOS-SDK.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/e-sites/Cobalt.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/e-sites/Erbium.git
Fetching https://github.com/e-sites/Einsteinium.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/225] Fetching einsteinium
[226/408] Fetching einsteinium, erbium
[408/4776] Fetching einsteinium, erbium, keychainaccess
[583/6385] Fetching einsteinium, erbium, keychainaccess, cobalt
[5365/18941] Fetching einsteinium, erbium, keychainaccess, cobalt, cryptoswift
[7686/69955] Fetching einsteinium, erbium, keychainaccess, cobalt, cryptoswift, rxswift
Fetched https://github.com/e-sites/Erbium.git from cache (0.61s)
[15337/69772] Fetching einsteinium, keychainaccess, cobalt, cryptoswift, rxswift
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[33680/75815] Fetching einsteinium, keychainaccess, cobalt, cryptoswift, rxswift, swiftyjson
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (0.57s)
[64145/69772] Fetching einsteinium, keychainaccess, cobalt, cryptoswift, rxswift
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.80s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.82s)
Fetched https://github.com/e-sites/Einsteinium.git from cache (2.80s)
Fetched https://github.com/e-sites/Cobalt.git from cache (2.80s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (2.84s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.1 (0.54s)
Computing version for https://github.com/e-sites/Einsteinium.git
Computed https://github.com/e-sites/Einsteinium.git at 1.3.0 (0.60s)
Fetching https://github.com/apple/swift-log.git
[1/3170] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.49s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.62s)
Computing version for https://github.com/e-sites/Erbium.git
Computed https://github.com/e-sites/Erbium.git at 4.6.4 (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.59s)
Computing version for https://github.com/e-sites/Cobalt.git
Computed https://github.com/e-sites/Cobalt.git at 7.1.3 (0.68s)
Fetching https://github.com/Alamofire/Alamofire.git
[1/28049] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.98s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.44s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.1 (0.53s)
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/e-sites/Erbium.git
Working copy of https://github.com/e-sites/Erbium.git resolved at 4.6.4
Creating working copy for https://github.com/e-sites/Cobalt.git
Working copy of https://github.com/e-sites/Cobalt.git resolved at 7.1.3
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/e-sites/Einsteinium.git
Working copy of https://github.com/e-sites/Einsteinium.git resolved at 1.3.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.8.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.1
Building for debugging...
[0/14] Write sources
[7/14] Copying PrivacyInfo.xcprivacy
[10/14] Write sources
[13/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/297] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[16/297] Emitting module Alamofire
[17/301] Compiling Erbium ScreenSize.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[18/301] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[19/301] Compiling RxSwift AddRef.swift
[20/301] Compiling RxSwift Amb.swift
[21/301] Compiling RxSwift AnonymousDisposable.swift
[22/301] Compiling RxSwift AnonymousObserver.swift
[23/301] Compiling RxSwift AnyObserver.swift
[24/301] Emitting module SwiftyJSON
[25/301] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
    case (.number, .number): return lhs.rawNumber < rhs.rawNumber
                                                  ^
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1251:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     ^
Foundation.NSNumber:2:24: note: found this candidate
    public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
                       ^
[26/301] Compiling Logging MetadataProvider.swift
error: fatalError
error: fatalError
[27/301] Compiling Logging LogHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling Erbium Bundle.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[3/278] Compiling Erbium ScreenSize.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[4/278] Compiling Erbium DeviceType.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/278] Compiling Erbium DeviceVersion.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/278] Emitting module Erbium
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[7/278] Compiling Erbium Device.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[8/278] Compiling Logging LogHandler.swift
[9/278] Emitting module Logging
[10/278] Compiling Logging Locks.swift
[11/278] Emitting module SwiftyJSON
BUILD FAILURE 5.10 linux

Build Machine: Linux 2