Build Information
Failed to build SimilaritySearchKit with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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/J1XnyXFH/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: 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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "similarity-search-kit",
"name": "SimilaritySearchKit",
"url": "https://github.com/buhe/similarity-search-kit.git",
"version": "unspecified",
"path": "/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/similarity-search-kit",
"dependencies": [
]
}
]
}
Fetching https://github.com/buhe/similarity-search-kit.git
[1/494] Fetching similarity-search-kit
Fetched https://github.com/buhe/similarity-search-kit.git (25.85s)
Creating working copy for https://github.com/buhe/similarity-search-kit.git
Working copy of https://github.com/buhe/similarity-search-kit.git resolved at main
warning: '.resolve-product-dependencies': dependency 'similarity-search-kit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $workDir
https://github.com/buhe/similarity-search-kit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying bert_tokenizer_vocab.txt
[2/18] Emitting module SimilaritySearchKit
[3/20] Compiling SimilaritySearchKit VectorStoreProtocol.swift
[4/20] Compiling SimilaritySearchKit resource_bundle_accessor.swift
[5/20] Compiling SimilaritySearchKit JsonStore.swift
[6/20] Compiling SimilaritySearchKit MLModelStore.swift
[7/20] Compiling SimilaritySearchKit SimilarityIndex.swift
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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 }
^
[8/20] Compiling SimilaritySearchKit BinaryStore.swift
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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 }
^
[9/20] Compiling SimilaritySearchKit TopK.swift
[10/20] Compiling SimilaritySearchKit NativeContextualEmbeddings.swift
[11/20] Compiling SimilaritySearchKit NativeEmbeddings.swift
[12/20] Compiling SimilaritySearchKit CharacterSplitter.swift
[13/20] Compiling SimilaritySearchKit RecursiveCharacterSplitter.swift
[14/20] Compiling SimilaritySearchKit RecursiveTokenSplitter.swift
[15/20] Compiling SimilaritySearchKit TokenSplitter.swift
[16/20] Compiling SimilaritySearchKit BertTokenizer.swift
[17/20] Compiling SimilaritySearchKit NativeTokenizer.swift
[18/20] Compiling SimilaritySearchKit EmbeddingProtocols.swift
[19/20] Compiling SimilaritySearchKit Files.swift
[20/20] Compiling SimilaritySearchKit DistanceMetrics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/26] Emitting module SimilaritySearchKitDistilbert
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/26] Emitting module SimilaritySearchKitMiniLMMultiQA
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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
^
[24/26] Compiling SimilaritySearchKitMiniLMMultiQA MiniLMMultiQAEmbeddings.swift
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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)
[25/26] Emitting module SimilaritySearchKitMiniLMAll
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Manifest.json
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/model.mlmodel
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Manifest.json
/Users/admin/builds/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.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
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/6] Emitting module SimilaritySearchKitMiniLMAll
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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] Emitting module SimilaritySearchKitDistilbert
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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
^
[3/6] Compiling SimilaritySearchKitMiniLMAll MiniLMAllEmbeddings.swift
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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)
^~~~~~~~~~~~~~~~~~~~~
[4/6] Compiling SimilaritySearchKitDistilbert DistilbertEmbeddings.swift
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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: fatalError
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module SimilaritySearchKitMiniLMMultiQA
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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
^
[6/6] Compiling SimilaritySearchKitMiniLMMultiQA MiniLMMultiQAEmbeddings.swift
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMMultiQA/multi-qa-MiniLM-L6-cos-v1.mlpackage/Manifest.json
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Manifest.json
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.mlpackage/Data/com.apple.CoreML/model.mlmodel
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SimilaritySearchKit/AddOns/Embeddings/MiniLMAll/all-MiniLM-L6-v2.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
/Users/admin/builds/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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/J1XnyXFH/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
BUILD FAILURE 5.9 macosSpm