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 SwiftYFinance 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/alexdremov/SwiftYFinance.git
Reference: master
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/alexdremov/SwiftYFinance
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 72e7336 Merge pull request #6 from MoonAndEye/feat/upgrad_alamofire_dependence
Cloned https://github.com/alexdremov/SwiftYFinance.git
Revision (git rev-parse @):
72e7336d113dc90324fae6a9234bb372cf4979cf
SUCCESS checkout https://github.com/alexdremov/SwiftYFinance.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/alexdremov/SwiftYFinance.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/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/6043] Fetching swiftyjson
[6044/34111] Fetching swiftyjson, alamofire
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (2.73s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.79s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 4.3.0 (0.45s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.42s)
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/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 4.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/40] Emitting module Alamofire
[6/44] Compiling Alamofire URLEncodedFormEncoder.swift
[7/44] Compiling Alamofire URLRequest+Alamofire.swift
[8/44] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[9/44] Compiling Alamofire Validation.swift
[10/44] Emitting module SwiftyJSON
[11/44] 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
                       ^
[12/44] Compiling Alamofire AFError.swift
[13/44] Compiling Alamofire Alamofire.swift
[14/44] Compiling Alamofire AlamofireExtended.swift
[15/44] Compiling Alamofire AuthenticationInterceptor.swift
[16/44] Compiling Alamofire CachedResponseHandler.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/29] Compiling Alamofire NetworkReachabilityManager.swift
[3/29] Compiling Alamofire Notifications.swift
[4/29] Compiling Alamofire OperationQueue+Alamofire.swift
[5/29] Compiling Alamofire ParameterEncoder.swift
[6/32] Emitting module SwiftyJSON
[7/32] 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: fatalError
BUILD FAILURE 5.10 linux