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 601.0.0 (ffbb32), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 12:25:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-format.git
Reference: 601.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               601.0.0    -> FETCH_HEAD
HEAD is now at ffbb322 Change version to 601.0.0
Cloned https://github.com/swiftlang/swift-format.git
Revision (git rev-parse @):
ffbb3225ffda37b62c7283c70e87e8bc7e8e202a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-format.git at 601.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-4609320-2":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6797] Fetching swift-markdown
[4012/22177] Fetching swift-markdown, swift-argument-parser
[18949/93104] Fetching swift-markdown, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.58s)
[16018/77724] Fetching swift-markdown, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (8.38s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.52s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (9.64s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (0.67s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18115] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.45s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.34s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.70s)
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.5.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.6.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/151] Write sources
[9/151] Compiling InstructionsExecuted.c
[10/151] Write swift-version-24593BA9C3E375BF.txt
[11/151] Compiling InstructionsExecuted.c
[12/151] Compiling cmark-gfm-extensions tasklist.c
[13/151] Compiling cmark-gfm-extensions strikethrough.c
[14/151] Compiling cmark-gfm-extensions core-extensions.c
[15/151] Compiling cmark-gfm-extensions tagfilter.c
[16/151] Compiling cmark-gfm-extensions ext_scanners.c
[17/151] Compiling cmark-gfm xml.c
[18/151] Compiling cmark-gfm-extensions autolink.c
[19/151] Compiling cmark-gfm-extensions table.c
[20/151] Compiling cmark-gfm render.c
[21/151] Compiling cmark-gfm syntax_extension.c
[21/151] Compiling cmark-gfm registry.c
[23/151] Compiling cmark-gfm plugin.c
[24/151] Compiling cmark-gfm utf8.c
[25/151] Compiling cmark-gfm references.c
[26/151] Compiling cmark-gfm plaintext.c
[27/151] Compiling cmark-gfm linked_list.c
[28/151] Compiling cmark-gfm map.c
[29/151] Compiling cmark-gfm iterator.c
[30/151] Compiling cmark-gfm latex.c
[31/151] Compiling cmark-gfm man.c
[32/151] Compiling cmark-gfm node.c
[33/151] Compiling cmark-gfm houdini_html_e.c
[34/151] Compiling cmark-gfm houdini_href_e.c
[35/151] Compiling cmark-gfm cmark_ctype.c
[36/151] Compiling cmark-gfm html.c
[37/151] Compiling cmark-gfm inlines.c
[38/151] Compiling cmark-gfm houdini_html_u.c
[39/151] Compiling cmark-gfm footnotes.c
[39/151] Write sources
[45/151] Compiling cmark-gfm cmark.c
[46/151] Compiling _SwiftSyntaxCShims dummy.c
[47/151] Compiling cmark-gfm arena.c
[48/151] Compiling cmark-gfm buffer.c
[48/151] Write sources
[52/153] Compiling cmark-gfm commonmark.c
[52/153] Write sources
[57/155] Compiling CAtomic CAtomic.c
[58/158] Compiling cmark-gfm scanners.c
[60/159] Emitting module SwiftSyntax601
[60/161] Compiling cmark-gfm-extensions tasklist.c
[61/161] Compiling cmark-gfm-extensions tagfilter.c
[62/161] Compiling cmark-gfm blocks.c
[63/161] Compiling cmark-gfm-extensions strikethrough.c
[65/161] Emitting module ArgumentParserToolInfo
[65/161] Compiling cmark-gfm-extensions ext_scanners.c
[66/166] Compiling cmark-gfm-extensions table.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.
[67/223] Compiling cmark-gfm-extensions core-extensions.c
[67/223] Compiling cmark-gfm-extensions autolink.c
[68/223] Emitting module SwiftSyntax510
BUILD FAILURE 6.2 wasm