Build Information
Failed to build Membrane, reference main (538bc2), with Swift 6.2 for Linux on 27 Mar 2026 03:37:14 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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/Membrane.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/Membrane
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 538bc25 merge: release Membrane 0.1.3
Cloned https://github.com/christopherkarani/Membrane.git
Revision (git rev-parse @):
538bc256e95b44dc3c87a1fb1e40ce549df07af0
SUCCESS checkout https://github.com/christopherkarani/Membrane.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/christopherkarani/Membrane.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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:b1b7512e70c869f4e6dfc045c9cfbcecd5568d004e044b9c2b5f35ddaecd218b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/christopherkarani/ContextCore.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/christopherkarani/Wax.git
Fetching https://github.com/christopherkarani/Conduit
Fetching https://github.com/christopherkarani/Hive
[1/685] Fetching contextcore
[467/2564] Fetching contextcore, hive
[609/37348] Fetching contextcore, hive, wax
[781/60318] Fetching contextcore, hive, wax, swift-collections
[1241/63571] Fetching contextcore, hive, wax, swift-collections, conduit
Fetched https://github.com/christopherkarani/Conduit from cache (1.18s)
[26230/60318] Fetching contextcore, hive, wax, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.53s)
[7434/37348] Fetching contextcore, hive, wax
Fetched https://github.com/christopherkarani/ContextCore.git from cache (9.14s)
Fetched https://github.com/christopherkarani/Hive from cache (9.18s)
Fetched https://github.com/christopherkarani/Wax.git from cache (9.43s)
Computing version for https://github.com/christopherkarani/Wax.git
Computed https://github.com/christopherkarani/Wax.git at 0.1.19 (9.85s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/groue/GRDB.swift.git
Fetching https://github.com/christopherkarani/MetalANNS.git
Fetching https://github.com/unum-cloud/USearch.git
[1/1645] Fetching metalanns
[1646/18663] Fetching metalanns, usearch
[8113/35939] Fetching metalanns, usearch, swift-crypto
[20047/149572] Fetching metalanns, usearch, swift-crypto, grdb.swift
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (12.56s)
Fetched https://github.com/unum-cloud/USearch.git from cache (12.57s)
Fetched https://github.com/apple/swift-crypto.git from cache (12.62s)
Fetched https://github.com/groue/GRDB.swift.git from cache (12.98s)
Computing version for https://github.com/christopherkarani/Conduit
Computed https://github.com/christopherkarani/Conduit at 0.3.10 (15.53s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/apple/swift-log.git
[1/6232] Fetching swift-transformers
[438/12492] Fetching swift-transformers, swift-log
[10935/87339] Fetching swift-transformers, swift-log, swift-syntax
Fetched https://github.com/apple/swift-log.git from cache (0.88s)
[12969/81079] Fetching swift-transformers, swift-syntax
Fetched https://github.com/huggingface/swift-transformers from cache (0.89s)
[8234/74847] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.25s)
Computing version for https://github.com/christopherkarani/ContextCore.git
Computed https://github.com/christopherkarani/ContextCore.git at 1.0.0 (5.68s)
Computing version for https://github.com/christopherkarani/Hive
Computed https://github.com/christopherkarani/Hive at 0.1.9 (0.57s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.1.3 (0.43s)
Computing version for https://github.com/unum-cloud/USearch.git
Computed https://github.com/unum-cloud/USearch.git at 2.24.0 (0.43s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (3.07s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.70s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.0 (1.61s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/2329] Fetching swift-huggingface
[95/3355] Fetching swift-huggingface, swift-jinja
[3356/7762] Fetching swift-huggingface, swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.06s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.06s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.07s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.89s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.44s)
Fetching https://github.com/mattt/EventSource.git
[1/271] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.23s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.1 (1.06s)
Fetching https://github.com/apple/swift-nio.git
[1/82947] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (7.08s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.3 (0.43s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (0.55s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.11s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.6.0 (0.72s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.78s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[456/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.85s)
Fetched https://github.com/apple/swift-system.git from cache (0.85s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.33s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.41s)
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
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-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.9.0
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-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.3
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/Hive
Working copy of https://github.com/christopherkarani/Hive resolved at 0.1.9
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-transformers
Working copy of https://github.com/huggingface/swift-transformers 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.10
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/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/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/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-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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2.4-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.32s)
Building for debugging...
[0/448] Write sources
[0/448] Copying gpt2_tokenizer_config.json
[0/448] Copying TopKReduction.metal
[0/448] Copying CosineDistance.metal
[0/448] Copying t5_tokenizer_config.json
[0/448] Write sources
[18/448] Copying bert_tokenizer_vocab.txt
[20/448] Write sources
[21/448] Copying Sort.metal
[22/448] Copying SearchFloat16.metal
[23/448] Copying Search.metal
[24/448] Copying PQDistance.metal
[25/448] Copying NNDescentFloat16.metal
[26/448] Copying NNDescent.metal
[27/448] Copying HammingDistance.metal
[28/448] Copying DistanceFloat16.metal
[29/448] Copying Distance.metal
[30/448] Write sources
[32/448] Copying cl100k_base.tiktoken
[33/448] Write sources
[41/448] Copying PrivacyInfo.xcprivacy
[42/448] Copying Info.plist
[43/448] Write sources
[48/448] Copying placeholder.txt
[49/448] Copying Relevance.metal
[50/448] Copying Recency.metal
[51/448] Copying Consolidation.metal
[52/448] Copying Compression.metal
[53/448] Copying Attention.metal
[54/448] Write sources
[55/448] Copying README.md
[56/448] Write sources
[62/448] Compiling CNIOWindows shim.c
[63/448] Compiling CNIOWindows WSAStartup.c
[64/448] Compiling _AtomicsShims.c
[65/448] 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.
[66/448] Compiling WaxCoreCompressionC wax_compression_shims.c
[66/448] Compiling CNIOLinux liburing_shims.c
[66/448] Compiling CNIOOpenBSD shim.c
[66/448] Compiling yyjson.c
[66/448] Compiling CNIOLinux shim.c
[66/448] Compiling USearchC lib.cpp
[66/448] Copying all-MiniLM-L6-v2.mlmodelc
[66/448] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux