The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftApiAdapter, reference v2.0.0 (57af19), with Swift 6.3 for Wasm on 18 Apr 2026 15:18:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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.3
Building package at path:  $PWD
https://github.com/RayKitajima/SwiftApiAdapter.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[1/6267] Fetching swiftyjson
[879/12196] Fetching swiftyjson, swiftsoup
Fetched https://github.com/SwiftyJSON/SwiftyJSON from cache (0.61s)
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 (2.87s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 2.13.4 (0.43s)
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] Compiling SwiftyJSON resource_bundle_accessor.swift
[7/62] Emitting module SwiftyJSON
[8/62] 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 |
[9/62] Compiling SwiftSoup ParseErrorList.swift
[10/62] Compiling SwiftSoup ParseSettings.swift
[11/62] Compiling SwiftSoup Parser.swift
[12/62] Compiling SwiftSoup ParsingStrings.swift
[13/62] Compiling SwiftSoup Pattern.swift
[14/62] Compiling SwiftSoup Profiler.swift
[15/62] Compiling SwiftSoup QueryParser.swift
[16/62] Compiling SwiftSoup Attribute.swift
[17/62] Compiling SwiftSoup Attributes.swift
[18/62] Compiling SwiftSoup BinarySearch.swift
[19/62] Compiling SwiftSoup BooleanAttribute.swift
[20/62] Compiling SwiftSoup ByteSlice.swift
[21/62] Compiling SwiftSoup CharacterExt.swift
[22/62] Compiling SwiftSoup CharacterReader.swift
[23/62] Compiling SwiftSoup Cleaner.swift
[24/62] Emitting module SwiftSoup
[25/62] 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
[26/62] 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
[27/62] 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
[28/62] 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
[29/62] 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
[30/62] 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
[31/62] 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
[32/62] 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
[33/62] Compiling SwiftSoup Collector.swift
[34/62] Compiling SwiftSoup CombiningEvaluator.swift
[35/62] Compiling SwiftSoup Comment.swift
[36/62] Compiling SwiftSoup CssSelector.swift
[37/62] Compiling SwiftSoup DataNode.swift
[38/62] Compiling SwiftSoup DebugTrace.swift
[39/62] Compiling SwiftSoup Document.swift
[40/62] Compiling SwiftSoup DocumentType.swift
[41/62] Compiling SwiftSoup QueryParserCache.swift
[42/62] Compiling SwiftSoup SourceRange.swift
[43/62] Compiling SwiftSoup StreamReader.swift
[44/62] Compiling SwiftSoup String.swift
[45/62] Compiling SwiftSoup StringBuilder.swift
[46/62] Compiling SwiftSoup StringUtil.swift
[47/62] Compiling SwiftSoup StructuralEvaluator.swift
[48/62] Compiling SwiftSoup SwiftSoup.swift
[49/62] Compiling SwiftSoup Tag.swift
[50/62] Compiling SwiftSoup TextNode.swift
[51/62] Compiling SwiftSoup Token.swift
[52/62] Compiling SwiftSoup TokenQueue.swift
[53/62] Compiling SwiftSoup Tokeniser.swift
[54/62] Compiling SwiftSoup TokeniserState.swift
[55/62] Compiling SwiftSoup Element.swift
[56/62] Compiling SwiftSoup ElementQuery.swift
[57/62] Compiling SwiftSoup Elements.swift
[58/62] Compiling SwiftSoup Entities.swift
[59/62] Compiling SwiftSoup Evaluator.swift
[60/62] Compiling SwiftSoup Exception.swift
[61/62] Compiling SwiftSoup FormElement.swift
[62/62] Compiling SwiftSoup HtmlTreeBuilder.swift
BUILD FAILURE 6.3 wasm