Build Information
Failed to build SwiftAIAgent, reference main (1bce23), with Swift 6.4 for Wasm on 23 Sep 2026 02:32:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/SwiftAIAgent.git
Reference: main
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/ShenghaiWang/SwiftAIAgent
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1bce237 Merge pull request #4 from vimscientist69/patch-1
Cloned https://github.com/ShenghaiWang/SwiftAIAgent.git
Revision (git rev-parse @):
1bce237a31d79c4bb5ffcc2bb5ef81a01245fcc5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ShenghaiWang/SwiftAIAgent.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/ShenghaiWang/SwiftAIAgent.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Fetching https://github.com/ShenghaiWang/GoogleSwiftSDK.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/114] Fetching googleapitokenmanager
Fetched https://github.com/ShenghaiWang/GoogleAPITokenManager.git (0.50s)
[1/194] Fetching googleswiftsdk
[131/7126] Fetching googleswiftsdk, swiftsoup
Fetched https://github.com/ShenghaiWang/GoogleSwiftSDK.git (0.76s)
[2773/6932] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git (1.02s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/apple/swift-system
[1/80010] Fetching swift-syntax
[3202/86926] Fetching swift-syntax, swift-system
[15719/90708] Fetching swift-syntax, swift-system, swift-sdk
Fetched https://github.com/apple/swift-system (0.74s)
[11537/83792] Fetching swift-syntax, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git (0.86s)
[14402/80010] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.01s)
Computing version for https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Computed https://github.com/ShenghaiWang/GoogleAPITokenManager.git at 1.0.2 (5.33s)
Fetching https://github.com/vapor/jwt-kit.git
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
[1856/28782] Fetching swift-crypto, jwt-kit
Fetched https://github.com/vapor/jwt-kit.git (1.63s)
Fetched https://github.com/apple/swift-crypto.git (1.64s)
Computing version for https://github.com/ShenghaiWang/GoogleSwiftSDK.git
Computed https://github.com/ShenghaiWang/GoogleSwiftSDK.git at 1.0.4 (1.94s)
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/swift-server/swift-openapi-async-http-client
[1/6938] Fetching swift-openapi-runtime
Fetched https://github.com/apple/swift-openapi-runtime (0.59s)
[1/650] Fetching swift-openapi-async-http-client
Fetched https://github.com/swift-server/swift-openapi-async-http-client (0.96s)
Computing version for https://github.com/swift-server/swift-openapi-async-http-client
Computed https://github.com/swift-server/swift-openapi-async-http-client at 1.5.0 (2.68s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/swift-server/async-http-client.git
[1/1935] Fetching swift-http-types
[1859/18132] Fetching swift-http-types, async-http-client
Fetched https://github.com/apple/swift-http-types (1.16s)
Fetched https://github.com/swift-server/async-http-client.git (1.17s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.12.1 (1.44s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.28s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/mattt/eventsource.git
[4/303] Fetching eventsource
[159/8451] Fetching eventsource, swift-log
Fetched https://github.com/mattt/eventsource.git (0.51s)
[82/8148] Fetching swift-log
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-log.git (0.72s)
[1/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.97s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (4.93s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.30s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.34s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.9 (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.28s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (0.36s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-configuration.git
[1/6145] Fetching swift-algorithms
[370/9924] Fetching swift-algorithms, swift-configuration
[1973/11799] Fetching swift-algorithms, swift-configuration, swift-atomics
[8495/18119] Fetching swift-algorithms, swift-configuration, swift-atomics, swift-distributed-tracing
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-algorithms.git (0.71s)
[11595/11974] Fetching swift-configuration, swift-atomics, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-distributed-tracing.git (0.83s)
Fetching https://github.com/apple/swift-nio-http2.git
[1/2863] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git (0.53s)
Fetching https://github.com/apple/swift-nio-ssl.git
[14/1364] Fetching swift-service-context
[2/8054] Fetching swift-service-context, swift-nio-extras
Fetched https://github.com/apple/swift-configuration.git (1.31s)
Fetched https://github.com/apple/swift-atomics.git (1.32s)
Fetched https://github.com/apple/swift-service-context.git (0.62s)
[5352/6690] Fetching swift-nio-extras
[6691/18942] Fetching swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (0.74s)
[368/12252] Fetching swift-nio-http2
[12253/28317] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git (1.30s)
[5623/16065] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.52s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (3.01s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.64s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.68s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (1.01s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (0.39s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-collections
[1/2843] Fetching swift-service-lifecycle
[2844/30529] Fetching swift-service-lifecycle, swift-collections
Fetched https://github.com/swift-server/swift-service-lifecycle (1.40s)
Fetched https://github.com/apple/swift-collections (1.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.64s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.23s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.6.0 (0.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.56s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.28s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.0 (0.24s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.24s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (1.56s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.32s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.31s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.45s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
[1/1983] Fetching swift-asn1
[1984/9558] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git (0.55s)
[152/7575] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git (0.93s)
[1/1253] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git (1.13s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (1.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.37s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.38s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.42s)
Computing version for https://github.com/vapor/jwt-kit.git
Computed https://github.com/vapor/jwt-kit.git at 4.13.5 (0.27s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.44s)
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/ShenghaiWang/GoogleSwiftSDK.git
Working copy of https://github.com/ShenghaiWang/GoogleSwiftSDK.git resolved at 1.0.4
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.9
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.1
Creating working copy for https://github.com/swift-server/swift-openapi-async-http-client
Working copy of https://github.com/swift-server/swift-openapi-async-http-client resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
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.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.5
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.12.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/ShenghaiWang/GoogleAPITokenManager.git
Working copy of https://github.com/ShenghaiWang/GoogleAPITokenManager.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Creating working copy for https://github.com/vapor/jwt-kit.git
Working copy of https://github.com/vapor/jwt-kit.git resolved at 4.13.5
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 2558]
[Planning 643 / 2558]
[Planning 1797 / 2558]
[Planning 2044 / 2558]
[Planning 2264 / 2558]
[Planning 2351 / 2558]
[Planning 2380 / 2558]
[Planning deferred tasks]
[Constructing 487 / 6640]
[Constructing 5347 / 6640]
[Starting]
[6 / 2056]
[6 / 2056] GoogleGmailSDK-product
[392 / 2060]
[399 / 2069] SwiftSyntax510
[408 / 2085] _NIOBase64
[412 / 2119] SwiftSyntax600
[430 / 2119] _NIOBase64
[441 / 2119] RealModule
[463 / 2119] _NIODataStructures
[466 / 2136] SystemPackage
[469 / 2154] SystemPackage
[470 / 2154] CryptoBoringWrapper
[482 / 2154] SystemPackage
[493 / 2154] SystemPackage
[493 / 2155] _NIODataStructures
[495 / 2155] SystemPackage-product
[500 / 2156] SystemPackage-product
[508 / 2159] _NIODataStructures
[513 / 2159] _NIOBase64
[520 / 2160] SystemPackage
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Mutex.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:82:9: [1;31merror: [1;39mcannot find 'pthread_mutex_init' in scope[0;0m
[0;36m80 |[0;0m
[0;36m81 |[0;0m init() {
[0;36m82 |[0;0m [4;39mpthread_mutex_init[0;0m(&mutex, nil)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutex_init' in scope[0;0m
[0;36m83 |[0;0m }
[0;36m84 |[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:86:9: [1;31merror: [1;39mcannot find 'pthread_mutex_destroy' in scope[0;0m
[0;36m84 |[0;0m
[0;36m85 |[0;0m deinit {
[0;36m86 |[0;0m [4;39mpthread_mutex_destroy[0;0m(&mutex)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutex_destroy' in scope[0;0m
[0;36m87 |[0;0m }
[0;36m88 |[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:90:9: [1;31merror: [1;39mcannot find 'pthread_mutex_lock' in scope[0;0m
[0;36m88 |[0;0m
[0;36m89 |[0;0m func lock() {
[0;36m90 |[0;0m [4;39mpthread_mutex_lock[0;0m(&mutex)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutex_lock' in scope[0;0m
[0;36m91 |[0;0m }
[0;36m92 |[0;0m
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift:94:9: [1;31merror: [1;39mcannot find 'pthread_mutex_unlock' in scope[0;0m
[0;36m92 |[0;0m
[0;36m93 |[0;0m func unlock() {
[0;36m94 |[0;0m [4;39mpthread_mutex_unlock[0;0m(&mutex)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'pthread_mutex_unlock' in scope[0;0m
[0;36m95 |[0;0m }
[0;36m96 |[0;0m #endif
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Attribute.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Attributes.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/BinarySearch.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/BooleanAttribute.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ByteSlice.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/CharacterExt.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/CharacterReader.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Cleaner.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Collector.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/CombiningEvaluator.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Comment.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/CssSelector.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/DataNode.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/DebugTrace.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Document.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/DocumentType.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Element.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ElementQuery.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Elements.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Entities.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Evaluator.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Exception.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/FormElement.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/HtmlTreeBuilder.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/HtmlTreeBuilderState.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/LRUCache.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Mutex.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Node.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/NodeTraversor.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/NodeVisitor.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/OrderedSet.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ParseError.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ParseErrorList.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ParseSettings.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Parser.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ParsingStrings.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Pattern.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Profiler.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/QueryParser.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/QueryParserCache.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/SourceRange.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/StreamReader.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/String.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/StringBuilder.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/StringUtil.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/StructuralEvaluator.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/SwiftSoup.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Tag.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/TextNode.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Token.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/TokenQueue.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Tokeniser.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/TokeniserState.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/TreeBuilder.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/UTF8Arrays.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/UnicodeScalar.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Validate.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/Whitelist.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/XmlDeclaration.swift /host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/XmlTreeBuilder.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/supplementaryOutputs-12 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 2.13.9 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftSoup -package-name swiftsoup -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/SwiftSoup_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/HtmlTreeBuilderState.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/LRUCache.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/Mutex.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/Node.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/NodeTraversor.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/NodeVisitor.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/OrderedSet.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/ParseError.o -index-unit-output-path /SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/HtmlTreeBuilderState.o -index-unit-output-path /SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/LRUCache.o -index-unit-output-path /SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/Mutex.o -index-unit-output-path /SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/Node.o -index-unit-output-path /SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/NodeTraversor.o -index-unit-output-path /SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/NodeVisitor.o -index-unit-output-path /SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/OrderedSet.o -index-unit-output-path /SwiftSoup.build/Debug-webassembly-wasm32/SwiftSoup-t.build/Objects-normal/wasm32/ParseError.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm