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.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/buhe/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/buhe/similarity-search-kit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 39bbd0b "Refactor loadIndex method to assign loaded index items directly to indexItems variable."
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/buhe/similarity-search-kit.git
Revision (git rev-parse @):
39bbd0b5c2662728792ee9be132212e5fd4a49e2
SUCCESS checkout https://github.com/buhe/similarity-search-kit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/buhe/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.8-latest swift build 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/model.mlmodel
    /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/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/Metadata.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/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/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/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/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
    /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/weights/weight.bin
Building for debugging...
[0/1] Copying bert_tokenizer_vocab.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/18] Emitting module SimilaritySearchKit
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[3/20] Compiling SimilaritySearchKit CharacterSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[4/20] Compiling SimilaritySearchKit RecursiveCharacterSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[5/20] Compiling SimilaritySearchKit JsonStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[6/20] Compiling SimilaritySearchKit MLModelStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[7/20] Compiling SimilaritySearchKit RecursiveTokenSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[8/20] Compiling SimilaritySearchKit TokenSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[9/20] Compiling SimilaritySearchKit BertTokenizer.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[10/20] Compiling SimilaritySearchKit NativeTokenizer.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[11/20] Compiling SimilaritySearchKit VectorStoreProtocol.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[12/20] 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
       ^
[13/20] Compiling SimilaritySearchKit SimilarityIndex.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[14/20] Compiling SimilaritySearchKit BinaryStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[15/20] Compiling SimilaritySearchKit EmbeddingProtocols.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[16/20] Compiling SimilaritySearchKit Files.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[17/20] Compiling SimilaritySearchKit DistanceMetrics.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[18/20] Compiling SimilaritySearchKit TopK.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[19/20] Compiling SimilaritySearchKit NativeContextualEmbeddings.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[20/20] Compiling SimilaritySearchKit NativeEmbeddings.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
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/weights/weight.bin
    /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/Data/com.apple.CoreML/model.mlmodel
    /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/FeatureDescriptions.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/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/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
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/Data/com.apple.CoreML/model.mlmodel
    /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
[0/1] Planning build
Building for debugging...
[1/17] Compiling SimilaritySearchKit RecursiveTokenSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[2/17] Compiling SimilaritySearchKit TokenSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[3/19] Compiling SimilaritySearchKit JsonStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[4/19] Compiling SimilaritySearchKit MLModelStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/19] Emitting module SimilaritySearchKit
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[6/19] Compiling SimilaritySearchKit CharacterSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[7/19] Compiling SimilaritySearchKit RecursiveCharacterSplitter.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[8/19] Compiling SimilaritySearchKit VectorStoreProtocol.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[9/19] 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/19] Compiling SimilaritySearchKit BertTokenizer.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[11/19] Compiling SimilaritySearchKit NativeTokenizer.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[12/19] Compiling SimilaritySearchKit SimilarityIndex.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[13/19] Compiling SimilaritySearchKit BinaryStore.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[14/19] Compiling SimilaritySearchKit EmbeddingProtocols.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[15/19] Compiling SimilaritySearchKit Files.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[16/19] Compiling SimilaritySearchKit DistanceMetrics.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[17/19] Compiling SimilaritySearchKit TopK.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[18/19] Compiling SimilaritySearchKit NativeContextualEmbeddings.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
[19/19] Compiling SimilaritySearchKit NativeEmbeddings.swift
/host/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:9:8: error: no such module 'CoreML'
import CoreML
       ^
BUILD FAILURE 5.8 linux