The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftApiAdapter, reference v2.0.0 (57af19), with Swift 6.1 for Wasm on 13 Feb 2026 15:22:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RayKitajima/SwiftApiAdapter.git
Reference: v2.0.0
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               v2.0.0     -> FETCH_HEAD
HEAD is now at 57af192 Merge pull request #11 from RayKitajima/modern_concurrency
Cloned https://github.com/RayKitajima/SwiftApiAdapter.git
Revision (git rev-parse @):
57af192170a3d6c6a965c233f49a63118db2ea1b
SUCCESS checkout https://github.com/RayKitajima/SwiftApiAdapter.git at v2.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RayKitajima/SwiftApiAdapter.git
https://github.com/RayKitajima/SwiftApiAdapter.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftsoup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.2",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/scinfu/SwiftSoup"
    },
    {
      "identity" : "swiftyjson",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftyJSON/SwiftyJSON"
    }
  ],
  "manifest_display_name" : "SwiftApiAdapter",
  "name" : "SwiftApiAdapter",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftApiAdapter",
      "targets" : [
        "SwiftApiAdapter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftApiAdapterTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftApiAdapterTests",
      "path" : "Tests/SwiftApiAdapterTests",
      "sources" : [
        "ApiConnectorManagerTests.swift",
        "ApiContentLoaderTests.swift",
        "ApiContentTests.swift",
        "ApiRequesterTests.swift",
        "TestSupport.swift"
      ],
      "target_dependencies" : [
        "SwiftApiAdapter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftApiAdapter",
      "module_type" : "SwiftTarget",
      "name" : "SwiftApiAdapter",
      "path" : "Sources/SwiftApiAdapter",
      "product_dependencies" : [
        "SwiftSoup",
        "SwiftyJSON"
      ],
      "product_memberships" : [
        "SwiftApiAdapter"
      ],
      "sources" : [
        "Connector.swift",
        "Loader.swift",
        "Model.swift",
        "Tools.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetching https://github.com/scinfu/SwiftSoup
[1/6234] Fetching swiftyjson
[4116/11993] Fetching swiftyjson, swiftsoup
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.60s)
Fetched https://github.com/scinfu/SwiftSoup from cache (0.61s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (3.07s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.11.3 (0.58s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/nicklockwood/LRUCache.git
[1/360] Fetching lrucache
[361/2180] Fetching lrucache, swift-atomics
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.37s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.37s)
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.2.1 (0.61s)
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.11.3
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.2.1
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
Building for debugging...
[0/8] Write sources
[5/8] Copying PrivacyInfo.xcprivacy
[6/8] Compiling _AtomicsShims.c
[6/8] Write swift-version-24593BA9C3E375BF.txt
[9/31] Emitting module Atomics
[10/33] Compiling Atomics UnsafeAtomic.swift
[11/33] Compiling Atomics UnsafeAtomicLazyReference.swift
[12/33] Compiling Atomics IntegerOperations.swift
[13/33] Compiling Atomics Unmanaged extensions.swift
[14/33] Compiling Atomics OptionalRawRepresentable.swift
[15/33] Compiling Atomics RawRepresentable.swift
[16/33] Compiling Atomics AtomicBool.swift
[17/33] Compiling Atomics AtomicStorage.swift
[18/33] Compiling Atomics AtomicValue.swift
[19/33] Compiling Atomics AtomicMemoryOrderings.swift
[20/33] Compiling Atomics DoubleWord.swift
[21/33] Compiling Atomics AtomicInteger.swift
[22/33] Compiling Atomics AtomicOptionalWrappable.swift
[23/33] Compiling Atomics AtomicReference.swift
[24/33] Compiling Atomics IntegerConformances.swift
[25/33] Compiling Atomics PointerConformances.swift
[26/33] Compiling Atomics Primitives.native.swift
[27/33] Compiling Atomics ManagedAtomic.swift
[28/33] Compiling Atomics ManagedAtomicLazyReference.swift
[30/34] Emitting module LRUCache
[31/34] Compiling LRUCache LRUCache.swift
[33/35] Compiling SwiftyJSON resource_bundle_accessor.swift
[34/35] Emitting module SwiftyJSON
[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:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
  |                    `- note: found this candidate in module 'Foundation'
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/24] Emitting module LRUCache
[3/24] Compiling LRUCache LRUCache.swift
[5/25] Emitting module SwiftyJSON
[6/25] Compiling SwiftyJSON resource_bundle_accessor.swift
[7/25] 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:20: note: found this candidate in module 'Foundation'
1 | class NSNumber {
2 | public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool}
  |                    `- note: found this candidate in module 'Foundation'
3 |
BUILD FAILURE 6.1 wasm