Build Information
Failed to build swift-faiss, reference main (2a4f50
), with Swift 6.0 for Linux on 30 Nov 2024 14:04:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/SwiftFaiss.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/jkrukowski/SwiftFaiss
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2a4f50f updated readme
Cloned https://github.com/jkrukowski/SwiftFaiss.git
Revision (git rev-parse @):
2a4f50fe7995ba8746e74fa0c434e0636cf3520d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jkrukowski/SwiftFaiss.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/jkrukowski/SwiftFaiss.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-log
Fetching https://github.com/jkrukowski/FaissMobile
Fetching https://github.com/nicklockwood/SwiftFormat
[1/6] Fetching faissmobile
[5/3729] Fetching faissmobile, swift-log
[3728/16124] Fetching faissmobile, swift-log, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.11s)
[3728/49507] Fetching faissmobile, swift-log, swiftformat
Fetched https://github.com/jkrukowski/FaissMobile from cache (29.32s)
Fetched https://github.com/apple/swift-log from cache (29.32s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (29.98s)
Computing version for https://github.com/jkrukowski/FaissMobile
Computed https://github.com/jkrukowski/FaissMobile at 0.0.1 (5.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.75s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.2 (0.50s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.3 (2.63s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.2
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.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.3
Creating working copy for https://github.com/jkrukowski/FaissMobile
Working copy of https://github.com/jkrukowski/FaissMobile resolved at 0.0.1
[1369/12549889] Downloading https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss_c.xcframework.zip
[4324547/182918512] Downloading https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss_c.xcframework.zip, https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip
[5651688/201579463] Downloading https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss_c.xcframework.zip, 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
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
Downloaded https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss_c.xcframework.zip (1.85s)
[165902672/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
Downloading binary artifact https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip
Downloaded https://github.com/DeveloperMindset-com/openmp-mobile/releases/download/v16.0.5/openmp.xcframework.zip (2.61s)
Downloaded https://github.com/DeveloperMindset-com/faiss-mobile/releases/download/v1.7.4/faiss.xcframework.zip (18.02s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/20] Write sources
[8/20] Copying sentences.txt
[9/20] Copying embeddings.txt
[10/20] Write swift-version-24593BA9C3E375BF.txt
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.
[11/20] Compiling SwiftFaissC bridge.c
BUILD FAILURE 6.0 linux