Build Information
Failed to build SimilaritySearchKit with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
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 /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
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: 64% (70/109)
Updating files: 65% (71/109)
Updating files: 66% (72/109)
Updating files: 67% (74/109)
Updating files: 68% (75/109)
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/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: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/buhe/similarity-search-kit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying bert_tokenizer_vocab.txt
[2/16] Emitting module SimilaritySearchKit
[3/20] Compiling SimilaritySearchKit JsonStore.swift
[4/20] Compiling SimilaritySearchKit MLModelStore.swift
[5/20] Compiling SimilaritySearchKit VectorStoreProtocol.swift
[6/20] Compiling SimilaritySearchKit resource_bundle_accessor.swift
[7/20] Compiling SimilaritySearchKit NativeEmbeddings.swift
[8/20] Compiling SimilaritySearchKit CharacterSplitter.swift
[9/20] Compiling SimilaritySearchKit RecursiveCharacterSplitter.swift
[10/20] Compiling SimilaritySearchKit RecursiveTokenSplitter.swift
[11/20] Compiling SimilaritySearchKit TokenSplitter.swift
[12/20] Compiling SimilaritySearchKit BertTokenizer.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:58: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:58: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:52:44: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
let length: Int32 = lengthData.withUnsafeBytes { $0.pointee }
^
[13/20] Compiling SimilaritySearchKit NativeTokenizer.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:58: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:58: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:52:44: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
let length: Int32 = lengthData.withUnsafeBytes { $0.pointee }
^
[14/20] Compiling SimilaritySearchKit SimilarityIndex.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:58: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:58: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:52:44: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
let length: Int32 = lengthData.withUnsafeBytes { $0.pointee }
^
[15/20] Compiling SimilaritySearchKit BinaryStore.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:31: warning: initialization of 'UnsafeBufferPointer<Int32>' results in a dangling buffer pointer
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:58: note: implicit argument conversion from 'Int32' to 'UnsafePointer<Int32>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:23:58: note: use 'withUnsafePointer' in order to explicitly convert argument to pointer valid for a defined scope
lengthData.append(UnsafeBufferPointer(start: &length, count: 1))
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Persistence/BinaryStore/BinaryStore.swift:52:44: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
let length: Int32 = lengthData.withUnsafeBytes { $0.pointee }
^
[16/20] Compiling SimilaritySearchKit EmbeddingProtocols.swift
[17/20] Compiling SimilaritySearchKit Files.swift
[18/20] Compiling SimilaritySearchKit DistanceMetrics.swift
[19/20] Compiling SimilaritySearchKit TopK.swift
[20/20] Compiling SimilaritySearchKit NativeContextualEmbeddings.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/26] Emitting module SimilaritySearchKitDistilbert
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:14:23: error: cannot find type 'msmarco_distilbert_base_tas_b_512_single_quantized' in scope
public let model: msmarco_distilbert_base_tas_b_512_single_quantized
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:13:14: error: type 'DistilbertEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class DistilbertEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
[22/26] Compiling SimilaritySearchKitDistilbert DistilbertEmbeddings.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:14:23: error: cannot find type 'msmarco_distilbert_base_tas_b_512_single_quantized' in scope
public let model: msmarco_distilbert_base_tas_b_512_single_quantized
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:13:14: error: type 'DistilbertEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class DistilbertEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:24:30: error: cannot find 'msmarco_distilbert_base_tas_b_512_single_quantized' in scope
self.model = try msmarco_distilbert_base_tas_b_512_single_quantized(configuration: modelConfig)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:25:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
} catch {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:46:29: error: cannot find 'msmarco_distilbert_base_tas_b_512_single_quantizedInput' in scope
let inputFeatures = msmarco_distilbert_base_tas_b_512_single_quantizedInput(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/26] Emitting module SimilaritySearchKitMiniLMAll
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:14:23: error: cannot find type 'all_MiniLM_L6_v2' in scope
public let model: all_MiniLM_L6_v2
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:13:14: error: type 'MiniLMEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class MiniLMEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/26] Emitting module SimilaritySearchKitMiniLMMultiQA
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:14:23: error: cannot find type 'multi_qa_MiniLM_L6_cos_v1' in scope
public let model: multi_qa_MiniLM_L6_cos_v1
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:13:14: error: type 'MultiQAMiniLMEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class MultiQAMiniLMEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:14:23: error: cannot find type 'multi_qa_MiniLM_L6_cos_v1' in scope
public let model: multi_qa_MiniLM_L6_cos_v1
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:13:14: error: type 'MultiQAMiniLMEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class MultiQAMiniLMEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:24:30: error: cannot find 'multi_qa_MiniLM_L6_cos_v1' in scope
self.model = try multi_qa_MiniLM_L6_cos_v1(configuration: modelConfig)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:25:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
} catch {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:46:29: error: cannot find 'multi_qa_MiniLM_L6_cos_v1Input' in scope
let inputFeatures = multi_qa_MiniLM_L6_cos_v1Input(input_ids: inputIds, attention_mask: attentionMask)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:14:23: error: cannot find type 'all_MiniLM_L6_v2' in scope
public let model: all_MiniLM_L6_v2
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:13:14: error: type 'MiniLMEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class MiniLMEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:24:30: error: cannot find 'all_MiniLM_L6_v2' in scope
self.model = try all_MiniLM_L6_v2(configuration: modelConfig)
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:25:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
} catch {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:46:29: error: cannot find 'all_MiniLM_L6_v2Input' in scope
let inputFeatures = all_MiniLM_L6_v2Input(input_ids: inputIds, attention_mask: attentionMask)
^~~~~~~~~~~~~~~~~~~~~
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Manifest.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/Metadata.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/model.mlmodel
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.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
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Manifest.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/Metadata.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/weights/weight.bin
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.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
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/Metadata.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/weights/weight.bin
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/model.mlmodel
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Manifest.json
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Emitting module SimilaritySearchKitMiniLMMultiQA
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:14:23: error: cannot find type 'multi_qa_MiniLM_L6_cos_v1' in scope
public let model: multi_qa_MiniLM_L6_cos_v1
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:13:14: error: type 'MultiQAMiniLMEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class MultiQAMiniLMEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
[2/6] Compiling SimilaritySearchKitMiniLMMultiQA MiniLMMultiQAEmbeddings.swift
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:14:23: error: cannot find type 'multi_qa_MiniLM_L6_cos_v1' in scope
public let model: multi_qa_MiniLM_L6_cos_v1
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:13:14: error: type 'MultiQAMiniLMEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class MultiQAMiniLMEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:24:30: error: cannot find 'multi_qa_MiniLM_L6_cos_v1' in scope
self.model = try multi_qa_MiniLM_L6_cos_v1(configuration: modelConfig)
^~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:25:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
} catch {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/MiniLMMultiQAEmbeddings.swift:46:29: error: cannot find 'multi_qa_MiniLM_L6_cos_v1Input' in scope
let inputFeatures = multi_qa_MiniLM_L6_cos_v1Input(input_ids: inputIds, attention_mask: attentionMask)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module SimilaritySearchKitDistilbert
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:14:23: error: cannot find type 'msmarco_distilbert_base_tas_b_512_single_quantized' in scope
public let model: msmarco_distilbert_base_tas_b_512_single_quantized
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:13:14: error: type 'DistilbertEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class DistilbertEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:14:23: error: cannot find type 'all_MiniLM_L6_v2' in scope
public let model: all_MiniLM_L6_v2
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:13:14: error: type 'MiniLMEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class MiniLMEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:24:30: error: cannot find 'all_MiniLM_L6_v2' in scope
self.model = try all_MiniLM_L6_v2(configuration: modelConfig)
^~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:25:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
} catch {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/MiniLMAllEmbeddings.swift:46:29: error: cannot find 'all_MiniLM_L6_v2Input' in scope
let inputFeatures = all_MiniLM_L6_v2Input(input_ids: inputIds, attention_mask: attentionMask)
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:14:23: error: cannot find type 'msmarco_distilbert_base_tas_b_512_single_quantized' in scope
public let model: msmarco_distilbert_base_tas_b_512_single_quantized
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:13:14: error: type 'DistilbertEmbeddings' does not conform to protocol 'EmbeddingsProtocol'
public class DistilbertEmbeddings: EmbeddingsProtocol {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:18:20: note: protocol requires nested type 'TokenizerType'; do you want to add it?
associatedtype TokenizerType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/Core/Embeddings/EmbeddingProtocols.swift:21:20: note: protocol requires nested type 'ModelType'; do you want to add it?
associatedtype ModelType
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:24:30: error: cannot find 'msmarco_distilbert_base_tas_b_512_single_quantized' in scope
self.model = try msmarco_distilbert_base_tas_b_512_single_quantized(configuration: modelConfig)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:25:11: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
} catch {
^
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/DistilbertEmbeddings.swift:46:29: error: cannot find 'msmarco_distilbert_base_tas_b_512_single_quantizedInput' in scope
let inputFeatures = msmarco_distilbert_base_tas_b_512_single_quantizedInput(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/model.mlmodel
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/weights/weight.bin
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Data/com.apple.CoreML/Metadata.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Manifest.json
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Manifest.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/weights/weight.bin
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/Metadata.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.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
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/Metadata.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/weights/weight.bin
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Manifest.json
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/model.mlmodel
/Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/Distilbert/msmarco_distilbert_base_tas_b_512_single_quantized.mlpackage/Data/com.apple.CoreML/FeatureDescriptions.json
BUILD FAILURE 5.8 macosSpm