The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftApiAdapter, reference main (a2b4db), with Swift 6.0 for Linux on 29 Sep 2025 11:30:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RayKitajima/SwiftApiAdapter.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a2b4db2 Merge pull request #10 from RayKitajima/appleintelligence_progress
Cloned https://github.com/RayKitajima/SwiftApiAdapter.git
Revision (git rev-parse @):
a2b4db27ca05c0ccbbe1f07e4752481d4ff4361d
SUCCESS checkout https://github.com/RayKitajima/SwiftApiAdapter.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/RayKitajima/SwiftApiAdapter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetching https://github.com/scinfu/SwiftSoup
[1/6199] Fetching swiftyjson
[2/10833] Fetching swiftyjson, swiftsoup
Fetched https://github.com/scinfu/SwiftSoup from cache (0.62s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.62s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (2.91s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.11.1 (0.84s)
Fetching https://github.com/nicklockwood/LRUCache.git
Fetching https://github.com/apple/swift-atomics.git
[1/320] Fetching lrucache
[321/2134] Fetching lrucache, swift-atomics
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.28s)
[617/1814] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.91s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.1.2 (1.30s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.2
Creating working copy for https://github.com/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.1.2
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.11.1
Building for debugging...
[0/8] Copying PrivacyInfo.xcprivacy
[0/8] Write sources
[6/8] Compiling _AtomicsShims.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/31] Emitting module Atomics
[10/33] Compiling Atomics OptionalRawRepresentable.swift
[11/33] Compiling Atomics RawRepresentable.swift
[12/33] Compiling Atomics AtomicBool.swift
[13/33] Compiling Atomics IntegerOperations.swift
[14/33] Compiling Atomics Unmanaged extensions.swift
[15/33] Compiling Atomics AtomicStorage.swift
[16/33] Compiling Atomics AtomicValue.swift
[17/33] Compiling Atomics AtomicMemoryOrderings.swift
[18/33] Compiling Atomics DoubleWord.swift
[19/33] Compiling Atomics UnsafeAtomic.swift
[20/33] Compiling Atomics UnsafeAtomicLazyReference.swift
[21/33] Compiling Atomics ManagedAtomic.swift
[22/33] Compiling Atomics ManagedAtomicLazyReference.swift
[23/33] Compiling Atomics AtomicInteger.swift
[24/33] Compiling Atomics AtomicOptionalWrappable.swift
[25/33] Compiling Atomics AtomicReference.swift
[26/33] Compiling Atomics IntegerConformances.swift
[27/33] Compiling Atomics PointerConformances.swift
[28/33] Compiling Atomics Primitives.native.swift
[30/34] Compiling SwiftyJSON resource_bundle_accessor.swift
[31/34] Emitting module SwiftyJSON
[32/34] Compiling LRUCache LRUCache.swift
[33/34] Emitting module LRUCache
[35/35] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
1213 |
1214 |     switch (lhs.type, rhs.type) {
1215 |     case (.number, .number): return lhs.rawNumber < rhs.rawNumber
     |                                                   `- error: ambiguous use of operator '<'
1216 |     case (.string, .string): return lhs.rawString < rhs.rawString
1217 |     default:                 return false
     :
1249 | }
1250 |
1251 | func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     |      `- note: found this candidate
1252 |
1253 |     switch (lhs.isBool, rhs.isBool) {
Foundation.NSNumber:2:24: note: found this candidate in module 'Foundation'
1 | extension NSNumber : Comparable {
2 |     public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
  |                        `- note: found this candidate in module 'Foundation'
3 | }
BUILD FAILURE 6.0 linux