Build Information
Failed to build Swarm, reference 0.5.1 (eeaa05), with Swift 6.3 for Android on 13 Apr 2026 21:02:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/Swarm.git
Reference: 0.5.1
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/christopherkarani/Swarm
* tag 0.5.1 -> FETCH_HEAD
HEAD is now at eeaa053 fix: correct argument order in onDeviceDefault for non-macOS platforms
Cloned https://github.com/christopherkarani/Swarm.git
Revision (git rev-parse @):
eeaa0531a9664cd12d4fe705a5108b1c1d0121bf
SUCCESS checkout https://github.com/christopherkarani/Swarm.git at 0.5.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/christopherkarani/Swarm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/christopherkarani/Conduit
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/christopherkarani/Hive
Fetching https://github.com/christopherkarani/ContextCore.git
[1/750] Fetching contextcore
[376/4165] Fetching contextcore, conduit
[682/6046] Fetching contextcore, conduit, hive
[792/9493] Fetching contextcore, conduit, hive, swift-sdk
[870/15422] Fetching contextcore, conduit, hive, swift-sdk, swiftsoup
[1057/21983] Fetching contextcore, conduit, hive, swift-sdk, swiftsoup, swift-log
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (2.05s)
Fetched https://github.com/apple/swift-log.git from cache (2.07s)
Fetching https://github.com/swiftlang/swift-syntax.git
[8501/11975] Fetching contextcore, conduit, hive, swiftsoup
Fetching https://github.com/christopherkarani/Wax.git
Fetched https://github.com/christopherkarani/ContextCore.git from cache (2.50s)
[7754/11225] Fetching conduit, hive, swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (2.50s)
Fetching https://github.com/christopherkarani/Membrane
[1826/5296] Fetching conduit, hive
[3641/40279] Fetching conduit, hive, wax
[4708/40609] Fetching conduit, hive, wax, membrane
[5038/115581] Fetching conduit, hive, wax, membrane, swift-syntax
Fetched https://github.com/christopherkarani/Membrane from cache (1.15s)
[6207/115251] Fetching conduit, hive, wax, swift-syntax
Fetched https://github.com/christopherkarani/Conduit from cache (4.74s)
Fetched https://github.com/christopherkarani/Hive from cache (4.74s)
[12401/109955] Fetching wax, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (38.11s)
Fetched https://github.com/christopherkarani/Wax.git from cache (38.59s)
Computing version for https://github.com/christopherkarani/Hive
Computed https://github.com/christopherkarani/Hive at 0.1.9 (45.65s)
Computing version for https://github.com/christopherkarani/Membrane
Computed https://github.com/christopherkarani/Membrane at 0.1.3 (2.48s)
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.59s)
Computing version for https://github.com/christopherkarani/ContextCore.git
Computed https://github.com/christopherkarani/ContextCore.git at 1.0.0 (3.53s)
Fetching https://github.com/christopherkarani/MetalANNS.git
[1/1666] Fetching metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (0.57s)
Computing version for https://github.com/christopherkarani/Conduit
Computed https://github.com/christopherkarani/Conduit at 0.3.13 (1.81s)
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-numerics
[1/6236] Fetching swift-transformers
[438/12652] Fetching swift-transformers, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.15s)
[2245/6236] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers from cache (1.68s)
Computing version for https://github.com/christopherkarani/Wax.git
Computed https://github.com/christopherkarani/Wax.git at 0.1.19 (2.75s)
Fetching https://github.com/unum-cloud/USearch.git
Fetching https://github.com/groue/GRDB.swift.git
Fetching https://github.com/apple/swift-crypto.git
[1/17334] Fetching swift-crypto
[522/35057] Fetching swift-crypto, usearch
[10609/148690] Fetching swift-crypto, usearch, grdb.swift
Fetched https://github.com/unum-cloud/USearch.git from cache (16.83s)
Fetched https://github.com/apple/swift-crypto.git from cache (16.93s)
Fetched https://github.com/groue/GRDB.swift.git from cache (17.46s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.1.3 (20.40s)
Computing version for https://github.com/unum-cloud/USearch.git
Computed https://github.com/unum-cloud/USearch.git at 2.24.0 (0.85s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0 (0.77s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
Fetched https://github.com/mattt/eventsource.git from cache (0.47s)
[449/5601] Fetching swift-system
[5602/88740] Fetching swift-system, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (10.89s)
Fetched https://github.com/apple/swift-nio.git from cache (11.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (11.89s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.65s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (0.86s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.72s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.79s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (5.53s)
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
[1/2340] Fetching swift-huggingface
[118/3391] Fetching swift-huggingface, swift-jinja
[3392/7829] Fetching swift-huggingface, swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (3.37s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (3.37s)
Fetched https://github.com/ibireme/yyjson.git from cache (3.37s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (4.97s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.05s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (3.00s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.89s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.81s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.09s)
Fetching https://github.com/apple/swift-asn1.git
[1/1796] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.50s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (1.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.27s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.45s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/christopherkarani/Conduit
Working copy of https://github.com/christopherkarani/Conduit resolved at 0.3.13
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.6.0
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.0
Creating working copy for https://github.com/christopherkarani/Hive
Working copy of https://github.com/christopherkarani/Hive resolved at 0.1.9
Creating working copy for https://github.com/unum-cloud/USearch.git
Working copy of https://github.com/unum-cloud/USearch.git resolved at 2.24.0
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
Creating working copy for https://github.com/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.1.3
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/christopherkarani/ContextCore.git
Working copy of https://github.com/christopherkarani/ContextCore.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/christopherkarani/Membrane
Working copy of https://github.com/christopherkarani/Membrane resolved at 0.1.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.4
Creating working copy for https://github.com/christopherkarani/Wax.git
Working copy of https://github.com/christopherkarani/Wax.git resolved at 0.1.19
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.10.0
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Building for debugging...
[0/994] Write sources
[8/994] Copying t5_tokenizer_config.json
[9/994] Copying gpt2_tokenizer_config.json
[10/994] Copying TopKReduction.metal
[11/994] Copying CosineDistance.metal
[12/994] Copying bert_tokenizer_vocab.txt
[13/994] Copying cl100k_base.tiktoken
[14/994] Write sources
[19/994] Compiling _NumericsShims _NumericsShims.c
[20/994] Compiling _SwiftSyntaxCShims dummy.c
[21/994] Write sources
[25/994] Compiling _AtomicsShims.c
[26/994] Write sources
[38/994] Copying all-MiniLM-L6-v2.mlmodelc
[39/994] Write sources
[47/994] Copying Sort.metal
[47/994] Copying SearchFloat16.metal
[47/994] Copying PQDistance.metal
[47/994] Copying NNDescentFloat16.metal
[47/994] Copying NNDescent.metal
[47/994] Copying HammingDistance.metal
[47/994] Copying DistanceFloat16.metal
[47/994] Copying Distance.metal
[47/994] Copying Search.metal
[56/994] Write sources
/host/spi-builder-workspace/.build/checkouts/Wax/Sources/WaxCoreCompressionC/wax_compression_shims.c:3:10: fatal error: 'lz4.h' file not found
3 | #include <lz4.h>
| ^~~~~~~
1 error generated.
[57/994] Compiling WaxCoreCompressionC wax_compression_shims.c
[57/994] Compiling yyjson.c
[57/994] Compiling USearchC lib.cpp
[57/994] Write sources
BUILD FAILURE 6.3 android