The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ProntoSDK with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/e-sites/Einsteinium.git
Fetching https://github.com/e-sites/Cobalt.git
Fetching https://github.com/e-sites/Erbium.git
[1/167] Fetching erbium
[168/392] Fetching erbium, einsteinium
[393/2001] Fetching erbium, einsteinium, cobalt
Fetched https://github.com/e-sites/Einsteinium.git (0.32s)
Fetched https://github.com/e-sites/Cobalt.git (0.32s)
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetched https://github.com/e-sites/Erbium.git (0.32s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
[1/4292] Fetching keychainaccess
[731/16737] Fetching keychainaccess, cryptoswift
[5259/67471] Fetching keychainaccess, cryptoswift, rxswift
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git (1.30s)
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
[60135/63179] Fetching cryptoswift, rxswift
[63180/69213] Fetching cryptoswift, rxswift, swiftyjson
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.70s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git (0.45s)
Fetched https://github.com/ReactiveX/RxSwift.git (2.69s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 5.0.1 (0.26s)
Computing version for https://github.com/e-sites/Einsteinium.git
Computed https://github.com/e-sites/Einsteinium.git at 1.3.0 (0.27s)
Fetching https://github.com/apple/swift-log.git
[1/3114] Fetching swift-log
Fetched https://github.com/apple/swift-log.git (0.37s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.25s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.35s)
Computing version for https://github.com/e-sites/Erbium.git
Computed https://github.com/e-sites/Erbium.git at 4.6.2 (0.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.3 (0.26s)
Computing version for https://github.com/e-sites/Cobalt.git
Computed https://github.com/e-sites/Cobalt.git at 7.1.3 (0.28s)
Fetching https://github.com/Alamofire/Alamofire.git
[1/27006] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git (2.54s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.7.1 (0.26s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.7.2 (0.29s)
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.7.2
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/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/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
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/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/Erbium.git
Working copy of https://github.com/e-sites/Erbium.git resolved at 4.6.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 Logging
[3/280] Compiling Logging Locks.swift
[4/280] Compiling Logging MetadataProvider.swift
[5/280] Compiling Logging LogHandler.swift
[6/280] Compiling Logging Logging.swift
[9/282] Emitting module SwiftyJSON
[10/282] 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
                       ^
[11/282] Compiling Erbium DeviceType.swift
/host/spi-builder-workspace/.build/checkouts/Erbium/Sources/Device.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
/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)[12/282] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
import Security
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 1