Build Information
Failed to build garuda, reference main (aa2035), with Swift 6.4 for Android on 22 Oct 2026 13:21:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/garuda.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/grepjava/garuda
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aa20357 CI pins aioquic 1.3.0: under 1.7.0 the WebTransport client crashes and router-streams' HTTP/3 cancellation check fails
Cloned https://github.com/grepjava/garuda.git
Revision (git rev-parse @):
aa2035701d803f7c6c03f604f03e0f4e506c25ae
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/grepjava/garuda.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/grepjava/garuda.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d9a84d7647394b4473e054b8d8a8f0e0b43300080afc6972ec459a3a608366e4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-distributed-tracing
Fetching https://github.com/grepjava/vega.git
Fetching https://github.com/grepjava/vega-db.git
[1/6684] Fetching swift-distributed-tracing
[68/6959] Fetching swift-distributed-tracing, vega-db
Fetched https://github.com/grepjava/vega-db.git (0.45s)
[4679/6684] Fetching swift-distributed-tracing
[6685/11086] Fetching swift-distributed-tracing, vega
Fetched https://github.com/apple/swift-distributed-tracing (0.69s)
Fetched https://github.com/grepjava/vega.git (0.69s)
[1/80972] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.32s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.28s)
Computing version for https://github.com/grepjava/vega-db.git
Computed https://github.com/grepjava/vega-db.git at 0.3.0 (0.16s)
Computing version for https://github.com/grepjava/vega.git
Computed https://github.com/grepjava/vega.git at 1.1.0 (0.19s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.7.2 (0.14s)
Creating working copy for https://github.com/grepjava/vega.git
Working copy of https://github.com/grepjava/vega.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.7.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/grepjava/vega-db.git
Working copy of https://github.com/grepjava/vega-db.git resolved at 0.3.0
warning: 'vega': you may be able to install openssl using your system-packager:
apt-get install libssl-dev
Building for debugging...
[Computing dependencies]
[Provisioning 93 / 95]
[Pre-planning 1 / 2098]
[Planning 1162 / 2098]
[Planning 2084 / 2098]
[Planning deferred tasks]
[Constructing 2443 / 4901]
[177 / 1173] SwiftSyntax601
[386 / 1205] SwiftSyntax601
[401 / 1214] SwiftSyntax601
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:49:27: [1;31merror: [1;39mcannot find 'malloc' in scope[0;0m
[0;36m47 |[0;0m public init(capacity: Int) {
[0;36m48 |[0;0m if capacity > 0 {
[0;36m49 |[0;0m guard let p = [4;39mmalloc[0;0m(capacity) else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'malloc' in scope[0;0m
[0;36m50 |[0;0m allocationFailed(capacity, "a new buffer")
[0;36m51 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:158:13: [1;31merror: [1;39mcannot find 'memmove' in scope[0;0m
[0;36m156 |[0;0m if readerIndex == 0 { return }
[0;36m157 |[0;0m if n > 0 {
[0;36m158 |[0;0m [4;39mmemmove[0;0m(storage.unsafelyUnwrapped, storage.unsafelyUnwrapped + readerIndex, n)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'memmove' in scope[0;0m
[0;36m159 |[0;0m }
[0;36m160 |[0;0m readerIndex = 0
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:170:9: [1;31merror: [1;39mcannot find 'memcpy' in scope[0;0m
[0;36m168 |[0;0m if n == 0 { return }
[0;36m169 |[0;0m reserve(n)
[0;36m170 |[0;0m [4;39mmemcpy[0;0m(storage.unsafelyUnwrapped + writerIndex, p, n)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'memcpy' in scope[0;0m
[0;36m171 |[0;0m writerIndex &+= n
[0;36m172 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:272:30: [1;31merror: [1;39mcannot find 'free' in scope[0;0m
[0;36m270 |[0;0m @inlinable
[0;36m271 |[0;0m public mutating func destroy() {
[0;36m272 |[0;0m if let s = storage { [4;39mfree[0;0m(s) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'free' in scope[0;0m
[0;36m273 |[0;0m storage = nil
[0;36m274 |[0;0m capacity = 0
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Bytes.swift:94:12: [1;31merror: [1;39mcannot find 'memcmp' in scope[0;0m
[0;36m92 |[0;0m package func equalsExact(_ p: UnsafePointer<UInt8>, _ n: Int, _ literal: StaticString) -> Bool {
[0;36m93 |[0;0m guard n == literal.utf8CodeUnitCount else { return false }
[0;36m94 |[0;0m return [4;39mmemcmp[0;0m(p, literal.utf8Start, n) == 0
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'memcmp' in scope[0;0m
[0;36m95 |[0;0m }
[0;36m96 |[0;0m
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Bytes.swift:126:21: [1;31merror: [1;39mcannot find 'memchr' in scope[0;0m
[0;36m124 |[0;0m // memchr is vectorised in every libc worth using; hand-rolling a loop here
[0;36m125 |[0;0m // measurably loses on long header values.
[0;36m126 |[0;0m guard let hit = [4;39mmemchr[0;0m(p, Int32(needle), n) else { return -1 }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'memchr' in scope[0;0m
[0;36m127 |[0;0m return UnsafeRawPointer(hit) - UnsafeRawPointer(p)
[0;36m128 |[0;0m }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Allocation.swift /host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift /host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Bytes.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D BoringSSL -D Xcode -serialize-debugging-options -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -user-module-version 1.1.0 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name VegaWire -package-name vega -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/Objects-normal/aarch64/VegaWire_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/Objects-normal/aarch64/Modules/VegaWire.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/Objects-normal/aarch64/Modules/VegaWire.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/Objects-normal/aarch64/VegaWire-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/Objects-normal/aarch64/VegaWire-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/Objects-normal/aarch64/VegaWire-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Vega.build/Debug-android-aarch64/VegaWire-t.build/Objects-normal/aarch64/Modules/VegaWire.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android