The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Runestone, reference main (b1bf52), with Swift 6.1 for Wasm on 7 Nov 2026 00:37:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonbs/Runestone.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/simonbs/Runestone
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b1bf525 Dim the gutter and folding controls during find presentation (#485)
Submodule path 'tree-sitter': checked out '10eb5ac119eec9cb4267a8e035066473983f5f3a'
Submodule 'tree-sitter' (https://github.com/tree-sitter/tree-sitter.git) registered for path 'tree-sitter'
Cloning into '/host/spi-builder-workspace/tree-sitter'...
Cloned https://github.com/simonbs/Runestone.git
Revision (git rev-parse @):
b1bf525d02a601bcba420a46c9b5864d4281eec6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonbs/Runestone.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/simonbs/Runestone.git
https://github.com/simonbs/Runestone.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:c39884094bf9874b7a6bb32559a257cc0b80a9b15eb9e58adaa15f5bda5e4fb5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/33] Compiling scanner.c
[1/33] Compiling parser.c
[2/33] Compiling TreeSitterSupport TreeSitterSupport.c
[3/33] Write swift-version-24593BA9C3E375BF.txt
[4/33] Compiling parser.c
[5/33] Copying Localizable.strings
[22/33] Copying Theme.xcassets
[23/33] Copying PrivacyInfo.xcprivacy
[23/33] Copying Info.plist
[25/33] Write sources
[26/33] Compiling parser.c
In file included from /host/spi-builder-workspace/tree-sitter/lib/src/lib.c:6:
/host/spi-builder-workspace/tree-sitter/lib/src/./parser.c:2078:28: error: call to undeclared function 'fdopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 2078 |     self->dot_graph_file = fdopen(fd, "a");
      |                            ^
/host/spi-builder-workspace/tree-sitter/lib/src/./parser.c:2078:28: note: did you mean 'fopen'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:83:7: note: 'fopen' declared here
   83 | FILE *fopen(const char *__restrict, const char *__restrict);
      |       ^
In file included from /host/spi-builder-workspace/tree-sitter/lib/src/lib.c:6:
/host/spi-builder-workspace/tree-sitter/lib/src/./parser.c:2078:26: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct _IO_FILE *') from 'int' [-Wint-conversion]
 2078 |     self->dot_graph_file = fdopen(fd, "a");
      |                          ^ ~~~~~~~~~~~~~~~
2 errors generated.
[27/33] Compiling lib.c
[27/33] Compiling scanner.cc
[27/33] Compiling parser.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:c39884094bf9874b7a6bb32559a257cc0b80a9b15eb9e58adaa15f5bda5e4fb5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/tree-sitter/lib/src/lib.c:6:
/host/spi-builder-workspace/tree-sitter/lib/src/./parser.c:2078:28: error: call to undeclared function 'fdopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 2078 |     self->dot_graph_file = fdopen(fd, "a");
      |                            ^
/host/spi-builder-workspace/tree-sitter/lib/src/./parser.c:2078:28: note: did you mean 'fopen'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdio.h:83:7: note: 'fopen' declared here
   83 | FILE *fopen(const char *__restrict, const char *__restrict);
      |       ^
In file included from /host/spi-builder-workspace/tree-sitter/lib/src/lib.c:6:
/host/spi-builder-workspace/tree-sitter/lib/src/./parser.c:2078:26: error: incompatible integer to pointer conversion assigning to 'FILE *' (aka 'struct _IO_FILE *') from 'int' [-Wint-conversion]
 2078 |     self->dot_graph_file = fdopen(fd, "a");
      |                          ^ ~~~~~~~~~~~~~~~
2 errors generated.
[1/7] Compiling lib.c
[1/7] Compiling scanner.cc
[1/7] Compiling parser.c
BUILD FAILURE 6.1 wasm