The Swift Package Index logo.Swift Package Index

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>&1

Build 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: error: cannot find 'malloc' in scope
 47 |     public init(capacity: Int) {
 48 |         if capacity > 0 {
 49 |             guard let p = malloc(capacity) else {
    |                           `- error: cannot find 'malloc' in scope
 50 |                 allocationFailed(capacity, "a new buffer")
 51 |             }
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:158:13: error: cannot find 'memmove' in scope
156 |         if readerIndex == 0 { return }
157 |         if n > 0 {
158 |             memmove(storage.unsafelyUnwrapped, storage.unsafelyUnwrapped + readerIndex, n)
    |             `- error: cannot find 'memmove' in scope
159 |         }
160 |         readerIndex = 0
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:170:9: error: cannot find 'memcpy' in scope
168 |         if n == 0 { return }
169 |         reserve(n)
170 |         memcpy(storage.unsafelyUnwrapped + writerIndex, p, n)
    |         `- error: cannot find 'memcpy' in scope
171 |         writerIndex &+= n
172 |     }
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/ByteBuffer.swift:272:30: error: cannot find 'free' in scope
270 |     @inlinable
271 |     public mutating func destroy() {
272 |         if let s = storage { free(s) }
    |                              `- error: cannot find 'free' in scope
273 |         storage = nil
274 |         capacity = 0
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Bytes.swift:94:12: error: cannot find 'memcmp' in scope
 92 | package func equalsExact(_ p: UnsafePointer<UInt8>, _ n: Int, _ literal: StaticString) -> Bool {
 93 |     guard n == literal.utf8CodeUnitCount else { return false }
 94 |     return memcmp(p, literal.utf8Start, n) == 0
    |            `- error: cannot find 'memcmp' in scope
 95 | }
 96 |
/host/spi-builder-workspace/.build/checkouts/vega/Sources/VegaWire/Bytes.swift:126:21: error: cannot find 'memchr' in scope
124 |     // memchr is vectorised in every libc worth using; hand-rolling a loop here
125 |     // measurably loses on long header values.
126 |     guard let hit = memchr(p, Int32(needle), n) else { return -1 }
    |                     `- error: cannot find 'memchr' in scope
127 |     return UnsafeRawPointer(hit) - UnsafeRawPointer(p)
128 | }
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