The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Swarm, reference main (402cab), with Swift 6.3 for Wasm on 1 May 2026 04:53:26 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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/Swarm.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/christopherkarani/Swarm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 402caba Merge pull request #79 from NickTrienens2025/fix/async-let-crash
Cloned https://github.com/christopherkarani/Swarm.git
Revision (git rev-parse @):
402caba180784fa7bd309cd4c2f43ab7d9a39c7f
SUCCESS checkout https://github.com/christopherkarani/Swarm.git at main
========================================
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-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: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/christopherkarani/Membrane
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/2028] Fetching hive
[22/37189] Fetching hive, wax
[43/37939] Fetching hive, wax, contextcore
[148/38273] Fetching hive, wax, contextcore, membrane
[2130/41741] Fetching hive, wax, contextcore, membrane, conduit
Fetching https://github.com/open-telemetry/opentelemetry-swift-core.git
Fetched https://github.com/christopherkarani/Conduit from cache (1.85s)
[11903/38273] Fetching hive, wax, contextcore, membrane
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[14717/52318] Fetching hive, wax, contextcore, membrane, opentelemetry-swift-core
[27223/55838] Fetching hive, wax, contextcore, membrane, opentelemetry-swift-core, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.63s)
Fetching https://github.com/apple/swift-log.git
[37551/52318] Fetching hive, wax, contextcore, membrane, opentelemetry-swift-core
Fetched https://github.com/open-telemetry/opentelemetry-swift-core.git from cache (0.73s)
Fetching https://github.com/swiftlang/swift-syntax.git
[23857/38273] Fetching hive, wax, contextcore, membrane
[29133/45082] Fetching hive, wax, contextcore, membrane, swift-log
[38403/120119] Fetching hive, wax, contextcore, membrane, swift-log, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
Fetching https://github.com/scinfu/SwiftSoup.git
[36400/113310] Fetching hive, wax, contextcore, membrane, swift-syntax
[44389/119239] Fetching hive, wax, contextcore, membrane, swift-syntax, swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git from cache (0.70s)
[54893/113310] Fetching hive, wax, contextcore, membrane, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.01s)
[37570/38273] Fetching hive, wax, contextcore, membrane
Fetched https://github.com/christopherkarani/Membrane from cache (12.76s)
Fetched https://github.com/christopherkarani/ContextCore.git from cache (12.76s)
Fetched https://github.com/christopherkarani/Hive from cache (12.80s)
Fetched https://github.com/christopherkarani/Wax.git from cache (13.08s)
Computing version for https://github.com/christopherkarani/Hive
Computed https://github.com/christopherkarani/Hive at 0.1.9 (14.67s)
Computing version for https://github.com/christopherkarani/Membrane
Computed https://github.com/christopherkarani/Membrane at 0.1.3 (0.50s)
Fetching https://github.com/apple/swift-collections.git
[1/23894] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.35s)
Computing version for https://github.com/christopherkarani/ContextCore.git
Computed https://github.com/christopherkarani/ContextCore.git at 1.0.0 (1.71s)
Fetching https://github.com/christopherkarani/MetalANNS.git
[1/1699] Fetching metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (0.32s)
Computing version for https://github.com/christopherkarani/Conduit
Computed https://github.com/christopherkarani/Conduit at 0.3.14 (0.93s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/huggingface/swift-transformers
[1/6266] Fetching swift-transformers
[315/12682] Fetching swift-transformers, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.70s)
Fetched https://github.com/huggingface/swift-transformers from cache (0.71s)
Computing version for https://github.com/christopherkarani/Wax.git
Computed https://github.com/christopherkarani/Wax.git at 0.1.19 (1.21s)
Fetching https://github.com/unum-cloud/USearch.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/groue/GRDB.swift.git
[1/17904] Fetching usearch
[1971/35361] Fetching usearch, swift-crypto
[17870/148994] Fetching usearch, swift-crypto, grdb.swift
Fetched https://github.com/unum-cloud/USearch.git from cache (18.14s)
Fetched https://github.com/apple/swift-crypto.git from cache (18.17s)
Fetched https://github.com/groue/GRDB.swift.git from cache (18.49s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.1.3 (19.21s)
Computing version for https://github.com/open-telemetry/opentelemetry-swift-core.git
Computed https://github.com/open-telemetry/opentelemetry-swift-core.git at 2.4.1 (0.47s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.83s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0 (0.40s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
[272/83501] Fetching eventsource, swift-nio
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/mattt/eventsource.git from cache (6.78s)
Fetched https://github.com/apple/swift-nio.git from cache (6.89s)
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.78s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (7.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.39s)
Computing version for https://github.com/unum-cloud/USearch.git
Computed https://github.com/unum-cloud/USearch.git at 2.25.1 (0.40s)
Fetching https://github.com/ashvardanian/NumKong
[1/24794] Fetching numkong
Fetched https://github.com/ashvardanian/NumKong from cache (2.30s)
Computing version for https://github.com/ashvardanian/NumKong
Computed https://github.com/ashvardanian/NumKong at 7.6.0 (3.10s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (2.38s)
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.39s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (0.44s)
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
[1/1051] Fetching swift-jinja
[128/3391] Fetching swift-jinja, swift-huggingface
[3392/7834] Fetching swift-jinja, swift-huggingface, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.98s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.98s)
Fetched https://github.com/ibireme/yyjson.git from cache (0.98s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.43s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (4.69s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (3.63s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.98s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.62s)
Fetching https://github.com/apple/swift-asn1.git
[1/1813] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.80s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.37s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.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/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/Membrane
Working copy of https://github.com/christopherkarani/Membrane resolved at 0.1.3
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/unum-cloud/USearch.git
Working copy of https://github.com/unum-cloud/USearch.git resolved at 2.25.1
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/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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/open-telemetry/opentelemetry-swift-core.git
Working copy of https://github.com/open-telemetry/opentelemetry-swift-core.git resolved at 2.4.1
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/Conduit
Working copy of https://github.com/christopherkarani/Conduit resolved at 0.3.14
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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.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
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/ashvardanian/NumKong
Working copy of https://github.com/ashvardanian/NumKong resolved at 7.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.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/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/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.39s)
Building for debugging...
[0/994] Write sources
[8/994] Copying gpt2_tokenizer_config.json
[8/994] Copying t5_tokenizer_config.json
[10/994] Copying TopKReduction.metal
[10/994] Copying CosineDistance.metal
[12/994] Copying bert_tokenizer_vocab.txt
[13/994] Copying cl100k_base.tiktoken
[14/994] Write sources
[21/994] Compiling _NumericsShims _NumericsShims.c
[22/994] Write sources
[24/994] Compiling _AtomicsShims.c
[25/994] Write sources
[29/994] Copying all-MiniLM-L6-v2.mlmodelc
/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.
[30/994] Compiling WaxCoreCompressionC wax_compression_shims.c
[30/994] Compiling yyjson.c
[30/994] Compiling USearchC lib.cpp
[30/994] Write sources
BUILD FAILURE 6.3 wasm