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 SwiftSoup, reference 2.11.3 (d86f24), with Swift 6.2 for Wasm on 9 Dec 2025 11:04:49 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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/scinfu/SwiftSoup.git
Reference: 2.11.3
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/scinfu/SwiftSoup
 * tag               2.11.3     -> FETCH_HEAD
HEAD is now at d86f244 bump version 2.11.3
Cloned https://github.com/scinfu/SwiftSoup.git
Revision (git rev-parse @):
d86f244ed497d48012782e2f59c985a55e77b3f5
SUCCESS checkout https://github.com/scinfu/SwiftSoup.git at 2.11.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/scinfu/SwiftSoup.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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/nicklockwood/LRUCache.git
Fetching https://github.com/apple/swift-atomics.git
[1/341] Fetching lrucache
Fetched https://github.com/nicklockwood/LRUCache.git from cache (0.20s)
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.80s)
Computing version for https://github.com/nicklockwood/LRUCache.git
Computed https://github.com/nicklockwood/LRUCache.git at 1.2.0 (2.52s)
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/nicklockwood/LRUCache.git
Working copy of https://github.com/nicklockwood/LRUCache.git resolved at 1.2.0
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling _AtomicsShims.c
[6/25] Emitting module LRUCache
[7/25] Emitting module Atomics
[8/27] Compiling Atomics IntegerOperations.swift
[9/27] Compiling Atomics Unmanaged extensions.swift
[10/27] Compiling Atomics IntegerConformances.swift
[11/27] Compiling Atomics PointerConformances.swift
[12/27] Compiling Atomics Primitives.native.swift
[13/27] Compiling Atomics OptionalRawRepresentable.swift
[14/27] Compiling Atomics RawRepresentable.swift
[15/27] Compiling Atomics AtomicBool.swift
[16/27] Compiling Atomics AtomicInteger.swift
[17/27] Compiling Atomics AtomicOptionalWrappable.swift
[18/27] Compiling Atomics AtomicReference.swift
[19/27] Compiling Atomics AtomicMemoryOrderings.swift
[20/27] Compiling Atomics DoubleWord.swift
[21/27] Compiling Atomics UnsafeAtomic.swift
[22/27] Compiling Atomics UnsafeAtomicLazyReference.swift
[23/27] Compiling Atomics AtomicStorage.swift
[24/27] Compiling Atomics AtomicValue.swift
[25/27] Compiling Atomics ManagedAtomic.swift
[26/27] Compiling Atomics ManagedAtomicLazyReference.swift
[28/28] Compiling LRUCache LRUCache.swift
[30/78] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/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/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/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/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/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/78] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/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/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/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/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/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/78] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/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/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/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/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/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/78] Compiling SwiftSoup NodeTraversor.swift
/host/spi-builder-workspace/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/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/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/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/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
[34/78] Compiling SwiftSoup NodeVisitor.swift
/host/spi-builder-workspace/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/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/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/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/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
[35/78] Compiling SwiftSoup OrderedSet.swift
/host/spi-builder-workspace/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/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/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/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/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
[36/78] Compiling SwiftSoup ParseError.swift
/host/spi-builder-workspace/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/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/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/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/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
[37/84] Compiling SwiftSoup ParseErrorList.swift
[38/84] Compiling SwiftSoup ParseSettings.swift
[39/84] Compiling SwiftSoup Parser.swift
[40/84] Compiling SwiftSoup ParsingStrings.swift
[41/84] Compiling SwiftSoup Pattern.swift
[42/84] Compiling SwiftSoup QueryParser.swift
[43/84] Compiling SwiftSoup QueryParserCache.swift
[44/84] Emitting module SwiftSoup
[45/84] Compiling SwiftSoup Attribute.swift
[46/84] Compiling SwiftSoup Attributes.swift
[47/84] Compiling SwiftSoup BinarySearch.swift
[48/84] Compiling SwiftSoup BooleanAttribute.swift
[49/84] Compiling SwiftSoup CharacterExt.swift
[50/84] Compiling SwiftSoup CharacterReader.swift
[51/84] Compiling SwiftSoup Cleaner.swift
[52/84] Compiling SwiftSoup TextNode.swift
[53/84] Compiling SwiftSoup Token.swift
[54/84] Compiling SwiftSoup TokenQueue.swift
[55/84] Compiling SwiftSoup Tokeniser.swift
[56/84] Compiling SwiftSoup TokeniserState.swift
[57/84] Compiling SwiftSoup TreeBuilder.swift
[58/84] Compiling SwiftSoup StreamReader.swift
[59/84] Compiling SwiftSoup String.swift
[60/84] Compiling SwiftSoup StringBuilder.swift
[61/84] Compiling SwiftSoup StringUtil.swift
[62/84] Compiling SwiftSoup StructuralEvaluator.swift
[63/84] Compiling SwiftSoup SwiftSoup.swift
[64/84] Compiling SwiftSoup Tag.swift
[65/84] Compiling SwiftSoup UTF8Arrays.swift
[66/84] Compiling SwiftSoup UnicodeScalar.swift
[67/84] Compiling SwiftSoup Validate.swift
[68/84] Compiling SwiftSoup Whitelist.swift
[69/84] Compiling SwiftSoup XmlDeclaration.swift
[70/84] Compiling SwiftSoup XmlTreeBuilder.swift
[71/84] Compiling SwiftSoup Collector.swift
[72/84] Compiling SwiftSoup CombiningEvaluator.swift
[73/84] Compiling SwiftSoup Comment.swift
[74/84] Compiling SwiftSoup CssSelector.swift
[75/84] Compiling SwiftSoup DataNode.swift
[76/84] Compiling SwiftSoup Document.swift
[77/84] Compiling SwiftSoup DocumentType.swift
[78/84] Compiling SwiftSoup Element.swift
[79/84] Compiling SwiftSoup Elements.swift
[80/84] Compiling SwiftSoup Entities.swift
[81/84] Compiling SwiftSoup Evaluator.swift
[82/84] Compiling SwiftSoup Exception.swift
[83/84] Compiling SwiftSoup FormElement.swift
[84/84] Compiling SwiftSoup HtmlTreeBuilder.swift
BUILD FAILURE 6.2 wasm