The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Wax, reference main (8d6721), with Swift 6.4 for Linux on 28 Sep 2026 04:40:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/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: 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/Wax
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8d67215 fix(release): Homebrew sha256 for waxmcp-v0.1.50
Cloned https://github.com/christopherkarani/Wax.git
Revision (git rev-parse @):
8d6721506d597d541ffe923fdb11c0b9ec4ab3e6
SUCCESS checkout https://github.com/christopherkarani/Wax.git at main
========================================
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-53886770-0":/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/swiftlang/swift-testing
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/groue/GRDB.swift.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/8165] Fetching swift-log
[3104/26727] Fetching swift-log, swift-crypto
[6861/29072] Fetching swift-log, swift-crypto, swift-docc-plugin
[9144/143066] Fetching swift-log, swift-crypto, swift-docc-plugin, grdb.swift
[17511/162013] Fetching swift-log, swift-crypto, swift-docc-plugin, grdb.swift, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin (0.61s)
[18760/159668] Fetching swift-log, swift-crypto, grdb.swift, swift-argument-parser
Fetching https://github.com/christopherkarani/MetalANNS.git
[42438/203500] Fetching swift-log, swift-crypto, grdb.swift, swift-argument-parser, swift-testing
Fetched https://github.com/apple/swift-log.git (0.96s)
[46319/195335] Fetching swift-crypto, grdb.swift, swift-argument-parser, swift-testing
[100494/197904] Fetching swift-crypto, grdb.swift, swift-argument-parser, swift-testing, metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git (0.98s)
[115540/195335] Fetching swift-crypto, grdb.swift, swift-argument-parser, swift-testing
Fetched https://github.com/apple/swift-argument-parser.git (10.97s)
Fetched https://github.com/apple/swift-crypto.git (10.98s)
Fetched https://github.com/swiftlang/swift-testing (10.99s)
Fetched https://github.com/groue/GRDB.swift.git (11.09s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.3.0 (11.26s)
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.47s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.65s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3831] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.81s)
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.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.75s)
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/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/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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit 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/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.3.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.3
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-testing
Working copy of https://github.com/swiftlang/swift-testing resolved at 0.99.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.15.1
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 944]
[Planning 573 / 944]
[Planning deferred tasks]
[Starting]
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'
[159 / 639] Wax_WaxVectorSearchMiniLM
/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