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.8.8 (aa85ee), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 14:51:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/scinfu/SwiftSoup.git
Reference: 2.8.8
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.8.8      -> FETCH_HEAD
HEAD is now at aa85ee9 Merge pull request #311 from ryannair05/master
Cloned https://github.com/scinfu/SwiftSoup.git
Revision (git rev-parse @):
aa85ee96017a730031bafe411cde24a08a17a9c9
SUCCESS checkout https://github.com/scinfu/SwiftSoup.git at 2.8.8
========================================
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/56] Compiling SwiftSoup Tag.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[4/56] Compiling SwiftSoup TextNode.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[5/56] Compiling SwiftSoup Token.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[6/56] Compiling SwiftSoup TokenQueue.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[7/56] Compiling SwiftSoup Tokeniser.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[8/56] Compiling SwiftSoup TokeniserState.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[9/56] Compiling SwiftSoup TreeBuilder.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/63] Emitting module SwiftSoup
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[11/63] Compiling SwiftSoup ArrayExt.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[12/63] Compiling SwiftSoup Attribute.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[13/63] Compiling SwiftSoup Attributes.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[14/63] Compiling SwiftSoup BinarySearch.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[15/63] Compiling SwiftSoup BooleanAttribute.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[16/63] Compiling SwiftSoup CharacterExt.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[17/63] Compiling SwiftSoup CharacterReader.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[18/63] Compiling SwiftSoup Cleaner.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[19/63] Compiling SwiftSoup Collector.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[20/63] Compiling SwiftSoup CombiningEvaluator.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[21/63] Compiling SwiftSoup Comment.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[22/63] Compiling SwiftSoup Connection.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[23/63] Compiling SwiftSoup CssSelector.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[24/63] Compiling SwiftSoup DataNode.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[25/63] Compiling SwiftSoup DataUtil.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[26/63] Compiling SwiftSoup Document.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[27/63] Compiling SwiftSoup DocumentType.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[28/63] Compiling SwiftSoup Element.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[29/63] Compiling SwiftSoup Elements.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[30/63] Compiling SwiftSoup Entities.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[31/63] Compiling SwiftSoup Evaluator.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[32/63] Compiling SwiftSoup Exception.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[33/63] Compiling SwiftSoup FormElement.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[34/63] Compiling SwiftSoup HtmlTreeBuilder.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[35/63] Compiling SwiftSoup SimpleDictionary.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[36/63] Compiling SwiftSoup StreamReader.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[37/63] Compiling SwiftSoup String.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[38/63] Compiling SwiftSoup StringBuilder.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[39/63] Compiling SwiftSoup StringUtil.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[40/63] Compiling SwiftSoup StructuralEvaluator.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[41/63] Compiling SwiftSoup SwiftSoup.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[42/63] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[43/63] Compiling SwiftSoup HttpStatusException.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[44/63] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[45/63] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[46/63] Compiling SwiftSoup NodeTraversor.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[47/63] Compiling SwiftSoup NodeVisitor.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[48/63] Compiling SwiftSoup OrderedSet.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[49/63] Compiling SwiftSoup ParseError.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[50/63] Compiling SwiftSoup ParseErrorList.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[51/63] Compiling SwiftSoup ParseSettings.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[52/63] Compiling SwiftSoup Parser.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[53/63] Compiling SwiftSoup ParsingStrings.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[54/63] Compiling SwiftSoup Pattern.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[55/63] Compiling SwiftSoup QueryParser.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[56/63] Compiling SwiftSoup SerializationException.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[57/63] Compiling SwiftSoup UTF8Arrays.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[58/63] Compiling SwiftSoup UnfairLock.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[59/63] Compiling SwiftSoup UnicodeScalar.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[60/63] Compiling SwiftSoup Validate.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[61/63] Compiling SwiftSoup Whitelist.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[62/63] Compiling SwiftSoup XmlDeclaration.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
[63/63] Compiling SwiftSoup XmlTreeBuilder.swift
/host/spi-builder-workspace/Sources/ArrayExt.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | extension Array where Element: Equatable {
BUILD FAILURE 6.2 wasm