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 SwiftApiAdapter 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 --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RayKitajima/SwiftApiAdapter.git
Reference: v1.2.1
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/RayKitajima/SwiftApiAdapter
 * tag               v1.2.1     -> FETCH_HEAD
HEAD is now at 52c7e28 fix: access level of ApiContentRack.id
Cloned https://github.com/RayKitajima/SwiftApiAdapter.git
Revision (git rev-parse @):
52c7e28696942291d7b1937da1323dfa472c8374
SUCCESS checkout https://github.com/RayKitajima/SwiftApiAdapter.git at v1.2.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/RayKitajima/SwiftApiAdapter.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 --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/SwiftyJSON/SwiftyJSON
[1/3058] Fetching swiftsoup
[674/9144] Fetching swiftsoup, swiftyjson
Fetched https://github.com/scinfu/SwiftSoup from cache (0.47s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.47s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (1.15s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.7.2 (0.42s)
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.7.2
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
Building for debugging...
[0/6] Write sources
[1/6] Copying PrivacyInfo.xcprivacy
[3/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/62] Emitting module SwiftSoup
[8/69] Compiling SwiftSoup UnfairLock.swift
[9/69] Compiling SwiftSoup UnicodeScalar.swift
[10/69] Compiling SwiftSoup Validate.swift
[11/69] Compiling SwiftSoup Whitelist.swift
[12/69] Compiling SwiftSoup XmlDeclaration.swift
[13/69] Compiling SwiftSoup XmlTreeBuilder.swift
[14/69] Compiling SwiftSoup resource_bundle_accessor.swift
[15/69] Compiling SwiftSoup ParseError.swift
[16/69] Compiling SwiftSoup ParseErrorList.swift
[17/69] Compiling SwiftSoup ParseSettings.swift
[18/69] Compiling SwiftSoup Parser.swift
[19/69] Compiling SwiftSoup Pattern.swift
[20/69] Compiling SwiftSoup QueryParser.swift
[21/69] Compiling SwiftSoup SerializationException.swift
[22/69] Compiling SwiftSoup SimpleDictionary.swift
[23/69] Compiling SwiftSoup StreamReader.swift
[24/69] Compiling SwiftSoup String.swift
[25/69] Compiling SwiftSoup StringBuilder.swift
[26/69] Compiling SwiftSoup StringUtil.swift
[27/69] Compiling SwiftSoup StructuralEvaluator.swift
[28/69] Compiling SwiftSoup SwiftSoup.swift
[29/69] Compiling SwiftSoup Tag.swift
[30/69] Compiling SwiftSoup TextNode.swift
[31/69] Compiling SwiftSoup Token.swift
[32/69] Compiling SwiftSoup TokenQueue.swift
[33/69] Compiling SwiftSoup Tokeniser.swift
[34/69] Compiling SwiftSoup TokeniserState.swift
[35/69] Compiling SwiftSoup TreeBuilder.swift
[36/69] Compiling SwiftSoup ArrayExt.swift
[37/69] Compiling SwiftSoup Attribute.swift
[38/69] Compiling SwiftSoup Attributes.swift
[39/69] Compiling SwiftSoup BinarySearch.swift
[40/69] Compiling SwiftSoup BooleanAttribute.swift
[41/69] Compiling SwiftSoup CharacterExt.swift
[42/69] Compiling SwiftSoup CharacterReader.swift
[43/69] Compiling SwiftSoup Cleaner.swift
[44/69] Emitting module SwiftyJSON
[45/69] Compiling SwiftyJSON resource_bundle_accessor.swift
[46/69] 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
                       ^
[47/69] Compiling SwiftSoup Collector.swift
[48/69] Compiling SwiftSoup CombiningEvaluator.swift
[49/69] Compiling SwiftSoup Comment.swift
[50/69] Compiling SwiftSoup Connection.swift
[51/69] Compiling SwiftSoup CssSelector.swift
[52/69] Compiling SwiftSoup DataNode.swift
[53/69] Compiling SwiftSoup DataUtil.swift
[54/69] Compiling SwiftSoup Document.swift
[55/69] Compiling SwiftSoup DocumentType.swift
[56/69] Compiling SwiftSoup Element.swift
[57/69] Compiling SwiftSoup Elements.swift
[58/69] Compiling SwiftSoup Entities.swift
[59/69] Compiling SwiftSoup Evaluator.swift
[60/69] Compiling SwiftSoup Exception.swift
[61/69] Compiling SwiftSoup FormElement.swift
[62/69] Compiling SwiftSoup HtmlTreeBuilder.swift
[63/69] Compiling SwiftSoup HtmlTreeBuilderState.swift
[64/69] Compiling SwiftSoup HttpStatusException.swift
[65/69] Compiling SwiftSoup Mutex.swift
[66/69] Compiling SwiftSoup Node.swift
[67/69] Compiling SwiftSoup NodeTraversor.swift
[68/69] Compiling SwiftSoup NodeVisitor.swift
[69/69] Compiling SwiftSoup OrderedSet.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2