The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SimilaritySearchKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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:  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:             5.10
Building package at path:  $workDir
https://github.com/ZachNagengast/similarity-search-kit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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/FeatureDescriptions.json
    /host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.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/model.mlmodel
    /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/Manifest.json
    /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
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/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/model.mlmodel
    /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/Manifest.json
    /host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/Metadata.json
Building for debugging...
[0/6] Write sources
[4/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'
import CoreML
       ^
[8/25] Compiling SimilaritySearchKit VectorStoreProtocol.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[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'
import CoreML
       ^
[10/25] Compiling SimilaritySearchKit CharacterSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[11/25] Compiling SimilaritySearchKit RecursiveCharacterSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[12/25] Compiling SimilaritySearchKit JsonStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[13/25] Compiling SimilaritySearchKit MLModelStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[14/25] Compiling SimilaritySearchKit SimilarityIndex.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[15/25] Compiling SimilaritySearchKit BinaryStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[16/25] Compiling SimilaritySearchKit RecursiveTokenSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[17/25] Compiling SimilaritySearchKit TokenSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[18/25] Compiling SimilaritySearchKit BertTokenizer.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[19/25] Compiling SimilaritySearchKit NativeTokenizer.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[20/25] Compiling SimilaritySearchKit EmbeddingProtocols.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[21/25] Compiling SimilaritySearchKit Files.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[22/25] Compiling SimilaritySearchKit DistanceMetrics.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[23/25] Compiling SimilaritySearchKit TopK.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[24/25] Compiling SimilaritySearchKit NativeContextualEmbeddings.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[25/25] Compiling SimilaritySearchKit NativeEmbeddings.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
error: fatalError
BUILD FAILURE 5.10 linux