The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Gravity, reference 0.9.9 (ecfb4a), with Swift 6.3 for Wasm on 28 Sep 2026 18:45:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AdaEngine/gravity-lang.git
Reference: 0.9.9
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
 * tag               0.9.9      -> FETCH_HEAD
HEAD is now at ecfb4a5 Merge pull request #4 from AdaEngine/codex/native-named-arguments
Cloned https://github.com/AdaEngine/gravity-lang.git
Revision (git rev-parse @):
ecfb4a53d719163ff84f84bc245315140c075229
SUCCESS checkout https://github.com/AdaEngine/gravity-lang.git at 0.9.9
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/AdaEngine/gravity-lang.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/80070] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.08s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (5.08s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.20s)
Building for debugging...
[0/37] Compiling gravity_optimizer.c
[1/37] Compiling gravity_opt_json.c
[2/37] Compiling gravity_compiler.c
[3/37] Copying main.gravity
[3/37] Copying extern.gravity
[5/37] Write sources
[8/37] Compiling gravity_ircode.c
[9/37] Compiling gravity_debug.c
[10/37] Compiling gravity_lexer.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.
[11/37] Compiling gravity_utils.c
[11/37] Compiling gravity_json.c
[11/37] Compiling gravity_memory.c
[11/37] Compiling gravity_value.c
[11/37] Write swift-version-24593BA9C3E375BF.txt
[11/37] Compiling gravity_parser.c
[11/37] Compiling gravity_codegen.c
[11/37] Compiling gravity_hash.c
BUILD FAILURE 6.3 wasm