Build Information
Failed to build Swarm, reference main (402cab), with Swift 6.2 for Wasm on 1 May 2026 04:55:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.2-latest swift build --swift-sdk swift-6.2-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: 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.2
Building package at path: $PWD
https://github.com/christopherkarani/Swarm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/christopherkarani/Membrane
Fetching https://github.com/christopherkarani/Conduit
Fetching https://github.com/scinfu/SwiftSoup.git
Fetching https://github.com/christopherkarani/Wax.git
Fetching https://github.com/christopherkarani/ContextCore.git
Fetching https://github.com/christopherkarani/Hive
[1/334] Fetching membrane
[38/2362] Fetching membrane, hive
[103/3112] Fetching membrane, hive, contextcore
[1662/38273] Fetching membrane, hive, contextcore, wax
[1663/44202] Fetching membrane, hive, contextcore, wax, swiftsoup
[5532/47670] Fetching membrane, hive, contextcore, wax, swiftsoup, conduit
Fetched https://github.com/christopherkarani/Membrane from cache (2.60s)
[23779/47336] Fetching hive, contextcore, wax, swiftsoup, conduit
Fetched https://github.com/scinfu/SwiftSoup.git from cache (2.61s)
Fetching https://github.com/open-telemetry/opentelemetry-swift-core.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[18201/41407] Fetching hive, contextcore, wax, conduit
Fetched https://github.com/christopherkarani/Hive from cache (2.65s)
Fetching https://github.com/apple/swift-log.git
[17228/39379] Fetching contextcore, wax, conduit
[31293/53424] Fetching contextcore, wax, conduit, opentelemetry-swift-core
[35229/56944] Fetching contextcore, wax, conduit, opentelemetry-swift-core, swift-sdk
[35265/63753] Fetching contextcore, wax, conduit, opentelemetry-swift-core, swift-sdk, swift-log
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (1.51s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/open-telemetry/opentelemetry-swift-core.git from cache (1.53s)
Fetched https://github.com/apple/swift-log.git from cache (1.49s)
[34840/39379] Fetching contextcore, wax, conduit
[34841/114416] Fetching contextcore, wax, conduit, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (8.26s)
Fetched https://github.com/christopherkarani/ContextCore.git from cache (14.72s)
Fetched https://github.com/christopherkarani/Conduit from cache (14.76s)
Fetched https://github.com/christopherkarani/Wax.git from cache (15.08s)
Computing version for https://github.com/christopherkarani/Hive
Computed https://github.com/christopherkarani/Hive at 0.1.9 (17.33s)
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/23894] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (4.28s)
Computing version for https://github.com/christopherkarani/ContextCore.git
Computed https://github.com/christopherkarani/ContextCore.git at 1.0.0 (4.72s)
Fetching https://github.com/christopherkarani/MetalANNS.git
[1/1699] Fetching metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (0.40s)
Computing version for https://github.com/christopherkarani/Conduit
Computed https://github.com/christopherkarani/Conduit at 0.3.14 (1.44s)
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-numerics
[1/6266] Fetching swift-transformers
[2132/12682] Fetching swift-transformers, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.22s)
Fetched https://github.com/huggingface/swift-transformers from cache (1.23s)
Computing version for https://github.com/christopherkarani/Wax.git
Computed https://github.com/christopherkarani/Wax.git at 0.1.19 (1.82s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/unum-cloud/USearch.git
Fetching https://github.com/groue/GRDB.swift.git
[1/17904] Fetching usearch
[2329/35361] Fetching usearch, swift-crypto
[13045/148994] Fetching usearch, swift-crypto, grdb.swift
Fetched https://github.com/apple/swift-crypto.git from cache (3.76s)
[50858/131537] Fetching usearch, grdb.swift
Fetched https://github.com/unum-cloud/USearch.git from cache (23.00s)
Fetched https://github.com/groue/GRDB.swift.git from cache (23.42s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.1.3 (23.82s)
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.53s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.88s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.0 (0.41s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[5873/89102] Fetching eventsource, swift-system, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (11.65s)
Fetched https://github.com/apple/swift-system.git from cache (11.66s)
Fetched https://github.com/apple/swift-nio.git from cache (11.91s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.13.4 (12.82s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.93s)
Computing version for https://github.com/unum-cloud/USearch.git
Computed https://github.com/unum-cloud/USearch.git at 2.25.1 (0.77s)
Fetching https://github.com/ashvardanian/NumKong
[1/24794] Fetching numkong
Fetched https://github.com/ashvardanian/NumKong from cache (5.66s)
Computing version for https://github.com/ashvardanian/NumKong
Computed https://github.com/ashvardanian/NumKong at 7.6.0 (8.25s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.64s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.82s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (0.70s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (0.80s)
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
[329/3391] Fetching swift-huggingface, swift-jinja
[3392/7834] Fetching swift-huggingface, swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.69s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.70s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.71s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.51s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.99s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.14s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (1.01s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.86s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.21s)
Fetching https://github.com/apple/swift-asn1.git
[1/1813] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.32s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.80s)
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-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/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/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.13.4
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.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/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/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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.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/Conduit
Working copy of https://github.com/christopherkarani/Conduit resolved at 0.3.14
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/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/christopherkarani/ContextCore.git
Working copy of https://github.com/christopherkarani/ContextCore.git resolved at 1.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.43s)
Building for debugging...
[0/994] Write sources
[15/994] Compiling vpaes-armv8-win.S
[16/994] Compiling vpaes-armv8-apple.S
[17/994] Copying t5_tokenizer_config.json
[18/994] Copying gpt2_tokenizer_config.json
[19/994] Compiling vpaes-armv7-linux.S
[20/994] Write sources
[22/994] Compiling md5-586-linux.S
[23/994] Compiling vpaes-armv8-linux.S
[24/994] Copying TopKReduction.metal
[25/994] Copying CosineDistance.metal
[26/994] Copying bert_tokenizer_vocab.txt
[27/994] Compiling sha512-x86_64-apple.S
[28/994] Write sources
[31/994] Copying cl100k_base.tiktoken
[32/994] Write sources
[34/994] Compiling sha512-x86_64-linux.S
[35/994] Write sources
[43/994] Copying Sort.metal
[44/994] Copying SearchFloat16.metal
[45/994] Copying Search.metal
[46/994] Copying PQDistance.metal
[47/994] Copying NNDescentFloat16.metal
[48/994] Copying NNDescent.metal
[49/994] Copying HammingDistance.metal
[50/994] Copying DistanceFloat16.metal
[51/994] Copying Distance.metal
[52/994] Write sources
[60/994] Copying PrivacyInfo.xcprivacy
[61/994] Compiling md5-586-apple.S
[61/994] Copying Info.plist
[63/994] Write sources
[64/994] Copying placeholder.txt
[64/994] Copying Relevance.metal
[64/994] Copying Recency.metal
[64/994] Copying Consolidation.metal
[64/994] Copying Compression.metal
[64/994] Copying Attention.metal
[64/994] Copying README.md
[64/994] Write sources
[81/994] Compiling _NumericsShims _NumericsShims.c
[82/994] Compiling _AtomicsShims.c
[83/994] Compiling CNIOWindows shim.c
[84/994] Copying all-MiniLM-L6-v2.mlmodelc
[85/994] Compiling CNIOWindows WSAStartup.c
[86/994] Compiling CNIOWASI CNIOWASI.c
/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.
[87/994] Compiling WaxCoreCompressionC wax_compression_shims.c
[87/994] Compiling CNIOOpenBSD shim.c
[87/994] Compiling CNIODarwin shim.c
[87/994] Compiling USearchC lib.cpp
[87/994] Compiling CNIOLinux liburing_shims.c
[87/994] Compiling yyjson.c
[87/994] Compiling CNIOLinux shim.c
[87/994] Compiling CSystem shims.c
BUILD FAILURE 6.2 wasm