Build Information
Failed to build Swarm, reference 0.5.1 (eeaa05), with Swift 6.2 for Android on 13 Apr 2026 20:58:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-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.2
Building package at path: $PWD
https://github.com/christopherkarani/Swarm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/christopherkarani/Conduit
Fetching https://github.com/christopherkarani/ContextCore.git
Fetching https://github.com/christopherkarani/Wax.git
Fetching https://github.com/christopherkarani/Hive
[1/1881] Fetching hive
[566/2631] Fetching hive, contextcore
[1099/6046] Fetching hive, contextcore, conduit
[1951/11975] Fetching hive, contextcore, conduit, swiftsoup
[2268/46958] Fetching hive, contextcore, conduit, swiftsoup, wax
[4502/50405] Fetching hive, contextcore, conduit, swiftsoup, wax, swift-sdk
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.72s)
[6902/44476] Fetching hive, contextcore, conduit, wax, swift-sdk
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/christopherkarani/Hive from cache (1.93s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/christopherkarani/Conduit from cache (1.96s)
Fetching https://github.com/christopherkarani/Membrane
[4897/39180] Fetching contextcore, wax, swift-sdk
[5948/39510] Fetching contextcore, wax, swift-sdk, membrane
Fetched https://github.com/christopherkarani/Membrane from cache (0.27s)
[7346/39180] Fetching contextcore, wax, swift-sdk
[7697/45741] Fetching contextcore, wax, swift-sdk, swift-log
[18106/120713] Fetching contextcore, wax, swift-sdk, swift-log, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (0.56s)
[13693/114152] Fetching contextcore, wax, swift-sdk, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.89s)
[37583/39180] Fetching contextcore, wax, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (10.90s)
Fetched https://github.com/christopherkarani/ContextCore.git from cache (10.90s)
Fetched https://github.com/christopherkarani/Wax.git from cache (11.35s)
Computing version for https://github.com/christopherkarani/Hive
Computed https://github.com/christopherkarani/Hive at 0.1.9 (12.26s)
Computing version for https://github.com/christopherkarani/Membrane
Computed https://github.com/christopherkarani/Membrane at 0.1.3 (0.76s)
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.80s)
Computing version for https://github.com/christopherkarani/ContextCore.git
Computed https://github.com/christopherkarani/ContextCore.git at 1.0.0 (2.37s)
Fetching https://github.com/christopherkarani/MetalANNS.git
[1/1666] Fetching metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (0.53s)
Computing version for https://github.com/christopherkarani/Conduit
Computed https://github.com/christopherkarani/Conduit at 0.3.13 (1.53s)
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-numerics
[1/6236] Fetching swift-transformers
[64/12652] Fetching swift-transformers, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.37s)
Fetched https://github.com/huggingface/swift-transformers from cache (1.38s)
Computing version for https://github.com/christopherkarani/Wax.git
Computed https://github.com/christopherkarani/Wax.git at 0.1.19 (2.25s)
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/17723] Fetching usearch
[2305/35057] Fetching usearch, swift-crypto
[13803/148690] Fetching usearch, swift-crypto, grdb.swift
Fetched https://github.com/apple/swift-crypto.git from cache (5.00s)
[56359/131356] Fetching usearch, grdb.swift
Fetched https://github.com/unum-cloud/USearch.git from cache (14.04s)
Fetched https://github.com/groue/GRDB.swift.git from cache (14.49s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.1.3 (16.91s)
Computing version for https://github.com/unum-cloud/USearch.git
Computed https://github.com/unum-cloud/USearch.git at 2.24.0 (0.48s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0 (0.46s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[5873/89011] Fetching eventsource, swift-system, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (7.65s)
Fetched https://github.com/apple/swift-system.git from cache (7.66s)
Fetched https://github.com/apple/swift-nio.git from cache (7.78s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (8.26s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (2.85s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (0.41s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.39s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.44s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (0.50s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
[1/1051] Fetching swift-jinja
[1000/3391] Fetching swift-jinja, swift-huggingface
[3392/7829] Fetching swift-jinja, swift-huggingface, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.56s)
[2429/6778] Fetching swift-huggingface, yyjson
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.66s)
[755/4438] Fetching yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.78s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (4.57s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (2.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.83s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (2.08s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (1.86s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.47s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.69s)
Fetching https://github.com/apple/swift-asn1.git
[1/1796] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.80s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.97s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.01s)
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/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/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/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/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.1.3
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/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/Membrane
Working copy of https://github.com/christopherkarani/Membrane resolved at 0.1.3
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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.4
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/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/christopherkarani/ContextCore.git
Working copy of https://github.com/christopherkarani/ContextCore.git resolved at 1.0.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/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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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/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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.50s)
Building for debugging...
[0/965] Write swift-version--11D90AFD9DD3AB2.txt
[1/965] Write sources
[3/965] Copying t5_tokenizer_config.json
[5/965] Copying gpt2_tokenizer_config.json
[6/965] Compiling _NumericsShims _NumericsShims.c
[7/965] Write sources
[12/965] Copying TopKReduction.metal
[13/965] Copying CosineDistance.metal
[14/965] Copying bert_tokenizer_vocab.txt
[15/965] Copying cl100k_base.tiktoken
[16/965] Write sources
[17/965] Compiling _AtomicsShims.c
[18/965] Write sources
[22/965] Copying all-MiniLM-L6-v2.mlmodelc
[22/965] 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.
[25/994] Compiling WaxCoreCompressionC wax_compression_shims.c
[25/1011] Compiling USearchC lib.cpp
[25/1014] Compiling yyjson.c
BUILD FAILURE 6.2 android