Build Information
Failed to build swift-faiss, reference 0.0.8 (d3831c
), with Swift 6.2 (beta) for Linux on 21 Jun 2025 03:04:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/SwiftFaiss.git
Reference: 0.0.8
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/jkrukowski/SwiftFaiss
* tag 0.0.8 -> FETCH_HEAD
HEAD is now at d3831c1 added clustering module and example
Cloned https://github.com/jkrukowski/SwiftFaiss.git
Revision (git rev-parse @):
d3831c1e9898695ae7f680b6353e48e873d3f1d3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jkrukowski/SwiftFaiss.git at 0.0.8
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/jkrukowski/SwiftFaiss.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/jkrukowski/FaissMobile
Fetching https://github.com/apple/swift-log
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-argument-parser
[1/6] Fetching faissmobile
[5/3842] Fetching faissmobile, swift-log
[3841/19222] Fetching faissmobile, swift-log, swift-argument-parser
[15992/68163] Fetching faissmobile, swift-log, swift-argument-parser, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (1.43s)
[8245/52783] Fetching faissmobile, swift-log, swiftformat
Fetched https://github.com/jkrukowski/FaissMobile from cache (38.20s)
Fetched https://github.com/apple/swift-log from cache (38.20s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (39.15s)
Computing version for https://github.com/jkrukowski/FaissMobile
Computed https://github.com/jkrukowski/FaissMobile at 0.0.1 (39.89s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.80s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.74s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.4 (3.86s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.4
Creating working copy for https://github.com/jkrukowski/FaissMobile
Working copy of https://github.com/jkrukowski/FaissMobile resolved at 0.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Downloading binary artifact https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss_c.xcframework.zip
Downloading binary artifact https://github.com/DeveloperMindset-com/openmp-mobile/releases/download/v16.0.5/openmp.xcframework.zip
Downloading binary artifact https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip
[1397/170368623] Downloading https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip
[33238/182918512] Downloading https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip, https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss_c.xcframework.zip
[114129/201579463] Downloading https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip, https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss_c.xcframework.zip, https://github.com/DeveloperMindset-com/openmp-mobile/releases/download/v16.0.5/openmp.xcframework.zip
Downloaded https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss_c.xcframework.zip (3.17s)
[125957044/189029574] Downloading https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip, https://github.com/DeveloperMindset-com/openmp-mobile/releases/download/v16.0.5/openmp.xcframework.zip
Downloaded https://github.com/DeveloperMindset-com/openmp-mobile/releases/download/v16.0.5/openmp.xcframework.zip (4.56s)
Downloaded https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip (24.07s)
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/20] Copying sentences.txt
[2/20] Write sources
In file included from /host/spi-builder-workspace/Sources/SwiftFaissC/bridge.c:1:
/host/spi-builder-workspace/Sources/SwiftFaissC/include/bridge.h:1:10: fatal error: 'AutoTune_c.h' file not found
1 | #include "AutoTune_c.h"
| ^~~~~~~~~~~~~~
1 error generated.
[9/20] Compiling SwiftFaissC bridge.c
[9/20] Write swift-version-24593BA9C3E375BF.txt
[9/20] Copying embeddings.txt
BUILD FAILURE 6.2 linux