The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MarkdownView, reference main (025323), with Swift 6.2 for Wasm on 24 Nov 2025 17:14:56 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-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LiYanan2004/MarkdownView.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/LiYanan2004/MarkdownView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0253232 Update bug_report template
Cloned https://github.com/LiYanan2004/MarkdownView.git
Revision (git rev-parse @):
0253232fc0c5f71b054cd3e98f27863508f9afca
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/LiYanan2004/MarkdownView.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/LiYanan2004/MarkdownView.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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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/raspu/Highlightr.git
Fetching https://github.com/swiftlang/swift-markdown.git
Fetching https://github.com/colinc86/LaTeXSwiftUI.git
[1/7003] Fetching swift-markdown
[1122/8172] Fetching swift-markdown, latexswiftui
[4322/10742] Fetching swift-markdown, latexswiftui, highlightr
Fetched https://github.com/colinc86/LaTeXSwiftUI.git from cache (0.34s)
[8571/9573] Fetching swift-markdown, highlightr
Fetched https://github.com/swiftlang/swift-markdown.git from cache (0.52s)
Fetched https://github.com/raspu/Highlightr.git from cache (0.52s)
Computing version for https://github.com/colinc86/LaTeXSwiftUI.git
Computed https://github.com/colinc86/LaTeXSwiftUI.git at 1.5.0 (3.48s)
Fetching https://github.com/Kitura/swift-html-entities
Fetching https://github.com/colinc86/MathJaxSwift
Fetching https://github.com/swhitty/SwiftDraw
[1/663] Fetching swift-html-entities
[492/2094] Fetching swift-html-entities, mathjaxswift
[703/9005] Fetching swift-html-entities, mathjaxswift, swiftdraw
Fetched https://github.com/Kitura/swift-html-entities from cache (0.61s)
Fetched https://github.com/swhitty/SwiftDraw from cache (0.62s)
Fetched https://github.com/colinc86/MathJaxSwift from cache (0.62s)
Computing version for https://github.com/Kitura/swift-html-entities
Computed https://github.com/Kitura/swift-html-entities at 4.0.1 (0.99s)
Computing version for https://github.com/colinc86/MathJaxSwift
Computed https://github.com/colinc86/MathJaxSwift at 3.4.0 (0.37s)
Computing version for https://github.com/raspu/Highlightr.git
Computed https://github.com/raspu/Highlightr.git at 2.3.0 (0.34s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.7.3 (2.72s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18248] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.18s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (2.27s)
Computing version for https://github.com/swhitty/SwiftDraw
Computed https://github.com/swhitty/SwiftDraw at 0.25.1 (0.33s)
Creating working copy for https://github.com/raspu/Highlightr.git
Working copy of https://github.com/raspu/Highlightr.git resolved at 2.3.0
Creating working copy for https://github.com/Kitura/swift-html-entities
Working copy of https://github.com/Kitura/swift-html-entities resolved at 4.0.1
Creating working copy for https://github.com/colinc86/LaTeXSwiftUI.git
Working copy of https://github.com/colinc86/LaTeXSwiftUI.git resolved at 1.5.0
Creating working copy for https://github.com/swhitty/SwiftDraw
Working copy of https://github.com/swhitty/SwiftDraw resolved at 0.25.1
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
Creating working copy for https://github.com/colinc86/MathJaxSwift
Working copy of https://github.com/colinc86/MathJaxSwift resolved at 3.4.0
Creating working copy for https://github.com/swiftlang/swift-markdown.git
Working copy of https://github.com/swiftlang/swift-markdown.git resolved at 0.7.3
Building for debugging...
[0/38] Write sources
[1/38] Compiling cmark-gfm cmark_ctype.c
[2/38] Compiling cmark-gfm cmark.c
[3/38] Compiling cmark-gfm plugin.c
[4/38] Compiling cmark-gfm buffer.c
[5/38] Compiling cmark-gfm arena.c
[6/38] Write swift-version-24593BA9C3E375BF.txt
[7/38] Compiling cmark-gfm-extensions tagfilter.c
[7/38] Compiling cmark-gfm-extensions tasklist.c
[9/38] Compiling cmark-gfm-extensions strikethrough.c
[10/38] Compiling cmark-gfm-extensions core-extensions.c
[11/38] Compiling cmark-gfm-extensions ext_scanners.c
[12/38] Compiling cmark-gfm blocks.c
[13/38] Compiling cmark-gfm syntax_extension.c
[14/38] Compiling cmark-gfm xml.c
[14/38] Compiling cmark-gfm-extensions table.c
[16/38] Compiling cmark-gfm-extensions autolink.c
[17/38] Compiling cmark-gfm render.c
[18/38] Compiling cmark-gfm registry.c
[19/38] Compiling cmark-gfm references.c
[20/38] Compiling cmark-gfm plaintext.c
[21/38] Compiling cmark-gfm map.c
[22/38] Compiling cmark-gfm linked_list.c
[23/38] Compiling cmark-gfm man.c
[24/38] Compiling cmark-gfm latex.c
[24/38] Compiling cmark-gfm node.c
[26/38] Compiling cmark-gfm iterator.c
[27/38] Compiling cmark-gfm houdini_href_e.c
[28/38] Compiling cmark-gfm html.c
[28/38] Write sources
[30/38] Compiling cmark-gfm houdini_html_e.c
[31/38] Compiling cmark-gfm footnotes.c
[32/38] Compiling CAtomic CAtomic.c
[33/38] Compiling cmark-gfm inlines.c
[34/38] Compiling cmark-gfm commonmark.c
[35/38] Compiling cmark-gfm houdini_html_u.c
[36/38] Compiling cmark-gfm scanners.c
[37/38] Compiling cmark-gfm utf8.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/40] Emitting module Markdown
/host/spi-builder-workspace/.build/checkouts/swift-markdown/Sources/Markdown/Base/Document.swift:11:8: error: no such module 'Foundation'
 9 | */
10 |
11 | import Foundation
   |        `- error: no such module 'Foundation'
12 |
13 | /// A markup element representing the top level of a whole document.
[40/40] Compiling Markdown ChildIndexPath.swift
/host/spi-builder-workspace/.build/checkouts/swift-markdown/Sources/Markdown/Base/Document.swift:11:8: error: no such module 'Foundation'
 9 | */
10 |
11 | import Foundation
   |        `- error: no such module 'Foundation'
12 |
13 | /// A markup element representing the top level of a whole document.
BUILD FAILURE 6.2 wasm