This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.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:             6.0
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-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
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
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/weights/weight.bin
    /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
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/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
    /host/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/weights/weight.bin
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'
 7 |
 8 | import Foundation
 9 | import CoreML
   |        `- error: no such module 'CoreML'
10 | import NaturalLanguage
11 | import Combine
[8/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
[9/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
[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 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
[13/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
[14/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
[15/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
[16/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
[17/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
[18/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
[19/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
[20/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
[21/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
[22/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
[23/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
[24/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
[25/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
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.