Build Information
Failed to build SwiftSoup, reference 2.10.3 (3a439f
), with Swift 6.2 (beta) for Wasm on 16 Aug 2025 14:24:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.66.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/scinfu/SwiftSoup.git
Reference: 2.10.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.10.3 -> FETCH_HEAD
HEAD is now at 3a439f9 Merge pull request #333 from DarkDust/feature/310-last-child-pseudo-selector-not-working
Cloned https://github.com/scinfu/SwiftSoup.git
Revision (git rev-parse @):
3a439f9eccc391b264d54516ce640251552eb0c4
SUCCESS checkout https://github.com/scinfu/SwiftSoup.git at 2.10.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-4609320-2":/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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/55] Emitting module SwiftSoup
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[4/62] Compiling SwiftSoup SerializationException.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[5/62] Compiling SwiftSoup StreamReader.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[6/62] Compiling SwiftSoup String.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[7/62] Compiling SwiftSoup StringBuilder.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[8/62] Compiling SwiftSoup StringUtil.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[9/62] Compiling SwiftSoup StructuralEvaluator.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[10/62] Compiling SwiftSoup SwiftSoup.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[11/62] Compiling SwiftSoup Tag.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[12/62] Compiling SwiftSoup TextNode.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[13/62] Compiling SwiftSoup Token.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[14/62] Compiling SwiftSoup TokenQueue.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[15/62] Compiling SwiftSoup Tokeniser.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[16/62] Compiling SwiftSoup TokeniserState.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[17/62] Compiling SwiftSoup TreeBuilder.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[18/62] Compiling SwiftSoup HttpStatusException.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[19/62] Compiling SwiftSoup Mutex.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[20/62] Compiling SwiftSoup MutexLock.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[21/62] Compiling SwiftSoup Node.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[22/62] Compiling SwiftSoup NodeTraversor.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[23/62] Compiling SwiftSoup NodeVisitor.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[24/62] Compiling SwiftSoup OrderedSet.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[25/62] Compiling SwiftSoup UTF8Arrays.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[26/62] Compiling SwiftSoup UnfairLock.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[27/62] Compiling SwiftSoup UnicodeScalar.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[28/62] Compiling SwiftSoup Validate.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[29/62] Compiling SwiftSoup Whitelist.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[30/62] Compiling SwiftSoup XmlDeclaration.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[31/62] Compiling SwiftSoup XmlTreeBuilder.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[32/62] Compiling SwiftSoup Element.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[33/62] Compiling SwiftSoup Elements.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[34/62] Compiling SwiftSoup Entities.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[35/62] Compiling SwiftSoup Evaluator.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[36/62] Compiling SwiftSoup Exception.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[37/62] Compiling SwiftSoup FormElement.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[38/62] Compiling SwiftSoup HtmlTreeBuilder.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[39/62] Compiling SwiftSoup HtmlTreeBuilderState.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[40/62] Compiling SwiftSoup Attribute.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[41/62] Compiling SwiftSoup Attributes.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[42/62] Compiling SwiftSoup BinarySearch.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[43/62] Compiling SwiftSoup BooleanAttribute.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[44/62] Compiling SwiftSoup CharacterExt.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[45/62] Compiling SwiftSoup CharacterReader.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[46/62] Compiling SwiftSoup Cleaner.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[47/62] Compiling SwiftSoup Collector.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[48/62] Compiling SwiftSoup ParseError.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[49/62] Compiling SwiftSoup ParseErrorList.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[50/62] Compiling SwiftSoup ParseSettings.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[51/62] Compiling SwiftSoup Parser.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[52/62] Compiling SwiftSoup ParsingStrings.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[53/62] Compiling SwiftSoup Pattern.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[54/62] Compiling SwiftSoup QueryParser.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[55/62] Compiling SwiftSoup CombiningEvaluator.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[56/62] Compiling SwiftSoup Comment.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[57/62] Compiling SwiftSoup Connection.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[58/62] Compiling SwiftSoup CssSelector.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[59/62] Compiling SwiftSoup DataNode.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[60/62] Compiling SwiftSoup DataUtil.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[61/62] Compiling SwiftSoup Document.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
[62/62] Compiling SwiftSoup DocumentType.swift
/host/spi-builder-workspace/Sources/Attribute.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | open class Attribute {
BUILD FAILURE 6.2 wasm