Build Information
Failed to build PerfectXML, reference 3.1.3 (977d27
), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 12:22:12 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-xml.git
Reference: 3.1.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/perfectlysoft/perfect-xml
* tag 3.1.3 -> FETCH_HEAD
HEAD is now at 977d277 Updated import
Cloned https://github.com/perfectlysoft/perfect-xml.git
Revision (git rev-parse @):
977d27770b74f8e73653b9f569b7dac1bfea4150
SUCCESS checkout https://github.com/perfectlysoft/perfect-xml.git at 3.1.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-xml.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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/PerfectlySoft/Perfect-libxml2.git
[1/89] Fetching perfect-libxml2
Fetched https://github.com/PerfectlySoft/Perfect-libxml2.git from cache (0.23s)
Computing version for https://github.com/PerfectlySoft/Perfect-libxml2.git
Computed https://github.com/PerfectlySoft/Perfect-libxml2.git at 3.0.1 (0.59s)
Creating working copy for https://github.com/PerfectlySoft/Perfect-libxml2.git
Working copy of https://github.com/PerfectlySoft/Perfect-libxml2.git resolved at 3.0.1
warning: 'perfect-libxml2': ignoring declared target(s) 'libxml2' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libxml2' is not used by any target
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling PerfectXML XPath.swift
/host/spi-builder-workspace/Sources/PerfectXML/Codable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | func die() -> Never {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
[4/8] Compiling PerfectXML XMLDOM.swift
/host/spi-builder-workspace/Sources/PerfectXML/Codable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | func die() -> Never {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
[5/8] Compiling PerfectXML XMLStream.swift
/host/spi-builder-workspace/Sources/PerfectXML/Codable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | func die() -> Never {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module PerfectXML
/host/spi-builder-workspace/Sources/PerfectXML/Codable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | func die() -> Never {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
[7/8] Compiling PerfectXML Codable.swift
/host/spi-builder-workspace/Sources/PerfectXML/Codable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | func die() -> Never {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
[8/8] Compiling PerfectXML SAX.swift
/host/spi-builder-workspace/Sources/PerfectXML/Codable.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | func die() -> Never {
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2.h"
| `- note: in file included from <module-includes>:1:
2 |
BUILD FAILURE 6.2 wasm