Build Information
Failed to build Gravity, reference 0.9.9 (ecfb4a), with Swift 6.1 for Android on 28 Sep 2026 18:48:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build 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: android
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-1":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/80070] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.56s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.58s)
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/70] Compiling gravity_token.c
[0/70] Compiling gravity_opt_env.c
[2/70] Compiling gravity_visitor.c
[2/70] Write sources
[2/70] Copying main.gravity
[2/70] Copying extern.gravity
[2/70] Write sources
[24/70] Compiling gravity_opt_file.c
[25/70] Compiling gravity_symboltable.c
[26/70] Compiling _SwiftSyntaxCShims PlatformMutex.c
[27/70] Compiling gravity_optimizer.c
[28/70] Compiling gravity_utils.c
[29/70] Compiling gravity_memory.c
[30/70] Compiling gravity_debug.c
[31/70] Compiling gravity_parser.c
[32/70] Compiling gravity_hash.c
[33/70] Compiling gravity_json.c
[34/70] Compiling gravity_opt_json.c
[35/70] Compiling gravity_opt_math.c
[36/70] Compiling gravity_semacheck1.c
[37/70] Compiling gravity_value.c
[38/70] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/src/compiler/gravity_lexer.c:562:5: error: call to undeclared library function 'bzero' with type 'void (void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
562 | bzero(lexer, sizeof(gravity_lexer_t));
| ^
/host/spi-builder-workspace/src/compiler/gravity_lexer.c:562:5: note: include the header <strings.h> or explicitly provide a declaration for 'bzero'
1 error generated.
[39/70] Compiling gravity_lexer.c
[39/70] Compiling gravity_ircode.c
[39/70] Compiling gravity_codegen.c
[39/70] Compiling gravity_semacheck2.c
[39/70] Compiling gravity_core.c
[39/70] Compiling gravity_vm.c
[39/70] Compiling gravity_compiler.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:a7f4f752e160f6cbd9e0c26490aa43ccd5312d524c4c6d77f8b144559b526afa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/src/compiler/gravity_lexer.c:562:5: error: call to undeclared library function 'bzero' with type 'void (void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
562 | bzero(lexer, sizeof(gravity_lexer_t));
| ^
/host/spi-builder-workspace/src/compiler/gravity_lexer.c:562:5: note: include the header <strings.h> or explicitly provide a declaration for 'bzero'
1 error generated.
[0/32] Compiling gravity_lexer.c
[0/32] Compiling gravity_vm.c
[0/32] Compiling gravity_compiler.c
[0/32] Compiling gravity_core.c
[0/32] Compiling gravity_ast.c
[0/32] Compiling gravity_semacheck2.c
[0/32] Compiling gravity_codegen.c
[0/32] Compiling gravity_ircode.c
BUILD FAILURE 6.1 android