Build Information
Failed to build swift-format, reference 603.0.0-prerelease-2025-09-15 (9d1bad), with Swift 6.2 for Wasm on 16 Sep 2025 01:10:27 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-format.git
Reference: 603.0.0-prerelease-2025-09-15
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 603.0.0-prerelease-2025-09-15 -> FETCH_HEAD
HEAD is now at 9d1badd Change version to 603.0.0-prerelease-2025-09-15
Cloned https://github.com/swiftlang/swift-format.git
Revision (git rev-parse @):
9d1badd67fc9a1efe35e96ece63602cb62d7ebe2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-format.git at 603.0.0-prerelease-2025-09-15
========================================
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/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-markdown.git
[1/6885] Fetching swift-markdown
[1516/22994] Fetching swift-markdown, swift-argument-parser
[18807/94911] Fetching swift-markdown, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.56s)
Fetched https://github.com/swiftlang/swift-markdown.git from cache (5.56s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.63s)
Computing version for https://github.com/swiftlang/swift-markdown.git
Computed https://github.com/swiftlang/swift-markdown.git at 0.6.0 (6.29s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18199] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.68s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (2.53s)
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.68s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0-prerelease-2025-09-15 (0.94s)
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 603.0.0-prerelease-2025-09-15
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
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/162] Write sources
[11/162] Compiling InstructionsExecuted.c
[12/162] Compiling _SwiftSyntaxCShims PlatformMutex.c
[13/162] Compiling cmark-gfm-extensions tagfilter.c
[14/162] Compiling cmark-gfm-extensions tasklist.c
[15/162] Compiling InstructionsExecuted.c
[16/162] Write swift-version-24593BA9C3E375BF.txt
[17/162] Compiling cmark-gfm-extensions strikethrough.c
[18/162] Compiling cmark-gfm-extensions ext_scanners.c
[19/162] Compiling cmark-gfm-extensions core-extensions.c
[20/162] Compiling cmark-gfm-extensions autolink.c
[21/162] Compiling cmark-gfm xml.c
[22/162] Compiling cmark-gfm-extensions table.c
[23/162] Compiling cmark-gfm syntax_extension.c
[24/162] Compiling cmark-gfm render.c
[25/162] Compiling cmark-gfm registry.c
[26/162] Compiling cmark-gfm references.c
[27/162] Compiling cmark-gfm plugin.c
[28/162] Compiling cmark-gfm plaintext.c
[29/162] Compiling cmark-gfm linked_list.c
[29/162] Compiling cmark-gfm node.c
[31/162] Compiling cmark-gfm man.c
[32/162] Compiling cmark-gfm map.c
[33/162] Compiling cmark-gfm utf8.c
[34/162] Compiling cmark-gfm latex.c
[35/162] Compiling cmark-gfm iterator.c
[36/162] Compiling cmark-gfm houdini_html_e.c
[37/162] Compiling cmark-gfm html.c
[38/162] Compiling cmark-gfm houdini_href_e.c
[39/162] Compiling cmark-gfm cmark_ctype.c
[40/162] Compiling cmark-gfm houdini_html_u.c
[41/162] Compiling cmark-gfm cmark.c
[41/162] Write sources
[51/162] Compiling cmark-gfm commonmark.c
[52/162] Compiling cmark-gfm footnotes.c
[53/162] Compiling cmark-gfm buffer.c
[54/162] Compiling cmark-gfm scanners.c
[55/162] Compiling CAtomic CAtomic.c
[55/162] Compiling cmark-gfm arena.c
[57/162] Compiling cmark-gfm inlines.c
[58/162] Write sources
[60/170] Compiling cmark-gfm blocks.c
[62/176] Emitting module SwiftSyntax509
[63/176] Emitting module SwiftSyntax510
[64/238] Emitting module SwiftSyntax600
[65/238] Compiling SwiftSyntax600 Empty.swift
[67/239] Compiling SwiftSyntax510 Empty.swift
[68/240] Compiling SwiftSyntax509 Empty.swift
[69/241] Emitting module SwiftSyntax601
[70/241] Compiling SwiftSyntax601 Empty.swift
[71/241] Emitting module SwiftSyntax603
[72/241] Compiling SwiftSyntax603 Empty.swift
[73/243] Write sources
[79/243] Emitting module SwiftSyntax602
[80/243] Compiling SwiftSyntax602 Empty.swift
[80/244] Compiling cmark-gfm-extensions tasklist.c
[81/244] Wrapping AST for SwiftSyntax509 for debugging
[82/244] Wrapping AST for SwiftSyntax600 for debugging
[83/244] Wrapping AST for SwiftSyntax510 for debugging
[85/244] Wrapping AST for SwiftSyntax601 for debugging
[86/244] Wrapping AST for SwiftSyntax603 for debugging
[88/245] Compiling Markdown BasicBlockContainer.swift
[89/245] Compiling Markdown BasicInlineContainer.swift
[90/245] Compiling Markdown BlockContainer.swift
[91/245] Compiling Markdown BlockMarkup.swift
[92/245] Compiling Markdown InlineContainer.swift
[93/245] Compiling Markdown InlineMarkup.swift
[94/245] Compiling Markdown ListItemContainer.swift
[95/245] Compiling Markdown AtomicCounter.swift
[95/254] 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.
[96/254] Compiling cmark-gfm-extensions core-extensions.c
[96/254] Wrapping AST for SwiftSyntax602 for debugging
[97/271] Emitting module ArgumentParserToolInfo
[97/271] Compiling cmark-gfm-extensions ext_scanners.c
[98/271] Emitting module Markdown
[99/271] Compiling Markdown Strikethrough.swift
[100/271] Compiling Markdown Strong.swift
[101/271] Compiling Markdown CustomInline.swift
[102/271] Compiling Markdown InlineCode.swift
[103/271] Compiling Markdown InlineHTML.swift
[104/271] Compiling Markdown LineBreak.swift
[105/271] Compiling Markdown SoftBreak.swift
[106/271] Compiling Markdown SymbolLink.swift
[107/271] Compiling Markdown Text.swift
[107/272] Compiling cmark-gfm-extensions table.c
[107/272] Compiling cmark-gfm-extensions strikethrough.c
BUILD FAILURE 6.2 wasm