Build Information
Failed to build Parsley, reference main (78bf58), with Swift 6.2 for Wasm on 5 Apr 2026 07:47:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/Parsley.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/Parsley
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 78bf58b chore: Improve readme
Cloned https://github.com/loopwerk/Parsley.git
Revision (git rev-parse @):
78bf58b8a6d1d9fd8507736a6f37266add374f83
SUCCESS checkout https://github.com/loopwerk/Parsley.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/loopwerk/Parsley.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/swiftlang/swift-cmark.git
[1/18374] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.04s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (1.50s)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.1
Building for debugging...
[0/36] Compiling cmark-gfm arena.c
[1/36] Compiling cmark-gfm-extensions tasklist.c
[2/36] Compiling cmark-gfm-extensions tagfilter.c
[3/36] Compiling cmark-gfm-extensions core-extensions.c
[4/36] Compiling cmark-gfm-extensions ext_scanners.c
[5/36] Compiling cmark-gfm xml.c
[6/36] Write swift-version-24593BA9C3E375BF.txt
[6/36] Compiling cmark-gfm-extensions strikethrough.c
[8/36] Compiling cmark-gfm-extensions autolink.c
[9/36] Compiling cmark-gfm blocks.c
[10/36] Compiling cmark-gfm-extensions table.c
[11/36] Compiling cmark-gfm syntax_extension.c
[12/36] Compiling cmark-gfm registry.c
[13/36] Compiling cmark-gfm references.c
[14/36] Compiling cmark-gfm plugin.c
[15/36] Compiling cmark-gfm render.c
[16/36] Compiling cmark-gfm node.c
[17/36] Compiling cmark-gfm plaintext.c
[18/36] Compiling cmark-gfm latex.c
[18/36] Compiling cmark-gfm map.c
[20/36] Compiling cmark-gfm man.c
[21/36] Compiling cmark-gfm linked_list.c
[21/36] Compiling cmark-gfm iterator.c
[23/36] Compiling cmark-gfm houdini_html_e.c
[24/36] Compiling cmark-gfm html.c
[25/36] Compiling cmark-gfm footnotes.c
[26/36] Compiling cmark-gfm houdini_html_u.c
[27/36] Compiling cmark-gfm houdini_href_e.c
[28/36] Write sources
[29/36] Compiling cmark-gfm cmark_ctype.c
[30/36] Compiling cmark-gfm cmark.c
[31/36] Compiling cmark-gfm inlines.c
[32/36] Compiling cmark-gfm commonmark.c
[33/36] Compiling cmark-gfm buffer.c
[34/36] Compiling cmark-gfm scanners.c
[35/36] Compiling cmark-gfm utf8.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/41] Emitting module Parsley
<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
[38/41] Compiling Parsley MarkdownOptions.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
[39/41] Compiling Parsley Document.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
[40/41] Compiling Parsley Parsley.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
[41/41] Compiling Parsley SyntaxExtension.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