Build Information
Failed to build MarkdownSyntax, reference 1.3.0 (9a185c), with Swift 6.2 for Wasm on 14 Dec 2025 22:07:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hebertialmeida/MarkdownSyntax.git
Reference: 1.3.0
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/hebertialmeida/MarkdownSyntax
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at 9a185c1 Merge pull request #8 from hebertialmeida/swift-cmark
Cloned https://github.com/hebertialmeida/MarkdownSyntax.git
Revision (git rev-parse @):
9a185c1360aa99594a8e71fb4b5a3ed99ecbfdea
SUCCESS checkout https://github.com/hebertialmeida/MarkdownSyntax.git at 1.3.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/hebertialmeida/MarkdownSyntax.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/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/embedded-swift-sdk.json
Fetching https://github.com/swiftlang/swift-cmark
[1/18259] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark from cache (1.03s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.7.1 (4.12s)
Creating working copy for https://github.com/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.7.1
Building for debugging...
[0/36] Compiling cmark-gfm buffer.c
[1/36] Compiling cmark-gfm html.c
[2/36] Compiling cmark-gfm-extensions tasklist.c
[3/36] Compiling cmark-gfm-extensions tagfilter.c
[4/36] Compiling cmark-gfm houdini_html_u.c
[5/36] Compiling cmark-gfm blocks.c
[6/36] Compiling cmark-gfm arena.c
[7/36] Write swift-version-24593BA9C3E375BF.txt
[8/36] Compiling cmark-gfm inlines.c
[9/36] Compiling cmark-gfm-extensions strikethrough.c
[9/36] Compiling cmark-gfm-extensions core-extensions.c
[11/36] Compiling cmark-gfm-extensions autolink.c
[12/36] Compiling cmark-gfm-extensions ext_scanners.c
[12/36] Compiling cmark-gfm-extensions table.c
[14/36] Compiling cmark-gfm xml.c
[15/36] Compiling cmark-gfm syntax_extension.c
[16/36] Compiling cmark-gfm registry.c
[17/36] Compiling cmark-gfm references.c
[18/36] Compiling cmark-gfm plugin.c
[19/36] Compiling cmark-gfm render.c
[20/36] Compiling cmark-gfm man.c
[21/36] Compiling cmark-gfm plaintext.c
[22/36] Compiling cmark-gfm node.c
[23/36] Compiling cmark-gfm map.c
[24/36] Compiling cmark-gfm linked_list.c
[25/36] Compiling cmark-gfm iterator.c
[26/36] Compiling cmark-gfm footnotes.c
[27/36] Compiling cmark-gfm cmark_ctype.c
[27/36] Compiling cmark-gfm houdini_href_e.c
[27/36] Write sources
[30/36] Compiling cmark-gfm houdini_html_e.c
[31/36] Compiling cmark-gfm latex.c
[32/36] Compiling cmark-gfm commonmark.c
[33/36] Compiling cmark-gfm cmark.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/38] Emitting module MarkdownSyntax
/host/spi-builder-workspace/Sources/MarkdownSyntax/CMark/CMDocument.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import cmark_gfm
11 | import cmark_gfm_extensions
[38/38] Compiling MarkdownSyntax CMDelimiterType.swift
/host/spi-builder-workspace/Sources/MarkdownSyntax/CMark/CMDocument.swift:9:15: error: no such module 'Foundation'
7 | //
8 |
9 | import struct Foundation.Data
| `- error: no such module 'Foundation'
10 | import cmark_gfm
11 | import cmark_gfm_extensions
BUILD FAILURE 6.2 wasm