The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Gravity, reference master (26f80c), with Swift 6.1 for Wasm on 3 Oct 2026 22:33:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AdaEngine/gravity-lang.git
Reference: master
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/AdaEngine/gravity-lang
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 26f80cc Merge pull request #7 from AdaEngine/codex/native-async-export
Cloned https://github.com/AdaEngine/gravity-lang.git
Revision (git rev-parse @):
26f80cc250d478b16dbbd21a3a517a669d13f616
SUCCESS checkout https://github.com/AdaEngine/gravity-lang.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/AdaEngine/gravity-lang.git
https://github.com/AdaEngine/gravity-lang.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/80311] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.58s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (5.86s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[0/73] Compiling _SwiftSyntaxCShims PlatformMutex.c
[0/73] Write sources
[0/73] Copying main.gravity
[0/73] Copying extern.gravity
[0/73] Write sources
/host/spi-builder-workspace/src/utils/gravity_utils.c:77:9: error: call to undeclared function 'gettimeofday'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   77 |     r = gettimeofday(&tv, 0);
      |         ^
/host/spi-builder-workspace/src/utils/gravity_utils.c:243:20: error: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  243 |     mode_t saved = umask(0);
      |                    ^
2 errors generated.
[23/73] Compiling gravity_utils.c
[23/73] Compiling gravity_aot.c
[23/73] Compiling gravity_aot_metadata.c
[23/73] Compiling gravity_ast.c
[23/73] Compiling gravity_codegen.c
[23/73] Compiling gravity_ircode.c
[23/73] Compiling gravity_compiler.c
[23/73] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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:beceeede496da67681f4fa220a6b97cc098a0178841a413735f598dc6bbaf4c8
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/50] Compiling gravity_memory.c
/host/spi-builder-workspace/src/utils/gravity_utils.c:77:9: error: call to undeclared function 'gettimeofday'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   77 |     r = gettimeofday(&tv, 0);
      |         ^
/host/spi-builder-workspace/src/utils/gravity_utils.c:243:20: error: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  243 |     mode_t saved = umask(0);
      |                    ^
2 errors generated.
[1/50] Compiling gravity_utils.c
[1/50] Compiling gravity_core.c
[1/50] Compiling gravity_vm.c
[1/50] Compiling gravity_hash.c
[1/50] Compiling gravity_debug.c
[1/50] Compiling gravity_json.c
[1/50] Compiling gravity_value.c
[1/50] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm