Build Information
Failed to build cmark-gfm, reference gfm (476f7b
), with Swift 6.1 for Wasm on 29 May 2025 02:46:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shaps80/swift-cmark.git
Reference: gfm
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/shaps80/swift-cmark
* branch gfm -> FETCH_HEAD
* [new branch] gfm -> origin/gfm
HEAD is now at 476f7b4 build: adjust the configuration for Windows
Cloned https://github.com/shaps80/swift-cmark.git
Revision (git rev-parse @):
476f7b4fcf12eba381b4aaed8987006fd8fcec9c
SUCCESS checkout https://github.com/shaps80/swift-cmark.git at gfm
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/shaps80/swift-cmark.git
https://github.com/shaps80/swift-cmark.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "cmark-gfm",
"name" : "cmark-gfm",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "cmark-gfm",
"targets" : [
"cmark-gfm"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "cmark-gfm-extensions",
"targets" : [
"cmark-gfm-extensions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "cmark-gfm-bin",
"targets" : [
"cmark-gfm-bin"
],
"type" : {
"executable" : null
}
},
{
"name" : "api_test",
"targets" : [
"api_test"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "cmark_gfm_extensions",
"module_type" : "ClangTarget",
"name" : "cmark-gfm-extensions",
"path" : "extensions",
"product_memberships" : [
"cmark-gfm-extensions",
"cmark-gfm-bin",
"api_test"
],
"sources" : [
"autolink.c",
"core-extensions.c",
"ext_scanners.c",
"strikethrough.c",
"table.c",
"tagfilter.c",
"tasklist.c"
],
"target_dependencies" : [
"cmark-gfm"
],
"type" : "library"
},
{
"c99name" : "cmark_gfm_bin",
"module_type" : "ClangTarget",
"name" : "cmark-gfm-bin",
"path" : "bin",
"product_memberships" : [
"cmark-gfm-bin"
],
"sources" : [
"main.c"
],
"target_dependencies" : [
"cmark-gfm",
"cmark-gfm-extensions"
],
"type" : "executable"
},
{
"c99name" : "cmark_gfm",
"module_type" : "ClangTarget",
"name" : "cmark-gfm",
"path" : "src",
"product_memberships" : [
"cmark-gfm",
"cmark-gfm-extensions",
"cmark-gfm-bin",
"api_test"
],
"sources" : [
"arena.c",
"blocks.c",
"buffer.c",
"cmark.c",
"cmark_ctype.c",
"commonmark.c",
"footnotes.c",
"houdini_href_e.c",
"houdini_html_e.c",
"houdini_html_u.c",
"html.c",
"inlines.c",
"iterator.c",
"latex.c",
"linked_list.c",
"man.c",
"map.c",
"node.c",
"plaintext.c",
"plugin.c",
"references.c",
"registry.c",
"render.c",
"scanners.c",
"syntax_extension.c",
"utf8.c",
"xml.c"
],
"type" : "library"
},
{
"c99name" : "api_test",
"module_type" : "ClangTarget",
"name" : "api_test",
"path" : "api_test",
"product_memberships" : [
"api_test"
],
"sources" : [
"cplusplus.cpp",
"harness.c",
"main.c"
],
"target_dependencies" : [
"cmark-gfm",
"cmark-gfm-extensions"
],
"type" : "executable"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
/host/spi-builder-workspace/extensions/core-extensions.c:21:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
21 | CMARK_DEFINE_ONCE(registered);
| ^
| int
/host/spi-builder-workspace/extensions/core-extensions.c:21:19: error: a parameter list without types is only allowed in a function definition
21 | CMARK_DEFINE_ONCE(registered);
| ^
/host/spi-builder-workspace/extensions/core-extensions.c:28:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
28 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
/host/spi-builder-workspace/extensions/core-extensions.c:28:18: error: use of undeclared identifier 'registered'
28 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
4 errors generated.
[0/42] Compiling cmark-gfm-extensions core-extensions.c
[0/42] Compiling api_test main.c
[0/42] Compiling cmark-gfm-extensions table.c
[0/42] Compiling cmark-gfm-extensions strikethrough.c
[0/42] Compiling cmark-gfm-extensions autolink.c
[0/42] Compiling cmark-gfm-extensions ext_scanners.c
[0/42] Compiling cmark-gfm-bin main.c
/host/spi-builder-workspace/api_test/harness.c:59:12: error: call to undeclared function 'mkstemp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
59 | [0/42] Compiling api_test harness.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/42] Compiling cmark-gfm xml.c
[1/42] Compiling cmark-gfm syntax_extension.c
[2/42] Compiling cmark-gfm-extensions tasklist.c
[3/42] Compiling cmark-gfm-extensions strikethrough.c
[4/42] Compiling cmark-gfm-extensions tagfilter.c
[5/42] Compiling cmark-gfm-extensions ext_scanners.c
/host/spi-builder-workspace/extensions/core-extensions.c:21:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
21 | CMARK_DEFINE_ONCE(registered);
| ^
| int
/host/spi-builder-workspace/extensions/core-extensions.c:21:19: error: a parameter list without types is only allowed in a function definition
21 | CMARK_DEFINE_ONCE(registered);
| ^
/host/spi-builder-workspace/extensions/core-extensions.c:28:3: error: call to undeclared function 'CMARK_RUN_ONCE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
28 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
/host/spi-builder-workspace/extensions/core-extensions.c:28:18: error: use of undeclared identifier 'registered'
28 | CMARK_RUN_ONCE(registered, register_plugins);
| ^
4 errors generated.
[6/42] Compiling cmark-gfm-extensions core-extensions.c
[6/42] Compiling cmark-gfm-extensions autolink.c
[6/42] Compiling cmark-gfm-bin main.c
[6/42] Compiling cmark-gfm-extensions table.c
[6/42] Compiling cmark-gfm utf8.c
[6/42] Compiling cmark-gfm scanners.c
[6/42] Compiling cmark-gfm registry.c
[6/42] Compiling cmark-gfm render.c
BUILD FAILURE 6.1 wasm