Build Information
Failed to build SwiftPackageGenerator, reference 0.1.0 (dce34f
), with Swift 6.2 (beta) for Wasm on 1 Sep 2025 07:36:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/dfed/swift-package-generator.git
Reference: 0.1.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/dfed/swift-package-generator
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at dce34f5 Improve formatting
Cloned https://github.com/dfed/swift-package-generator.git
Revision (git rev-parse @):
dce34f5a0e191f5b0415e544e17738d71186d3e2
SUCCESS checkout https://github.com/dfed/swift-package-generator.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dfed/swift-package-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-format.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/12472] Fetching swift-format
[5489/84314] Fetching swift-format, swift-syntax
[10573/100003] Fetching swift-format, swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.92s)
[27559/84314] Fetching swift-format, swift-syntax
Fetched https://github.com/swiftlang/swift-format.git from cache (9.38s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.47s)
Computing version for https://github.com/swiftlang/swift-format.git
Computed https://github.com/swiftlang/swift-format.git at 601.0.0 (14.04s)
Fetching https://github.com/apple/swift-markdown.git
[1/6862] Fetching swift-markdown
Fetched https://github.com/apple/swift-markdown.git from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (2.09s)
Computing version for https://github.com/apple/swift-markdown.git
Computed https://github.com/apple/swift-markdown.git at 0.6.0 (0.97s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18188] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (1.80s)
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.41s)
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-format.git
Working copy of https://github.com/swiftlang/swift-format.git resolved at 601.0.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
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 601.0.1
[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/77] Write sources
[11/77] Compiling CAtomic CAtomic.c
[12/77] Compiling cmark-gfm-extensions tagfilter.c
[13/77] Compiling cmark-gfm-extensions tasklist.c
[14/77] Compiling cmark-gfm xml.c
[15/77] Compiling cmark-gfm-extensions ext_scanners.c
[15/77] Write swift-version-24593BA9C3E375BF.txt
[17/77] Compiling cmark-gfm syntax_extension.c
[18/77] 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.
[19/77] Compiling cmark-gfm-extensions core-extensions.c
[19/77] Compiling cmark-gfm-extensions table.c
[19/77] Compiling cmark-gfm utf8.c
[19/77] Compiling cmark-gfm render.c
[19/77] Compiling cmark-gfm registry.c
[19/77] Compiling cmark-gfm-extensions autolink.c
[19/77] Compiling cmark-gfm references.c
[19/77] Compiling cmark-gfm scanners.c
BUILD FAILURE 6.2 wasm