Build Information
Failed to build cmark-gfm, reference gfm (e02dca
), with Swift 6.2 (beta) for Wasm on 9 Sep 2025 03:42:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-cmark.git
Reference: gfm
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/swiftlang/swift-cmark
* branch gfm -> FETCH_HEAD
* [new branch] gfm -> origin/gfm
HEAD is now at e02dcab Merge pull request #81 from z2oh/gfm
Cloned https://github.com/swiftlang/swift-cmark.git
Revision (git rev-parse @):
e02dcabc65781626a7e46b22fa275923bbe6c2f6
SUCCESS checkout https://github.com/swiftlang/swift-cmark.git at gfm
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftlang/swift-cmark.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/42] Compiling api_test harness.c
[1/42] Compiling cmark-gfm-extensions tasklist.c
[2/42] Compiling cmark-gfm-extensions autolink.c
[3/42] Compiling api_test cplusplus.cpp
[4/42] Compiling cmark-gfm-extensions tagfilter.c
[4/42] Compiling cmark-gfm-extensions core-extensions.c
[6/42] Compiling cmark-gfm-extensions strikethrough.c
[7/42] Compiling cmark-gfm xml.c
[8/42] Compiling cmark-gfm-bin main.c
[9/42] Compiling cmark-gfm-extensions table.c
[10/42] Compiling cmark-gfm-extensions ext_scanners.c
[11/42] Compiling cmark-gfm registry.c
[12/42] Compiling cmark-gfm syntax_extension.c
[12/42] Compiling cmark-gfm references.c
[14/42] Compiling cmark-gfm render.c
[15/42] Compiling cmark-gfm plugin.c
[16/42] Compiling cmark-gfm map.c
[17/42] Compiling cmark-gfm plaintext.c
[18/42] Compiling cmark-gfm linked_list.c
[19/42] Compiling cmark-gfm man.c
[20/42] Compiling cmark-gfm node.c
[21/42] Compiling cmark-gfm latex.c
[22/42] Compiling cmark-gfm iterator.c
[23/42] Compiling cmark-gfm houdini_html_e.c
[24/42] Compiling cmark-gfm html.c
[25/42] Compiling cmark-gfm houdini_href_e.c
[25/42] Compiling cmark-gfm footnotes.c
[27/42] Compiling cmark-gfm houdini_html_u.c
[28/42] Compiling cmark-gfm cmark_ctype.c
[29/42] Compiling cmark-gfm commonmark.c
[30/42] Compiling cmark-gfm inlines.c
[31/42] Compiling cmark-gfm cmark.c
[32/42] Compiling cmark-gfm buffer.c
[33/42] Compiling cmark-gfm arena.c
[34/42] Compiling api_test main.c
[35/42] Compiling cmark-gfm blocks.c
[36/42] Compiling cmark-gfm scanners.c
[37/42] Compiling cmark-gfm utf8.c
[38/42] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
wasm-ld: error: /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/wasm32/swiftrt.o: undefined symbol: swift_addNewDSOImage
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[40/42] Linking cmark-gfm-bin.wasm
wasm-ld: error: /root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/wasm32/swiftrt.o: undefined symbol: swift_addNewDSOImage
[40/42] Linking api_test.wasm
BUILD FAILURE 6.2 wasm