The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Wax, reference 0.1.47 (e4587f), with Swift 6.4 for Linux on 28 Sep 2026 04:40:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/Wax.git
Reference: 0.1.47
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/Wax
 * tag               0.1.47     -> FETCH_HEAD
HEAD is now at e4587f8 release: waxmcp v0.1.47
Cloned https://github.com/christopherkarani/Wax.git
Revision (git rev-parse @):
e4587f8cebb76aa92ece008253f13c66b756e68b
SUCCESS checkout https://github.com/christopherkarani/Wax.git at 0.1.47
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/christopherkarani/Wax.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/groue/GRDB.swift.git
Fetching https://github.com/swiftlang/swift-testing
Fetching https://github.com/apple/swift-argument-parser.git
[1/8165] Fetching swift-log
[491/10510] Fetching swift-log, swift-docc-plugin
[7667/29072] Fetching swift-log, swift-docc-plugin, swift-crypto
[9805/48019] Fetching swift-log, swift-docc-plugin, swift-crypto, swift-argument-parser
[14475/162013] Fetching swift-log, swift-docc-plugin, swift-crypto, swift-argument-parser, grdb.swift
[44040/205845] Fetching swift-log, swift-docc-plugin, swift-crypto, swift-argument-parser, grdb.swift, swift-testing
Fetched https://github.com/apple/swift-argument-parser.git (0.94s)
Fetching https://github.com/christopherkarani/MetalANNS.git
[29790/186898] Fetching swift-log, swift-docc-plugin, swift-crypto, grdb.swift, swift-testing
[104824/189467] Fetching swift-log, swift-docc-plugin, swift-crypto, grdb.swift, swift-testing, metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git (0.64s)
Fetched https://github.com/apple/swift-crypto.git (1.65s)
[88541/168336] Fetching swift-log, swift-docc-plugin, grdb.swift, swift-testing
Fetched https://github.com/swiftlang/swift-testing (1.75s)
[45849/124504] Fetching swift-log, swift-docc-plugin, grdb.swift
Fetched https://github.com/swiftlang/swift-docc-plugin (9.87s)
Fetched https://github.com/apple/swift-log.git (9.87s)
Fetched https://github.com/groue/GRDB.swift.git (9.98s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.3.0 (10.16s)
Computing version for https://github.com/swiftlang/swift-testing
Computed https://github.com/swiftlang/swift-testing at 0.99.0 (0.21s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80069] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.28s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.47s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.20s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.78s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.17s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.11.1 (1.09s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.26s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.44s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.20s)
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.3
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.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.11.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.15.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
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/swiftlang/swift-testing
Working copy of https://github.com/swiftlang/swift-testing resolved at 0.99.0
Creating working copy for https://github.com/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.3.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 944]
[Planning deferred tasks]
[Constructing 1842 / 2244]
warning: no rule to process file '/host/spi-builder-workspace/Sources/WaxVectorSearch/Shaders/CosineDistance.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/Sources/WaxVectorSearch/Shaders/TopKReduction.metal' of type 'sourcecode.metal' for architecture 'x86_64'
[82 / 639] WaxBertTokenizer
[157 / 639] Wax_WaxCoreTests
/host/spi-builder-workspace/Sources/WaxCoreCompressionC/wax_compression_shims.c:3:10: fatal error: 'lz4.h' file not found
    3 | #include <lz4.h>
      |          ^~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wax.build/Debug-linux-x86_64/WaxCoreCompressionC-t.build/Objects-normal/x86_64/wax_compression_shims.o /host/spi-builder-workspace/Sources/WaxCoreCompressionC/wax_compression_shims.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wax.build/Debug-linux-x86_64/WaxCoreCompressionC-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /usr/bin/clang -x c -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/Wax.build/Debug-linux-x86_64/WaxCoreCompressionC-t.build/Objects-normal/x86_64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wax.build/Debug-linux-x86_64/WaxCoreCompressionC-t.build/Objects-normal/x86_64/wax_compression_shims.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wax.build/Debug-linux-x86_64/WaxCoreCompressionC-t.build/Objects-normal/x86_64/wax_compression_shims.dia -c /host/spi-builder-workspace/Sources/WaxCoreCompressionC/wax_compression_shims.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wax.build/Debug-linux-x86_64/WaxCoreCompressionC-t.build/Objects-normal/x86_64/wax_compression_shims.o
error: Build failed
BUILD FAILURE 6.4 linux