Build Information
Failed to build swift-format, reference 602.0.0-prerelease-2025-06-26 (4d0222
), with Swift 6.2 (beta) for Wasm on 26 Jun 2025 20:30:16 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: 602.0.0-prerelease-2025-06-26
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-prerelease-2025-06-26 -> FETCH_HEAD
HEAD is now at 4d02221 Change version to 602.0.0-prerelease-2025-06-26
Cloned https://github.com/swiftlang/swift-format.git
Revision (git rev-parse @):
4d02221eaf51cbce5639d258860bf8b71c675711
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-format.git at 602.0.0-prerelease-2025-06-26
========================================
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/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-markdown.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/6798] Fetching swift-markdown
[6528/22186] Fetching swift-markdown, swift-argument-parser
[14647/93142] Fetching swift-markdown, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-markdown.git from cache (1.63s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.63s)
[10644/70956] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.77s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (9.80s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18116] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.62s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.61s)
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)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0-prerelease-2025-06-26 (1.22s)
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/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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0-prerelease-2025-06-26
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
[1/1] Compiling plugin Lint Source Code
[2/2] Compiling plugin Format Source Code
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/155] Write sources
[6/155] Compiling InstructionsExecuted.c
[7/155] Compiling cmark-gfm-extensions tasklist.c
[8/155] Compiling cmark-gfm-extensions tagfilter.c
[9/155] Compiling cmark-gfm-extensions strikethrough.c
[10/155] Compiling cmark-gfm-extensions core-extensions.c
[11/155] Compiling cmark-gfm-extensions autolink.c
[12/155] Compiling cmark-gfm xml.c
[13/155] Compiling cmark-gfm-extensions ext_scanners.c
[14/155] Compiling cmark-gfm syntax_extension.c
[15/155] Compiling cmark-gfm plugin.c
[16/155] Compiling cmark-gfm-extensions table.c
[17/155] Compiling cmark-gfm registry.c
[18/155] Compiling cmark-gfm references.c
[19/155] Compiling cmark-gfm render.c
[20/155] Compiling cmark-gfm plaintext.c
[21/155] Compiling cmark-gfm man.c
[22/155] Compiling cmark-gfm linked_list.c
[23/155] Compiling cmark-gfm node.c
[24/155] Compiling cmark-gfm map.c
[25/155] Compiling cmark-gfm iterator.c
[26/155] Compiling cmark-gfm latex.c
[27/155] Compiling cmark-gfm utf8.c
[28/155] Compiling cmark-gfm houdini_html_e.c
[29/155] Compiling cmark-gfm houdini_href_e.c
[30/155] Compiling cmark-gfm cmark_ctype.c
[31/155] Compiling cmark-gfm footnotes.c
[32/155] Compiling cmark-gfm html.c
[33/155] Compiling cmark-gfm cmark.c
[34/155] Compiling cmark-gfm houdini_html_u.c
[35/155] Write sources
[47/155] Compiling cmark-gfm commonmark.c
[48/155] Write sources
[51/155] Compiling cmark-gfm scanners.c
[52/155] Write sources
[53/155] Compiling cmark-gfm buffer.c
[54/155] Compiling cmark-gfm inlines.c
[55/155] Compiling _SwiftSyntaxCShims PlatformMutex.c
[56/155] Compiling CAtomic CAtomic.c
[56/155] Compiling cmark-gfm arena.c
[58/155] Write swift-version-24593BA9C3E375BF.txt
[59/155] Compiling cmark-gfm-extensions tasklist.c
[60/155] Compiling cmark-gfm-extensions tagfilter.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.
[61/155] Compiling cmark-gfm-extensions core-extensions.c
[61/155] Compiling cmark-gfm blocks.c
[61/155] Compiling cmark-gfm-extensions autolink.c
[61/155] Compiling cmark-gfm-extensions table.c
[61/155] Compiling cmark-gfm-extensions ext_scanners.c
[61/155] Compiling cmark-gfm-extensions strikethrough.c
BUILD FAILURE 6.2 wasm