The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProntoSDK with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Pronto-am/MobileCMS-iOS-SDK.git
Reference: v4.0.5
Cloned https://github.com/Pronto-am/MobileCMS-iOS-SDK.git into spi-builder-workspace
SUCCESS checkout https://github.com/Pronto-am/MobileCMS-iOS-SDK.git at v4.0.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/e-sites/Einsteinium.git
Fetching https://github.com/e-sites/Erbium.git
Fetching https://github.com/e-sites/Cobalt.git
[1/167] Fetching erbium
[168/392] Fetching erbium, einsteinium
[317/2001] Fetching erbium, einsteinium, cobalt
Fetching https://github.com/ReactiveX/RxSwift.git
Fetched https://github.com/e-sites/Einsteinium.git (0.29s)
Fetched https://github.com/e-sites/Erbium.git (0.32s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/e-sites/Cobalt.git (0.32s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/4292] Fetching keychainaccess
[731/16737] Fetching keychainaccess, cryptoswift
[1916/67471] Fetching keychainaccess, cryptoswift, rxswift
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git (0.90s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[23272/63179] Fetching cryptoswift, rxswift
[44581/69213] Fetching cryptoswift, rxswift, swiftyjson
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git (0.71s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (2.13s)
Fetched https://github.com/ReactiveX/RxSwift.git (3.15s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.1 (0.33s)
Computing version for https://github.com/e-sites/Einsteinium.git
Computed https://github.com/e-sites/Einsteinium.git at 1.3.0 (0.31s)
Fetching https://github.com/apple/swift-log.git
[1/3114] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.34s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.33s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.41s)
Computing version for https://github.com/e-sites/Erbium.git
Computed https://github.com/e-sites/Erbium.git at 4.6.2 (0.29s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.30s)
Computing version for https://github.com/e-sites/Cobalt.git
Computed https://github.com/e-sites/Cobalt.git at 7.1.3 (0.31s)
Fetching https://github.com/Alamofire/Alamofire.git
[1/27006] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git (2.84s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.7.1 (0.30s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.7.2 (0.40s)
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.3
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.2
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/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.7.1
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/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/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.7.2
Building for debugging...
[1/280] Compiling Erbium ScreenSize.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[2/280] Emitting module RxSwift
[3/298] Compiling Erbium Device.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)
[4/298] Compiling Erbium Bundle.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/298] Emitting module Erbium
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[6/298] Compiling Logging MetadataProvider.swift
[7/298] Emitting module SwiftyJSON
[8/298] 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
                       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/298] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[10/298] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
[11/298] Compiling Erbium DeviceType.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[12/298] Compiling Erbium DeviceVersion.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[13/298] Compiling CryptoSwift Data+Extension.swift
[14/298] Compiling CryptoSwift HMAC+Foundation.swift
[15/298] Compiling CryptoSwift Rabbit+Foundation.swift
[16/298] Compiling CryptoSwift String+FoundationExtension.swift
[17/298] Compiling CryptoSwift Hashable.swift
[18/302] Compiling CryptoSwift Integer Conversion.swift
[19/302] Compiling CryptoSwift Multiplication.swift
[20/302] Compiling CryptoSwift Prime Test.swift
[21/302] Compiling CryptoSwift Random.swift
[22/302] Compiling CryptoSwift Shifts.swift
error: fatalError
[23/302] Compiling CryptoSwift Collection+Extension.swift
[24/302] Compiling CryptoSwift CompactMap.swift
[25/302] Compiling CryptoSwift Cryptor.swift
[26/302] Compiling CryptoSwift Cryptors.swift
[27/302] Compiling CryptoSwift Digest.swift
[28/302] Compiling CryptoSwift DigestType.swift
[29/302] Compiling CryptoSwift AES+Foundation.swift
[30/302] Compiling CryptoSwift Array+Foundation.swift
[31/302] Compiling CryptoSwift Blowfish+Foundation.swift
[32/302] Compiling CryptoSwift ChaCha20+Foundation.swift
error: fatalError
error: fatalError
[37/302] Compiling Logging LogHandler.swift
BUILD FAILURE 5.9 linux

Build Machine: Linux 2