The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftApiAdapter, reference main (486bf0), with Swift 6.3 for Wasm on 18 Apr 2026 15:19:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 486bf02 Merge pull request #12 from RayKitajima/modern_concurrency
Cloned https://github.com/RayKitajima/SwiftApiAdapter.git
Revision (git rev-parse @):
486bf02f3edab78ba1570c5e33b6ac52382e5153
SUCCESS checkout https://github.com/RayKitajima/SwiftApiAdapter.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/RayKitajima/SwiftApiAdapter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/SwiftyJSON/SwiftyJSON
Fetching https://github.com/scinfu/SwiftSoup
[63/6267] Fetching swiftyjson
[252/12196] Fetching swiftyjson, swiftsoup
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (1.14s)
Fetched https://github.com/scinfu/SwiftSoup from cache (1.18s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.2 (5.45s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.13.4 (0.64s)
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 2.13.4
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/5] Copying PrivacyInfo.xcprivacy
[1/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/62] Emitting module SwiftyJSON
[7/62] Emitting module SwiftSoup
[8/69] Compiling SwiftSoup Attribute.swift
[9/69] Compiling SwiftSoup Attributes.swift
[10/69] Compiling SwiftSoup BinarySearch.swift
[11/69] Compiling SwiftSoup BooleanAttribute.swift
[12/69] Compiling SwiftSoup ByteSlice.swift
[13/69] Compiling SwiftSoup CharacterExt.swift
[14/69] Compiling SwiftSoup CharacterReader.swift
[15/69] Compiling SwiftSoup Cleaner.swift
[16/69] 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 |
[17/69] Compiling SwiftyJSON resource_bundle_accessor.swift
[18/69] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 |     deinit {
86 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
87 |     }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 |     func lock() {
90 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
91 |     }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 |     func unlock() {
94 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
95 |     }
96 | #endif
[19/69] Compiling SwiftSoup LRUCache.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 |     deinit {
86 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
87 |     }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 |     func lock() {
90 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
91 |     }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 |     func unlock() {
94 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
95 |     }
96 | #endif
[20/69] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 |     deinit {
86 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
87 |     }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 |     func lock() {
90 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
91 |     }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 |     func unlock() {
94 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
95 |     }
96 | #endif
[21/69] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 |     deinit {
86 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
87 |     }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 |     func lock() {
90 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
91 |     }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 |     func unlock() {
94 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
95 |     }
96 | #endif
[22/69] Compiling SwiftSoup NodeTraversor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 |     deinit {
86 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
87 |     }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 |     func lock() {
90 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
91 |     }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 |     func unlock() {
94 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
95 |     }
96 | #endif
[23/69] Compiling SwiftSoup NodeVisitor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 |     deinit {
86 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
87 |     }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 |     func lock() {
90 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
91 |     }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 |     func unlock() {
94 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
95 |     }
96 | #endif
[24/69] Compiling SwiftSoup OrderedSet.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 |     deinit {
86 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
87 |     }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 |     func lock() {
90 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
91 |     }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 |     func unlock() {
94 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
95 |     }
96 | #endif
[25/69] Compiling SwiftSoup ParseError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: error: cannot find 'pthread_mutex_init' in scope
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |         `- error: cannot find 'pthread_mutex_init' in scope
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:36: error: 'nil' requires a contextual type
80 |
81 |     init() {
82 |         pthread_mutex_init(&mutex, nil)
   |                                    `- error: 'nil' requires a contextual type
83 |     }
84 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: error: cannot find 'pthread_mutex_destroy' in scope
84 |
85 |     deinit {
86 |         pthread_mutex_destroy(&mutex)
   |         `- error: cannot find 'pthread_mutex_destroy' in scope
87 |     }
88 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: error: cannot find 'pthread_mutex_lock' in scope
88 |
89 |     func lock() {
90 |         pthread_mutex_lock(&mutex)
   |         `- error: cannot find 'pthread_mutex_lock' in scope
91 |     }
92 |
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: error: cannot find 'pthread_mutex_unlock' in scope
92 |
93 |     func unlock() {
94 |         pthread_mutex_unlock(&mutex)
   |         `- error: cannot find 'pthread_mutex_unlock' in scope
95 |     }
96 | #endif
BUILD FAILURE 6.3 wasm