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 attributed-string-builder, reference main (0db7fa), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 13:44:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/objcio/attributed-string-builder.git
Reference: main
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/objcio/attributed-string-builder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0db7fa9 Changes
Cloned https://github.com/objcio/attributed-string-builder.git
Revision (git rev-parse @):
0db7fa95d4a4372e6248a3cb948da617956ec09f
SUCCESS checkout https://github.com/objcio/attributed-string-builder.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/objcio/attributed-string-builder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-markdown
[1/6785] Fetching swift-markdown
Fetched https://github.com/apple/swift-markdown from cache (0.64s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18112] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.40s)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (b97d094)
Creating working copy for https://github.com/apple/swift-markdown
Working copy of https://github.com/apple/swift-markdown resolved at main (c281baa)
Building for debugging...
[0/38] Write sources
[1/38] Compiling cmark-gfm cmark.c
[2/38] Compiling cmark-gfm references.c
[3/38] Compiling cmark-gfm-extensions tasklist.c
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:15:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
   15 | CMARK_DEFINE_LOCK(extensions);
      | ^
      | int
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:15:19: error: a parameter list without types is only allowed in a function definition
   15 | CMARK_DEFINE_LOCK(extensions);
      |                   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:28:3: error: call to undeclared function 'CMARK_INITIALIZE_AND_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   28 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:28:29: error: use of undeclared identifier 'extensions'
   28 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |                             ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:34:3: error: call to undeclared function 'CMARK_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   34 |   CMARK_UNLOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:34:16: error: use of undeclared identifier 'extensions'
   34 |   CMARK_UNLOCK(extensions);
      |                ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:41:3: error: call to undeclared function 'CMARK_INITIALIZE_AND_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   41 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:41:29: error: use of undeclared identifier 'extensions'
   41 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |                             ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:51:3: error: call to undeclared function 'CMARK_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   51 |   CMARK_UNLOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:51:16: error: use of undeclared identifier 'extensions'
   51 |   CMARK_UNLOCK(extensions);
      |                ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:58:3: error: call to undeclared function 'CMARK_INITIALIZE_AND_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   58 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:58:29: error: use of undeclared identifier 'extensions'
   58 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |                             ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:64:3: error: call to undeclared function 'CMARK_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   64 |   CMARK_UNLOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:64:16: error: use of undeclared identifier 'extensions'
   64 |   CMARK_UNLOCK(extensions);
      |                ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:72:3: error: call to undeclared function 'CMARK_INITIALIZE_AND_LOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   72 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:72:29: error: use of undeclared identifier 'extensions'
   72 |   CMARK_INITIALIZE_AND_LOCK(extensions);
      |                             ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:82:3: error: call to undeclared function 'CMARK_UNLOCK'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   82 |   CMARK_UNLOCK(extensions);
      |   ^
/host/spi-builder-workspace/.build/checkouts/swift-cmark/src/registry.c:82:16: error: use of undeclared identifier 'extensions'
   82 |   CMARK_UNLOCK(extensions);
      |                ^
18 errors generated.
[4/38] Compiling cmark-gfm render.c
[4/38] Write swift-version-24593BA9C3E375BF.txt
[6/38] Compiling cmark-gfm registry.c
[6/38] Compiling cmark-gfm xml.c
[6/38] Compiling cmark-gfm-extensions tagfilter.c
[6/38] Compiling cmark-gfm-extensions ext_scanners.c
[6/38] Compiling cmark-gfm-extensions table.c
[6/38] Compiling cmark-gfm-extensions autolink.c
[6/38] Compiling cmark-gfm-extensions core-extensions.c
[6/38] Compiling cmark-gfm-extensions strikethrough.c
BUILD FAILURE 6.2 wasm