Build Information
Failed to build swift-html-to-pdf, reference main (c6cf43), with Swift 6.2 for Wasm on 31 Mar 2026 23:26:19 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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coenttb/swift-html-to-pdf.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/coenttb/swift-html-to-pdf
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c6cf434 Merge visionos-support: Add visionOS support (#27)
Cloned https://github.com/coenttb/swift-html-to-pdf.git
Revision (git rev-parse @):
c6cf4344d3c1b1bdfd223d0f6642dc66de29ecc0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/coenttb/swift-html-to-pdf.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/coenttb/swift-html-to-pdf.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.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:de1420b02d93a9deec3e168cca69275e06e27da7632503e71651af6daad007b1
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/coenttb/swift-logging-extras
Fetching https://github.com/coenttb/swift-resource-pool
Fetching https://github.com/apple/swift-metrics
[1/139] Fetching swift-logging-extras
[140/472] Fetching swift-logging-extras, swift-resource-pool
[473/2643] Fetching swift-logging-extras, swift-resource-pool, swift-docc-plugin
[691/5656] Fetching swift-logging-extras, swift-resource-pool, swift-docc-plugin, swift-metrics
Fetched https://github.com/coenttb/swift-resource-pool from cache (0.40s)
Fetched https://github.com/apple/swift-metrics from cache (0.41s)
Fetching https://github.com/pointfreeco/swift-dependencies
Fetched https://github.com/coenttb/swift-logging-extras from cache (0.43s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.44s)
[1/6741] Fetching swift-dependencies
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.42s)
Computing version for https://github.com/coenttb/swift-logging-extras
Computed https://github.com/coenttb/swift-logging-extras at 0.1.1 (3.28s)
Fetching https://github.com/apple/swift-log
[1/6314] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.84s)
Computing version for https://github.com/coenttb/swift-resource-pool
Computed https://github.com/coenttb/swift-resource-pool at 0.2.0 (1.24s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.12.0 (0.77s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/894] Fetching swift-concurrency-extras
[895/3444] Fetching swift-concurrency-extras, combine-schedulers
[2629/4761] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
[4130/10484] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay
[8311/85391] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.76s)
[7743/84074] Fetching swift-concurrency-extras, combine-schedulers, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (6.52s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (6.52s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (6.53s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.60s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (6.99s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.1.0 (0.39s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8284] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.56s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (2.73s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.33s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.11.0 (0.35s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.39s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3671] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.14s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.8.0 (0.35s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.32s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.0 (0.69s)
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.8.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.12.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.9.0
Creating working copy for https://github.com/coenttb/swift-resource-pool
Working copy of https://github.com/coenttb/swift-resource-pool resolved at 0.2.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
Creating working copy for https://github.com/coenttb/swift-logging-extras
Working copy of https://github.com/coenttb/swift-logging-extras resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.11.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/HtmlToPdfLiveTests/StressTestLogs': File not found.
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/66] Write sources
[39/66] Compiling _SwiftSyntaxCShims PlatformMutex.c
[40/66] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/85] Emitting module ResourcePool
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[43/86] Compiling ResourcePool ResourcePool.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.4 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/wasi/Swift.swiftmodule/wasm32-unknown-wasip1.swiftmodule
[44/86] Emitting module SwiftSyntax602
[45/86] Emitting module SwiftSyntax600
[46/86] Emitting module SwiftSyntax603
BUILD FAILURE 6.2 wasm