Build Information
Failed to build Swarm, reference 0.5.1 (eeaa05), with Swift 6.3 for Wasm on 13 Apr 2026 20:48:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 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: wasm
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-4609320-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/christopherkarani/ContextCore.git
Fetching https://github.com/christopherkarani/Membrane
Fetching https://github.com/christopherkarani/Hive
Fetching https://github.com/christopherkarani/Conduit
Fetching https://github.com/christopherkarani/Wax.git
[1/3415] Fetching conduit
[548/9344] Fetching conduit, swiftsoup
[642/9674] Fetching conduit, swiftsoup, membrane
[863/11555] Fetching conduit, swiftsoup, membrane, hive
[1633/12305] Fetching conduit, swiftsoup, membrane, hive, contextcore
[3054/47288] Fetching conduit, swiftsoup, membrane, hive, contextcore, wax
Fetched https://github.com/scinfu/SwiftSoup.git from cache (1.36s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[3255/41359] Fetching conduit, membrane, hive, contextcore, wax
[4614/44806] Fetching conduit, membrane, hive, contextcore, wax, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.98s)
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/christopherkarani/Conduit from cache (2.38s)
Fetching https://github.com/swiftlang/swift-syntax.git
[3403/37944] Fetching membrane, hive, contextcore, wax
Fetched https://github.com/christopherkarani/Membrane from cache (2.53s)
Fetched https://github.com/christopherkarani/ContextCore.git from cache (2.55s)
[2581/36864] Fetching hive, wax
Fetched https://github.com/christopherkarani/Hive from cache (2.63s)
[1050/34983] Fetching wax
[2800/41544] Fetching wax, swift-log
[14958/116516] Fetching wax, swift-log, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (1.05s)
[10946/109955] Fetching wax, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (10.98s)
[33314/34983] Fetching wax
Fetched https://github.com/christopherkarani/Wax.git from cache (19.11s)
Computing version for https://github.com/christopherkarani/Hive
Computed https://github.com/christopherkarani/Hive at 0.1.9 (19.98s)
Computing version for https://github.com/christopherkarani/Membrane
Computed https://github.com/christopherkarani/Membrane at 0.1.3 (0.89s)
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.15s)
Computing version for https://github.com/christopherkarani/ContextCore.git
Computed https://github.com/christopherkarani/ContextCore.git at 1.0.0 (2.89s)
Fetching https://github.com/christopherkarani/MetalANNS.git
[1/1666] Fetching metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (0.56s)
Computing version for https://github.com/christopherkarani/Conduit
Computed https://github.com/christopherkarani/Conduit at 0.3.13 (1.62s)
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-numerics
[1/6236] Fetching swift-transformers
[313/12652] Fetching swift-transformers, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.88s)
[2245/6236] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers from cache (1.37s)
Computing version for https://github.com/christopherkarani/Wax.git
Computed https://github.com/christopherkarani/Wax.git at 0.1.19 (2.28s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/groue/GRDB.swift.git
[1/17334] Fetching swift-crypto
[1388/130967] Fetching swift-crypto, grdb.swift
Fetching https://github.com/unum-cloud/USearch.git
Fetched https://github.com/apple/swift-crypto.git from cache (3.74s)
[30681/113633] Fetching grdb.swift
[30974/131356] Fetching grdb.swift, usearch
Fetched https://github.com/unum-cloud/USearch.git from cache (2.27s)
[36363/113633] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (24.87s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.1.3 (27.69s)
Computing version for https://github.com/unum-cloud/USearch.git
Computed https://github.com/unum-cloud/USearch.git at 2.24.0 (0.99s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0 (0.73s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.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.83s)
[1/83139] Fetching swift-nio
Fetched https://github.com/apple/swift-system.git from cache (9.30s)
Fetched https://github.com/apple/swift-nio.git from cache (9.68s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (11.34s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.10s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (0.64s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.54s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.89s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (1.75s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
[1/2340] Fetching swift-huggingface
[142/3391] Fetching swift-huggingface, swift-jinja
[3392/7829] Fetching swift-huggingface, swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.86s)
[2917/6778] Fetching swift-huggingface, yyjson
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.51s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.53s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.03s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.79s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (0.68s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.41s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.51s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.56s)
Fetching https://github.com/apple/swift-asn1.git
[1/1796] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (1.07s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.02s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.26s)
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/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.1.3
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/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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.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/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/christopherkarani/Wax.git
Working copy of https://github.com/christopherkarani/Wax.git resolved at 0.1.19
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/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/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/christopherkarani/Membrane
Working copy of https://github.com/christopherkarani/Membrane resolved at 0.1.3
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/christopherkarani/Conduit
Working copy of https://github.com/christopherkarani/Conduit resolved at 0.3.13
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/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/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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.4
Building for debugging...
[0/994] Write sources
[7/994] Copying t5_tokenizer_config.json
[7/994] Copying gpt2_tokenizer_config.json
[9/994] Write sources
[9/994] Copying TopKReduction.metal
[9/994] Copying CosineDistance.metal
[9/994] Copying bert_tokenizer_vocab.txt
[13/994] Copying cl100k_base.tiktoken
[14/994] Write sources
[17/994] Compiling _SwiftSyntaxCShims dummy.c
[18/994] Compiling _NumericsShims _NumericsShims.c
[19/994] Write sources
[22/994] Compiling _AtomicsShims.c
[23/994] Write sources
[26/994] Copying all-MiniLM-L6-v2.mlmodelc
[27/994] Write sources
[35/994] Write swift-version-24593BA9C3E375BF.txt
[35/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.
[44/994] Compiling WaxCoreCompressionC wax_compression_shims.c
[44/994] Compiling yyjson.c
[44/994] Compiling USearchC lib.cpp
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm