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 swift-format, reference 602.0.0 (62eaad), with Swift 6.2 for Wasm on 16 Sep 2025 01:11:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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-format.git
Reference: 602.0.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/swiftlang/swift-format
 * tag               602.0.0    -> FETCH_HEAD
HEAD is now at 62eaad2 Change version to 602.0.0
Cloned https://github.com/swiftlang/swift-format.git
Revision (git rev-parse @):
62eaad2822b865407b8cde56c36386c00800f7ec
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-format.git at 602.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/swift-format.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/16109] Fetching swift-argument-parser
[324/22994] Fetching swift-argument-parser, swift-markdown
[8849/94911] Fetching swift-argument-parser, swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (10.69s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (10.70s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.87s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (12.43s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (1.04s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18199] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.82s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.89s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.83s)
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
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
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/156] Write sources
[6/156] Compiling InstructionsExecuted.c
[7/156] Compiling cmark-gfm-extensions tagfilter.c
[8/156] Compiling cmark-gfm-extensions tasklist.c
[9/156] Compiling cmark-gfm-extensions ext_scanners.c
[10/156] Write swift-version-24593BA9C3E375BF.txt
[11/156] Compiling cmark-gfm-extensions strikethrough.c
[11/156] Compiling InstructionsExecuted.c
[13/156] Compiling cmark-gfm-extensions core-extensions.c
[14/156] Compiling cmark-gfm-extensions table.c
[15/156] Compiling cmark-gfm syntax_extension.c
[16/156] Compiling cmark-gfm xml.c
[17/156] Compiling cmark-gfm registry.c
[18/156] Compiling cmark-gfm-extensions autolink.c
[19/156] Compiling cmark-gfm render.c
[20/156] Compiling cmark-gfm plugin.c
[21/156] Compiling cmark-gfm references.c
[22/156] Compiling cmark-gfm plaintext.c
[23/156] Compiling cmark-gfm linked_list.c
[24/156] Compiling cmark-gfm map.c
[25/156] Compiling cmark-gfm man.c
[26/156] Compiling cmark-gfm node.c
[27/156] Compiling cmark-gfm iterator.c
[28/156] Compiling cmark-gfm houdini_html_e.c
[29/156] Compiling cmark-gfm latex.c
[30/156] Compiling cmark-gfm html.c
[31/156] Compiling cmark-gfm utf8.c
[32/156] Compiling cmark-gfm houdini_href_e.c
[33/156] Compiling cmark-gfm cmark_ctype.c
[34/156] Compiling cmark-gfm commonmark.c
[35/156] Compiling cmark-gfm footnotes.c
[36/156] Compiling cmark-gfm houdini_html_u.c
[37/156] Write sources
[50/156] Compiling cmark-gfm cmark.c
[51/156] Compiling _SwiftSyntaxCShims PlatformMutex.c
[52/156] Compiling CAtomic CAtomic.c
[53/156] Compiling cmark-gfm buffer.c
[54/156] Compiling cmark-gfm inlines.c
[55/156] Compiling cmark-gfm arena.c
[56/156] Write sources
[58/168] Emitting module SwiftSyntax509
[58/168] Compiling cmark-gfm scanners.c
[59/168] Write sources
[62/168] Compiling cmark-gfm blocks.c
[63/168] Compiling cmark-gfm-extensions tasklist.c
[64/230] Compiling cmark-gfm-extensions tagfilter.c
[65/230] Compiling cmark-gfm-extensions table.c
[66/230] Compiling cmark-gfm-extensions strikethrough.c
[67/230] Compiling cmark-gfm-extensions ext_scanners.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.
[68/230] Compiling cmark-gfm-extensions core-extensions.c
[69/230] Emitting module SwiftSyntax510
[70/230] Emitting module SwiftSyntax601
[71/230] Emitting module SwiftSyntax602
[72/230] Emitting module ArgumentParserToolInfo
[73/230] Emitting module SwiftSyntax600
BUILD FAILURE 6.2 wasm