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 cmark-gfm, reference 0.6.0 (b022b0), with Swift 6.1 for Wasm on 30 May 2025 16:44:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/swiftlang/swift-cmark.git
Reference: 0.6.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/swiftlang/swift-cmark
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at b022b08 Merge pull request #58 from swiftlang/egorzhdan/include-inside-extern-c
Cloned https://github.com/swiftlang/swift-cmark.git
Revision (git rev-parse @):
b022b08312decdc46585e0b3440d97f6f22ef703
SUCCESS checkout https://github.com/swiftlang/swift-cmark.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftlang/swift-cmark.git
https://github.com/swiftlang/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-2":/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...
[0/42] Compiling cmark-gfm-extensions tagfilter.c
[1/42] Compiling cmark-gfm-extensions strikethrough.c
[2/42] Compiling cmark-gfm-extensions tasklist.c
[3/42] Compiling cmark-gfm-extensions ext_scanners.c
/host/spi-builder-workspace/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/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/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/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |                  ^
4 errors generated.
[4/42] Compiling cmark-gfm-extensions core-extensions.c
[4/42] Compiling cmark-gfm syntax_extension.c
[4/42] Compiling cmark-gfm-bin main.c
[4/42] Compiling cmark-gfm scanners.c
[4/42] Compiling cmark-gfm-extensions autolink.c
[4/42] Compiling cmark-gfm xml.c
[4/42] Compiling cmark-gfm-extensions table.c
[4/42] Compiling cmark-gfm utf8.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/38] Compiling cmark-gfm xml.c
[1/38] Compiling cmark-gfm syntax_extension.c
/host/spi-builder-workspace/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/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/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/extensions/core-extensions.c:30:18: error: use of undeclared identifier 'registered'
   30 |   CMARK_RUN_ONCE(registered, register_plugins);
      |                  ^
4 errors generated.
[2/38] Compiling cmark-gfm-extensions core-extensions.c
[2/38] Compiling cmark-gfm render.c
[2/38] Compiling cmark-gfm utf8.c
[2/38] Compiling cmark-gfm-extensions table.c
[2/38] Compiling cmark-gfm-extensions autolink.c
[2/38] Compiling cmark-gfm registry.c
[2/38] Compiling cmark-gfm scanners.c
[2/38] Compiling cmark-gfm-bin main.c
BUILD FAILURE 6.1 wasm