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 TermKit, reference main (89ff1e), with Swift 6.2 (beta) for Wasm on 11 Sep 2025 17:32:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/migueldeicaza/TermKit.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/migueldeicaza/TermKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 89ff1e7 Move TermKit to a layer-based model, this simplifies the debugging of rendering of individual views, the ordering of what to implement when drawing and corner cases that required careful consideration of interaction between subviews, exposed regions and so on.
Cloned https://github.com/migueldeicaza/TermKit.git
Revision (git rev-parse @):
89ff1e7546d27856ea610f02b4fd806adf9ac06a
SUCCESS checkout https://github.com/migueldeicaza/TermKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/migueldeicaza/TermKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
Fetching https://github.com/migueldeicaza/SwiftTerm.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-markdown
[1/2094] Fetching swift-docc-plugin
[232/2327] Fetching swift-docc-plugin, swiftlintplugins
[486/9197] Fetching swift-docc-plugin, swiftlintplugins, swift-markdown
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.53s)
[1490/16136] Fetching swift-docc-plugin, swift-markdown, swiftterm
Fetched https://github.com/apple/swift-markdown from cache (1.27s)
Fetching https://github.com/migueldeicaza/TextBufferKit.git
Fetched https://github.com/apple/swift-docc-plugin from cache (1.55s)
Fetched https://github.com/migueldeicaza/SwiftTerm.git from cache (1.57s)
[1/240] Fetching textbufferkit
Fetched https://github.com/migueldeicaza/TextBufferKit.git from cache (0.40s)
Computing version for https://github.com/migueldeicaza/SwiftTerm.git
Computed https://github.com/migueldeicaza/SwiftTerm.git at 1.5.1 (2.79s)
Fetching https://github.com/apple/swift-argument-parser
[1/15914] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.29s)
Computing version for https://github.com/migueldeicaza/TextBufferKit.git
Computed https://github.com/migueldeicaza/TextBufferKit.git at 0.3.0 (6.06s)
Computing version for https://github.com/apple/swift-markdown
Computed https://github.com/apple/swift-markdown at 0.6.0 (1.14s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18196] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.56s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.27s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.61.0 (0.51s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.54s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.01s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.48s)
Creating working copy for https://github.com/migueldeicaza/SwiftTerm.git
Working copy of https://github.com/migueldeicaza/SwiftTerm.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-markdown
Working copy of https://github.com/apple/swift-markdown resolved at 0.6.0
Creating working copy for https://github.com/migueldeicaza/TextBufferKit.git
Working copy of https://github.com/migueldeicaza/TextBufferKit.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.61.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip
[1397/70760294] Downloading https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip (8.25s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftLintCommandPlugin
[4/4] Compiling plugin SwiftLintBuildToolPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/54] Compiling cmark-gfm cmark_ctype.c
[7/54] Compiling cmark-gfm houdini_href_e.c
[8/54] Compiling cmark-gfm footnotes.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   22 | CMARK_DEFINE_ONCE(registered);
      | ^
      | int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:22:19: error: a parameter list without types is only allowed in a function definition
   22 | CMARK_DEFINE_ONCE(registered);
      |                   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |                  ^
4 errors generated.
[9/54] Compiling cmark-gfm-extensions core-extensions.c
[9/54] Compiling cmark-gfm-extensions table.c
[9/54] Compiling cmark-gfm-extensions tagfilter.c
[9/54] Compiling cmark-gfm-extensions tasklist.c
[9/54] Compiling cmark-gfm man.c
[9/54] Compiling cmark-gfm commonmark.c
[9/54] Write swift-version-24593BA9C3E375BF.txt
[9/54] Compiling cmark-gfm map.c
BUILD FAILURE 6.2 wasm