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 (f0f3a8), with Swift 6.2 (beta) for Wasm on 3 Sep 2025 02:19:14 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-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: 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 f0f3a83 Merge pull request #867 from ahoppen/cross-pr-testing
Cloned https://github.com/swiftlang/swift-format.git
Revision (git rev-parse @):
f0f3a83d4539d05d5177f4ff1da5ab71471bc02f
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-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-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/swiftlang/swift-syntax.git
[1/71848] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.83s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6862] Fetching swift-markdown
[6863/22553] Fetching swift-markdown, swift-argument-parser
Fetched https://github.com/swiftlang/swift-markdown.git from cache (1.01s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.02s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.6.0 (1.43s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18188] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (1.30s)
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.34s)
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 (6df106d)
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-markdown.git
Working copy of https://github.com/swiftlang/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
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/162] Write sources
[13/162] Compiling InstructionsExecuted.c
[14/162] Compiling cmark-gfm-extensions tagfilter.c
[15/162] Compiling cmark-gfm-extensions tasklist.c
[16/162] Compiling cmark-gfm-extensions strikethrough.c
[17/162] Compiling cmark-gfm-extensions ext_scanners.c
[18/162] Compiling cmark-gfm-extensions core-extensions.c
[19/162] Compiling InstructionsExecuted.c
[19/162] Write swift-version-24593BA9C3E375BF.txt
[21/162] Compiling cmark-gfm-extensions table.c
[22/162] Compiling cmark-gfm xml.c
[23/162] Compiling cmark-gfm-extensions autolink.c
[24/162] Compiling cmark-gfm syntax_extension.c
[24/162] Compiling cmark-gfm render.c
[26/162] Compiling cmark-gfm registry.c
[27/162] Compiling cmark-gfm plugin.c
[28/162] Compiling cmark-gfm references.c
[29/162] Compiling cmark-gfm plaintext.c
[30/162] Compiling cmark-gfm map.c
[30/162] Compiling cmark-gfm linked_list.c
[32/162] Compiling cmark-gfm man.c
[33/162] Compiling cmark-gfm latex.c
[34/162] Compiling cmark-gfm utf8.c
[35/162] Compiling cmark-gfm node.c
[36/162] Compiling cmark-gfm houdini_html_e.c
[37/162] Compiling cmark-gfm iterator.c
[38/162] Compiling cmark-gfm houdini_href_e.c
[39/162] Compiling cmark-gfm cmark_ctype.c
[40/162] Compiling cmark-gfm html.c
[41/162] Compiling cmark-gfm houdini_html_u.c
[42/162] Compiling cmark-gfm footnotes.c
[43/162] Compiling cmark-gfm cmark.c
[43/162] Compiling cmark-gfm inlines.c
[43/162] Write sources
[58/162] Compiling CAtomic CAtomic.c
[59/162] Compiling cmark-gfm commonmark.c
[60/162] Compiling cmark-gfm buffer.c
[61/162] Compiling _SwiftSyntaxCShims PlatformMutex.c
[62/162] Compiling cmark-gfm arena.c
[63/164] Compiling cmark-gfm-extensions tasklist.c
[64/167] Compiling cmark-gfm scanners.c
[65/168] Compiling cmark-gfm blocks.c
[67/172] Emitting module SwiftSyntax600
[68/238] Emitting module ArgumentParserToolInfo
[69/238] Emitting module SwiftSyntax601
[70/238] Compiling SwiftSyntax601 Empty.swift
[71/238] Compiling SwiftSyntax600 Empty.swift
[72/239] Emitting module SwiftSyntax603
[73/239] Compiling SwiftSyntax603 Empty.swift
[77/241] Emitting module SwiftSyntax510
[78/241] Compiling SwiftSyntax510 Empty.swift
[79/242] Emitting module SwiftSyntax602
[80/242] Compiling SwiftSyntax602 Empty.swift
[82/243] Compiling Markdown BasicBlockContainer.swift
[83/243] Compiling Markdown BasicInlineContainer.swift
[84/243] Compiling Markdown BlockContainer.swift
[85/243] Compiling Markdown BlockMarkup.swift
[86/243] Compiling Markdown InlineContainer.swift
[87/243] Compiling Markdown InlineMarkup.swift
[88/243] Compiling Markdown ListItemContainer.swift
[89/243] Compiling Markdown AtomicCounter.swift
[89/243] Wrapping AST for SwiftSyntax601 for debugging
[90/243] Compiling cmark-gfm-extensions tagfilter.c
[91/251] Wrapping AST for SwiftSyntax603 for debugging
[94/251] Compiling SwiftSyntax509 Empty.swift
[95/251] Emitting module SwiftSyntax509
[95/251] Wrapping AST for SwiftSyntax600 for debugging
[96/252] Wrapping AST for SwiftSyntax510 for debugging
[97/252] Compiling cmark-gfm-extensions table.c
[99/252] Compiling Markdown UnorderedList.swift
[100/252] Compiling Markdown Paragraph.swift
[101/252] Compiling Markdown CodeBlock.swift
[102/252] Compiling Markdown HTMLBlock.swift
[103/252] Compiling Markdown Heading.swift
[104/252] Compiling Markdown ThematicBreak.swift
[105/252] Compiling Markdown Table.swift
[106/252] Compiling Markdown TableBody.swift
[107/252] Compiling Markdown TableCell.swift
[108/252] Compiling cmark-gfm-extensions strikethrough.c
[109/252] Wrapping AST for SwiftSyntax602 for debugging
/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.
[110/252] Compiling cmark-gfm-extensions core-extensions.c
[110/252] Compiling cmark-gfm utf8.c
[110/252] Compiling cmark-gfm-extensions ext_scanners.c
[110/252] Compiling cmark-gfm xml.c
[110/252] Compiling cmark-gfm-extensions autolink.c
BUILD FAILURE 6.2 wasm