Build Information
Failed to build SimilaritySearchKit, reference main (9bec54
), with Swift 6.0 for Linux on 5 Nov 2024 03:54:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZachNagengast/similarity-search-kit.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/ZachNagengast/similarity-search-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9bec547 Formatting, and replace precondition with default value to prevent crashing
Updating files: 69% (76/109)
Updating files: 70% (77/109)
Updating files: 71% (78/109)
Updating files: 72% (79/109)
Updating files: 73% (80/109)
Updating files: 74% (81/109)
Updating files: 75% (82/109)
Updating files: 76% (83/109)
Updating files: 77% (84/109)
Updating files: 78% (86/109)
Updating files: 79% (87/109)
Updating files: 80% (88/109)
Updating files: 81% (89/109)
Updating files: 82% (90/109)
Updating files: 83% (91/109)
Updating files: 84% (92/109)
Updating files: 85% (93/109)
Updating files: 86% (94/109)
Updating files: 87% (95/109)
Updating files: 88% (96/109)
Updating files: 89% (98/109)
Updating files: 90% (99/109)
Updating files: 91% (100/109)
Updating files: 92% (101/109)
Updating files: 93% (102/109)
Updating files: 94% (103/109)
Updating files: 95% (104/109)
Updating files: 96% (105/109)
Updating files: 97% (106/109)
Updating files: 98% (107/109)
Updating files: 99% (108/109)
Updating files: 100% (109/109)
Updating files: 100% (109/109), done.
Cloned https://github.com/ZachNagengast/similarity-search-kit.git
Revision (git rev-parse @):
9bec54706c8124bb9b20a3a06d566066a9f55712
SUCCESS checkout https://github.com/ZachNagengast/similarity-search-kit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/ZachNagengast/similarity-search-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 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
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/Metadata.json
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Manifest.json
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/weights/weight.bin
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/model.mlmodel
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/model.mlmodel
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/Metadata.json
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/weights/weight.bin
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Manifest.json
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/Metadata.json
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Manifest.json
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/weights/weight.bin
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/model.mlmodel
/host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
Building for debugging...
[0/6] Write sources
[2/6] Copying bert_tokenizer_vocab.txt
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/23] Emitting module SimilaritySearchKit
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[8/25] Compiling SimilaritySearchKit VectorStoreProtocol.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[9/25] Compiling SimilaritySearchKit resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[10/25] Compiling SimilaritySearchKit SimilarityIndex.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[11/25] Compiling SimilaritySearchKit BinaryStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[12/25] Compiling SimilaritySearchKit CharacterSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[13/25] Compiling SimilaritySearchKit RecursiveCharacterSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[14/25] Compiling SimilaritySearchKit JsonStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[15/25] Compiling SimilaritySearchKit MLModelStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[16/25] Compiling SimilaritySearchKit BertTokenizer.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[17/25] Compiling SimilaritySearchKit NativeTokenizer.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[18/25] Compiling SimilaritySearchKit EmbeddingProtocols.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[19/25] Compiling SimilaritySearchKit Files.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[20/25] Compiling SimilaritySearchKit DistanceMetrics.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[21/25] Compiling SimilaritySearchKit RecursiveTokenSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[22/25] Compiling SimilaritySearchKit TokenSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[23/25] Compiling SimilaritySearchKit TopK.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[24/25] Compiling SimilaritySearchKit NativeContextualEmbeddings.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[25/25] Compiling SimilaritySearchKit NativeEmbeddings.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
7 |
8 | import Foundation
9 | import CoreML
| `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
BUILD FAILURE 6.0 linux