The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Gravity, reference master (26f80c), with Swift 6.2 for Android on 3 Oct 2026 22:23:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AdaEngine/gravity-lang.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:f47b2a33897778fb58ca39c1139e193fa7f391fa362fe0d23c00db9747030994
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax
[1/80311] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.76s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (5.82s)
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.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.29s)
Building for debugging...
[0/40] Compiling gravity_ast.c
[0/40] Write sources
[0/40] Copying main.gravity
[0/40] Copying extern.gravity
[0/40] Write sources
[7/40] Compiling gravity_optimizer.c
[8/40] Compiling gravity_utils.c
/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.
[9/40] Compiling gravity_lexer.c
[9/40] Compiling gravity_aot_metadata.c
[9/40] Compiling gravity_compiler.c
[9/40] Compiling gravity_ircode.c
[9/40] Write swift-version--11D90AFD9DD3AB2.txt
[9/40] Compiling gravity_json.c
[9/40] Compiling gravity_parser.c
[9/40] Compiling gravity_debug.c
BUILD FAILURE 6.2 android