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 main (cbe488), with Swift 6.2 (beta) for Wasm on 26 Jun 2025 20:37:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 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/swiftlang/swift-format
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cbe4886 Fix handling of raw multiline string newline-suppressing continuations. (#1041)
Cloned https://github.com/swiftlang/swift-format.git
Revision (git rev-parse @):
cbe4886ea8aa73768b40f988d7ef3578cfde6f13
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-format.git at main
========================================
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-3":/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/swiftlang/swift-syntax.git
[1/70956] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.11s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-markdown.git
[1/6798] Fetching swift-markdown
[2/22186] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/apple/swift-markdown.git from cache (1.61s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (2.63s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18116] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.89s)
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.5.1 (0.77s)
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 main (c40a978)
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/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.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
Building for debugging...
[3/159] Write sources
[11/159] Compiling InstructionsExecuted.c
[12/159] Compiling cmark-gfm-extensions strikethrough.c
[13/159] Compiling cmark-gfm-extensions tagfilter.c
[14/159] Compiling cmark-gfm-extensions ext_scanners.c
[15/159] Compiling cmark-gfm-extensions tasklist.c
[16/159] Compiling cmark-gfm-extensions core-extensions.c
[17/159] Compiling InstructionsExecuted.c
[18/159] Write swift-version-24593BA9C3E375BF.txt
[19/159] Compiling cmark-gfm syntax_extension.c
[20/159] Compiling cmark-gfm references.c
[21/159] Compiling cmark-gfm-extensions table.c
[22/159] Compiling cmark-gfm xml.c
[23/159] Compiling cmark-gfm-extensions autolink.c
[24/159] Compiling cmark-gfm plugin.c
[25/159] Compiling cmark-gfm render.c
[26/159] Compiling cmark-gfm registry.c
[27/159] Compiling cmark-gfm plaintext.c
[28/159] Compiling cmark-gfm man.c
[29/159] Compiling cmark-gfm linked_list.c
[30/159] Compiling cmark-gfm map.c
[31/159] Compiling cmark-gfm latex.c
[32/159] Compiling cmark-gfm node.c
[33/159] Compiling cmark-gfm iterator.c
[34/159] Compiling cmark-gfm utf8.c
[35/159] Compiling cmark-gfm houdini_html_e.c
[36/159] Compiling cmark-gfm houdini_href_e.c
[37/159] Compiling cmark-gfm html.c
[38/159] Compiling cmark-gfm footnotes.c
[39/159] Compiling cmark-gfm cmark_ctype.c
[40/159] Compiling cmark-gfm houdini_html_u.c
[41/159] Compiling cmark-gfm cmark.c
[41/159] Write sources
[51/159] Compiling cmark-gfm commonmark.c
[52/159] Compiling cmark-gfm arena.c
[53/159] Compiling cmark-gfm buffer.c
[54/159] Compiling _SwiftSyntaxCShims PlatformMutex.c
[55/159] Compiling CAtomic CAtomic.c
[56/159] Compiling cmark-gfm blocks.c
[57/159] Compiling cmark-gfm inlines.c
[58/159] Write sources
[59/173] Compiling cmark-gfm scanners.c
[59/173] Write sources
[63/173] Compiling cmark-gfm-extensions tasklist.c
[65/173] Emitting module ArgumentParserToolInfo
[66/235] Emitting module SwiftSyntax600
[67/235] Compiling SwiftSyntax600 Empty.swift
[68/236] Emitting module SwiftSyntax603
[69/236] Compiling SwiftSyntax603 Empty.swift
[70/237] Emitting module SwiftSyntax601
[71/237] Compiling SwiftSyntax601 Empty.swift
[72/238] Emitting module SwiftSyntax509
[73/238] Compiling SwiftSyntax509 Empty.swift
[75/239] Compiling SwiftSyntax602 Empty.swift
[76/239] Emitting module SwiftSyntax602
[79/240] Compiling SwiftSyntax510 Empty.swift
[80/240] Emitting module SwiftSyntax510
[82/241] Compiling cmark-gfm-extensions tagfilter.c
[83/241] Wrapping AST for SwiftSyntax600 for debugging
[86/241] Compiling Markdown UnorderedList.swift
[87/241] Compiling Markdown Paragraph.swift
[88/241] Compiling Markdown CodeBlock.swift
[89/241] Compiling Markdown HTMLBlock.swift
[90/241] Compiling Markdown Heading.swift
[91/241] Compiling Markdown ThematicBreak.swift
[92/241] Compiling Markdown Table.swift
[93/241] Compiling Markdown TableBody.swift
[94/241] Compiling Markdown TableCell.swift
[94/249] Wrapping AST for SwiftSyntax603 for debugging
[95/249] Wrapping AST for SwiftSyntax601 for debugging
[96/249] Wrapping AST for SwiftSyntax602 for debugging
[98/249] Compiling Markdown BasicBlockContainer.swift
[99/249] Compiling Markdown BasicInlineContainer.swift
[100/249] Compiling Markdown BlockContainer.swift
[101/249] Compiling Markdown BlockMarkup.swift
[102/249] Compiling Markdown InlineContainer.swift
[103/249] Compiling Markdown InlineMarkup.swift
[104/249] Compiling Markdown ListItemContainer.swift
[105/249] Compiling Markdown AtomicCounter.swift
[105/249] Wrapping AST for SwiftSyntax509 for debugging
[106/249] Wrapping AST for SwiftSyntax510 for debugging
[107/249] Compiling cmark-gfm-extensions strikethrough.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.
[108/249] Compiling cmark-gfm-extensions core-extensions.c
[108/249] Compiling cmark-gfm xml.c
[108/249] Compiling cmark-gfm-extensions ext_scanners.c
[108/249] Compiling cmark-gfm-extensions autolink.c
[108/249] Compiling cmark-gfm-extensions table.c
BUILD FAILURE 6.2 wasm