Build Information
Failed to build SagaStencilRenderer, reference main (34713d), with Swift 6.2 for Wasm on 1 Apr 2026 06:05:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/loopwerk/SagaStencilRenderer.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/loopwerk/SagaStencilRenderer
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 34713d4 fix: Don't set a useless default empty environment
Cloned https://github.com/loopwerk/SagaStencilRenderer.git
Revision (git rev-parse @):
34713d4485fc937465c7e40d2916563e900549bf
SUCCESS checkout https://github.com/loopwerk/SagaStencilRenderer.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/loopwerk/SagaStencilRenderer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/stencilproject/Stencil
Fetching https://github.com/loopwerk/Saga
[1/4651] Fetching saga
[1769/9944] Fetching saga, stencil
Fetched https://github.com/stencilproject/Stencil from cache (0.44s)
Fetched https://github.com/loopwerk/Saga from cache (0.44s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 3.1.0 (0.92s)
Fetching https://github.com/loopwerk/SagaPathKit
Fetching https://github.com/apple/swift-crypto
[1/829] Fetching sagapathkit
Fetched https://github.com/loopwerk/SagaPathKit from cache (0.76s)
[1/17276] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (2.80s)
Computing version for https://github.com/loopwerk/SagaPathKit
Computed https://github.com/loopwerk/SagaPathKit at 1.6.1 (3.23s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (2.31s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[318/2473] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.27s)
Fetched https://github.com/kylef/PathKit.git from cache (0.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.51s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.61s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.15.1 (1.54s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (3.11s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.15.1
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.1
Creating working copy for https://github.com/loopwerk/SagaPathKit
Working copy of https://github.com/loopwerk/SagaPathKit resolved at 1.6.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/loopwerk/Saga
Working copy of https://github.com/loopwerk/Saga resolved at 3.1.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module SagaPathKit
<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
[8/10] Compiling SagaPathKit SagaPathKit.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module PathKit
<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
[10/10] Compiling PathKit PathKit.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
BUILD FAILURE 6.2 wasm