The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSoup, reference 2.13.4 (6c7915), with Swift 6.3 for Wasm on 19 Apr 2026 11:21:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/scinfu/SwiftSoup.git
Reference: 2.13.4
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.13.4     -> FETCH_HEAD
HEAD is now at 6c7915e Merge pull request #391 from rursache/fix/compound-attribute-selector-regression
Cloned https://github.com/scinfu/SwiftSoup.git
Revision (git rev-parse @):
6c7915e16f729857aec3e99068c361e58a00ed68
SUCCESS checkout https://github.com/scinfu/SwiftSoup.git at 2.13.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/scinfu/SwiftSoup.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/61] Emitting module SwiftSoup
[5/68] Compiling SwiftSoup QueryParserCache.swift
[6/68] Compiling SwiftSoup SourceRange.swift
[7/68] Compiling SwiftSoup StreamReader.swift
[8/68] Compiling SwiftSoup String.swift
[9/68] Compiling SwiftSoup StringBuilder.swift
[10/68] Compiling SwiftSoup StringUtil.swift
[11/68] Compiling SwiftSoup StructuralEvaluator.swift
[12/68] Compiling SwiftSoup Collector.swift
[13/68] Compiling SwiftSoup CombiningEvaluator.swift
[14/68] Compiling SwiftSoup Comment.swift
[15/68] Compiling SwiftSoup CssSelector.swift
[16/68] Compiling SwiftSoup DataNode.swift
[17/68] Compiling SwiftSoup DebugTrace.swift
[18/68] Compiling SwiftSoup Document.swift
[19/68] Compiling SwiftSoup DocumentType.swift
[20/68] Compiling SwiftSoup ParseErrorList.swift
[21/68] Compiling SwiftSoup ParseSettings.swift
[22/68] Compiling SwiftSoup Parser.swift
[23/68] Compiling SwiftSoup ParsingStrings.swift
[24/68] Compiling SwiftSoup Pattern.swift
[25/68] Compiling SwiftSoup Profiler.swift
[26/68] Compiling SwiftSoup QueryParser.swift
[27/68] Compiling SwiftSoup Attribute.swift
[28/68] Compiling SwiftSoup Attributes.swift
[29/68] Compiling SwiftSoup BinarySearch.swift
[30/68] Compiling SwiftSoup BooleanAttribute.swift
[31/68] Compiling SwiftSoup ByteSlice.swift
[32/68] Compiling SwiftSoup CharacterExt.swift
[33/68] Compiling SwiftSoup CharacterReader.swift
[34/68] Compiling SwiftSoup Cleaner.swift
[35/68] Compiling SwiftSoup SwiftSoup.swift
[36/68] Compiling SwiftSoup Tag.swift
[37/68] Compiling SwiftSoup TextNode.swift
[38/68] Compiling SwiftSoup Token.swift
[39/68] Compiling SwiftSoup TokenQueue.swift
[40/68] Compiling SwiftSoup Tokeniser.swift
[41/68] Compiling SwiftSoup TokeniserState.swift
[42/68] 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
[43/68] Compiling SwiftSoup LRUCache.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
[44/68] 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
[45/68] 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
[46/68] 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
[47/68] 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
[48/68] 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
[49/68] 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
[50/68] Compiling SwiftSoup TreeBuilder.swift
[51/68] Compiling SwiftSoup UTF8Arrays.swift
[52/68] Compiling SwiftSoup UnicodeScalar.swift
[53/68] Compiling SwiftSoup Validate.swift
[54/68] Compiling SwiftSoup Whitelist.swift
[55/68] Compiling SwiftSoup XmlDeclaration.swift
[56/68] Compiling SwiftSoup XmlTreeBuilder.swift
[57/68] Compiling SwiftSoup Element.swift
[58/68] Compiling SwiftSoup ElementQuery.swift
[59/68] Compiling SwiftSoup Elements.swift
[60/68] Compiling SwiftSoup Entities.swift
[61/68] Compiling SwiftSoup Evaluator.swift
[62/68] Compiling SwiftSoup Exception.swift
[63/68] Compiling SwiftSoup FormElement.swift
[64/68] Compiling SwiftSoup HtmlTreeBuilder.swift
BUILD FAILURE 6.3 wasm