The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MetalANNS, reference 0.4.0 (1a8344), with Swift 6.3 for macOS (SPM) on 6 Nov 2026 06:22:42 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/MetalANNS.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/christopherkarani/MetalANNS
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 1a8344c Merge pull request #31 from christopherkarani/fix/downstream-gaps-0.4
Cloned https://github.com/christopherkarani/MetalANNS.git
Revision (git rev-parse @):
1a8344c543eda41e3f4bb9826b1fe2f3dc03eb1f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/christopherkarani/MetalANNS.git at 0.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/christopherkarani/MetalANNS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Write sources
[0/22] Write MetalANNSBenchmarks-entitlement.plist
[0/22] Write sources
[3/22] Copying Distance.metal
[5/22] Copying DistanceFloat16.metal
[6/22] Copying FlatSearch.metal
[6/22] Copying Sort.metal
[6/22] Copying SearchFloat16.metal
[6/22] Copying NNDescent.metal
[6/22] Copying PQDistance.metal
[8/22] Copying NNDescentFloat16.metal
[11/22] Copying Search.metal
[12/22] Copying HammingDistance.metal
[14/22] Copying PrivacyInfo.xcprivacy
[15/22] Copying Info.plist
[16/22] Write sources
[17/22] Write swift-version-69A768CDF2A0BEE1.txt
[18/74] Compiling MetalANNSC dots.c
[20/225] Compiling GRDB MutablePersistableRecord+Update.swift
[21/225] Compiling GRDB MutablePersistableRecord+Upsert.swift
[22/225] Compiling GRDB MutablePersistableRecord.swift
[23/225] Compiling GRDB PersistableRecord+Insert.swift
[24/225] Compiling GRDB PersistableRecord+Save.swift
[25/225] Compiling GRDB PersistableRecord+Upsert.swift
[26/225] Compiling GRDB PersistableRecord.swift
[27/225] Compiling GRDB Record.swift
[28/225] Compiling GRDB TableRecord.swift
[29/225] Compiling GRDB CaseInsensitiveIdentifier.swift
[30/225] Compiling GRDB Inflections+English.swift
[31/225] Compiling GRDB Inflections.swift
[32/225] Compiling GRDB Mutex.swift
[33/225] Compiling GRDB OnDemandFuture.swift
[34/225] Compiling GRDB OrderedDictionary.swift
[35/225] Compiling GRDB Pool.swift
[36/241] Compiling GRDB FTS3Pattern.swift
[37/241] Compiling GRDB FTS3TokenizerDescriptor.swift
[38/241] Compiling GRDB FTS4.swift
[39/241] Compiling GRDB FTS5.swift
[40/241] Compiling GRDB FTS5CustomTokenizer.swift
[41/241] Compiling GRDB FTS5Pattern.swift
[42/241] Compiling GRDB FTS5Tokenizer.swift
[43/241] Compiling GRDB FTS5TokenizerDescriptor.swift
[44/241] Compiling GRDB FTS5WrapperTokenizer.swift
[45/241] Compiling GRDB Fixits.swift
[46/241] Compiling GRDB JSONColumn.swift
[47/241] Compiling GRDB SQLJSONExpressible.swift
[48/241] Compiling GRDB SQLJSONFunctions.swift
[49/241] Compiling GRDB DatabaseMigrator.swift
[50/241] Compiling GRDB Migration.swift
[51/241] Compiling GRDB FTS3+QueryInterface.swift
[52/241] Compiling GRDB FTS5+QueryInterface.swift
[53/241] Compiling GRDB SQLForeignKeyRequest.swift
[54/241] Compiling GRDB SQLFunctions.swift
[55/241] Compiling GRDB SQLOperators.swift
[56/241] Compiling GRDB SQLOrdering.swift
[57/241] Compiling GRDB SQLRelation.swift
[58/241] Compiling GRDB SQLSelection.swift
[59/241] Compiling GRDB SQLSubquery.swift
[60/241] Compiling GRDB Table.swift
[61/241] Compiling GRDB SQLColumnGenerator.swift
[62/241] Compiling GRDB SQLGenerationContext.swift
[63/241] Compiling GRDB SQLIndexGenerator.swift
[64/241] Compiling GRDB SQLQueryGenerator.swift
[65/241] Compiling GRDB SQLTableAlterationGenerator.swift
[66/241] Compiling GRDB SQLTableGenerator.swift
[67/241] Compiling GRDB TableAlias.swift
[68/241] Compiling GRDB SQLInterpolation+QueryInterface.swift
[69/241] Compiling GRDB ColumnDefinition.swift
[70/241] Compiling GRDB ForeignKey.swift
[71/241] Compiling GRDB Association.swift
[72/241] Compiling GRDB AssociationAggregate.swift
[73/241] Compiling GRDB BelongsToAssociation.swift
[74/241] Compiling GRDB HasManyAssociation.swift
[75/241] Compiling GRDB HasManyThroughAssociation.swift
[76/241] Compiling GRDB HasOneAssociation.swift
[77/241] Compiling GRDB HasOneThroughAssociation.swift
[78/241] Compiling GRDB JoinAssociation.swift
[79/241] Compiling GRDB CommonTableExpression.swift
[80/241] Compiling GRDB QueryInterfaceRequest.swift
[81/241] Compiling GRDB RequestProtocols.swift
[82/241] Compiling GRDB Column.swift
[83/241] Compiling GRDB DatabasePromise.swift
[84/241] Compiling GRDB SQLAssociation.swift
[85/241] Compiling GRDB SQLCollection.swift
[86/241] Compiling GRDB SQLExpression.swift
[87/241] Compiling MetalANNSCore CommandQueuePool.swift
[88/241] Compiling MetalANNSCore ComputeBackend.swift
[89/241] Compiling MetalANNSCore DiskBackedVectorBuffer.swift
[90/241] Compiling MetalANNSCore Errors.swift
[91/241] Compiling MetalANNSCore ExactGraphBuilder.swift
[92/241] Compiling MetalANNSCore FlatGPUSearch.swift
[93/241] Compiling MetalANNSCore MetadataBuffer.swift
[94/241] Compiling MetalANNSCore MetadataStore.swift
[95/241] Compiling MetalANNSCore MetalBackend.swift
[96/241] Compiling MetalANNSCore MetalDevice.swift
[97/241] Compiling MetalANNSCore Metric.swift
[98/241] Compiling MetalANNSCore HNSWBuilder.swift
[99/241] Compiling MetalANNSCore HNSWConfiguration.swift
[100/241] Compiling MetalANNSCore HNSWLayers.swift
[101/241] Compiling MetalANNSCore HNSWSearchCPU.swift
[102/241] Compiling MetalANNSCore IDMap.swift
[103/241] Compiling MetalANNSCore IVFFlatSearch.swift
[104/241] Emitting module GRDB
[105/241] Compiling GRDB Database+SchemaDefinition.swift
[106/241] Compiling GRDB ForeignKeyDefinition.swift
[107/241] Compiling GRDB IndexDefinition.swift
[108/241] Compiling GRDB TableAlteration.swift
[109/241] Compiling GRDB TableDefinition.swift
[110/241] Compiling GRDB VirtualTableModule.swift
[111/241] Compiling GRDB TableRecord+Association.swift
[112/241] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[113/241] Compiling GRDB EncodableRecord+Encodable.swift
[114/241] Compiling GRDB EncodableRecord.swift
[115/241] Compiling GRDB FetchableRecord+Decodable.swift
[116/241] Compiling GRDB FetchableRecord+TableRecord.swift
[117/241] Compiling GRDB FetchableRecord.swift
[118/241] Compiling GRDB MutablePersistableRecord+DAO.swift
[119/241] Compiling GRDB MutablePersistableRecord+Delete.swift
[120/241] Compiling GRDB MutablePersistableRecord+Insert.swift
[121/241] Compiling GRDB MutablePersistableRecord+Save.swift
[122/241] Compiling GRDB DatabaseValueConvertible+RawRepresentable.swift
[123/241] Compiling GRDB JSONRequiredEncoder.swift
[124/241] Compiling GRDB Optional.swift
[125/241] Compiling GRDB StandardLibrary.swift
[126/241] Compiling GRDB TransactionClock.swift
[127/241] Compiling GRDB TransactionObserver.swift
[128/241] Compiling GRDB WALSnapshot.swift
[129/241] Compiling GRDB WALSnapshotTransaction.swift
[130/241] Compiling GRDB Database+Dump.swift
[131/241] Compiling GRDB DatabaseReader+dump.swift
[132/241] Compiling GRDB DumpFormat.swift
[133/241] Compiling GRDB DebugDumpFormat.swift
[134/241] Compiling GRDB JSONDumpFormat.swift
[135/241] Compiling GRDB LineDumpFormat.swift
[136/241] Compiling GRDB ListDumpFormat.swift
[137/241] Compiling GRDB QuoteDumpFormat.swift
[138/241] Compiling GRDB FTS3.swift
[139/241] Compiling MetalANNSCore PipelineCache.swift
[140/241] Compiling MetalANNSCore ProductQuantizer.swift
[141/241] Compiling MetalANNSCore QuantizedStorage.swift
[142/241] Compiling MetalANNSCore RepairConfiguration.swift
[143/241] Compiling MetalANNSCore SIMDDistance.swift
[144/241] Compiling MetalANNSCore IncrementalBuilder.swift
[145/241] Compiling MetalANNSCore IndexCompactor.swift
[146/241] Compiling MetalANNSCore IndexSerializer.swift
[147/241] Compiling MetalANNSCore Int8CodeCache.swift
[148/241] Compiling MetalANNSCore KMeans.swift
[149/241] Compiling MetalANNSCore MmapIndexLoader.swift
[150/241] Compiling MetalANNSCore NNDescentCPU.swift
[151/241] Compiling MetalANNSCore NNDescentGPU.swift
[152/241] Compiling MetalANNSCore PQVectorBuffer.swift
[153/241] Compiling MetalANNSCore ParallelFlatScan.swift
[154/241] Compiling GRDB SerializedDatabase.swift
[155/241] Compiling GRDB Statement.swift
[156/241] Compiling MetalANNSCore SearchBufferPool.swift
[157/241] Compiling MetalANNSCore SearchFilter.swift
[158/241] Compiling MetalANNSCore SearchGPU.swift
[159/241] Compiling MetalANNSCore SearchResult.swift
[160/241] Compiling MetalANNSCore SoftDeletion.swift
[166/246] Compiling MetalANNSCore Float16VectorBuffer.swift
[167/246] Compiling MetalANNSCore FullGPUSearch.swift
[168/246] Compiling MetalANNSCore GPUADCSearch.swift
[169/246] Compiling MetalANNSCore GraphBuffer.swift
[170/246] Compiling MetalANNSCore GraphPruner.swift
[171/246] Compiling MetalANNSCore GraphRepairer.swift
[172/246] Emitting module MetalANNSCore
[173/246] Compiling MetalANNSCore AccelerateBackend.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:162:24: warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
160 |             guard start < end else { return }
161 |             let rows = end - start
162 |             let dots = dotsScratch + slice * chunkSize
    |                        `- warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
163 |
164 |             context.queryCodes.withUnsafeBufferPointer { queryBuffer in
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:230:13: warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
228 |             }
229 |
230 |             resultsStorage[slice] = heapSortedAscending(heap)
    |             `- warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
231 |         }
232 |
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[174/246] Compiling MetalANNSCore BatchIncrementalBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:162:24: warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
160 |             guard start < end else { return }
161 |             let rows = end - start
162 |             let dots = dotsScratch + slice * chunkSize
    |                        `- warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
163 |
164 |             context.queryCodes.withUnsafeBufferPointer { queryBuffer in
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:230:13: warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
228 |             }
229 |
230 |             resultsStorage[slice] = heapSortedAscending(heap)
    |             `- warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
231 |         }
232 |
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[175/246] Compiling MetalANNSCore BeamSearchCPU.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:162:24: warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
160 |             guard start < end else { return }
161 |             let rows = end - start
162 |             let dots = dotsScratch + slice * chunkSize
    |                        `- warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
163 |
164 |             context.queryCodes.withUnsafeBufferPointer { queryBuffer in
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:230:13: warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
228 |             }
229 |
230 |             resultsStorage[slice] = heapSortedAscending(heap)
    |             `- warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
231 |         }
232 |
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[176/246] Compiling MetalANNSCore BinaryVectorBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:162:24: warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
160 |             guard start < end else { return }
161 |             let rows = end - start
162 |             let dots = dotsScratch + slice * chunkSize
    |                        `- warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
163 |
164 |             context.queryCodes.withUnsafeBufferPointer { queryBuffer in
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:230:13: warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
228 |             }
229 |
230 |             resultsStorage[slice] = heapSortedAscending(heap)
    |             `- warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
231 |         }
232 |
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[177/246] Compiling MetalANNSCore BoundedExactScan.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:162:24: warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
160 |             guard start < end else { return }
161 |             let rows = end - start
162 |             let dots = dotsScratch + slice * chunkSize
    |                        `- warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
163 |
164 |             context.queryCodes.withUnsafeBufferPointer { queryBuffer in
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:230:13: warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
228 |             }
229 |
230 |             resultsStorage[slice] = heapSortedAscending(heap)
    |             `- warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
231 |         }
232 |
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[178/246] Compiling MetalANNSCore BoundedSelection.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:162:24: warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
160 |             guard start < end else { return }
161 |             let rows = end - start
162 |             let dots = dotsScratch + slice * chunkSize
    |                        `- warning: capture of 'dotsScratch' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
163 |
164 |             context.queryCodes.withUnsafeBufferPointer { queryBuffer in
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/BoundedExactScan.swift:230:13: warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
228 |             }
229 |
230 |             resultsStorage[slice] = heapSortedAscending(heap)
    |             `- warning: capture of 'resultsStorage' with non-Sendable type 'UnsafeMutableBufferPointer<[BoundedExactScan.HeapEntry]>' (aka 'UnsafeMutableBufferPointer<Array<(key: Float, id: UInt32)>>') in a '@Sendable' closure [#SendableClosureCaptures]
231 |         }
232 |
Swift.UnsafeMutableBufferPointer:1:23: note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutableBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafeMutablePointer<Element>?, count: Int)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
649 |         }
650 |
651 |         cblas_sgemm(
    |         `- warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
652 |             CblasRowMajor,
653 |             CblasNoTrans,
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:684:33: warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
682 |                 var best = 0
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
    |                                 `- warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
685 |                 let qn = rowNormSq[row]
686 |                 for cluster in 0..<nlist {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:685:26: warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
685 |                 let qn = rowNormSq[row]
    |                          `- warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
686 |                 for cluster in 0..<nlist {
687 |                     let key = distance(
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:690:36: warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
688 |                         dot: rowScores[cluster],
689 |                         queryNormSq: qn,
690 |                         rowNormSq: centroidNormSq[cluster],
    |                                    `- warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
691 |                         metric: metric
692 |                     )
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:698:17: warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
699 |             }
700 |         }
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
649 |         }
650 |
651 |         cblas_sgemm(
    |         `- warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
652 |             CblasRowMajor,
653 |             CblasNoTrans,
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:684:33: warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
682 |                 var best = 0
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
    |                                 `- warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
685 |                 let qn = rowNormSq[row]
686 |                 for cluster in 0..<nlist {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:685:26: warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
685 |                 let qn = rowNormSq[row]
    |                          `- warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
686 |                 for cluster in 0..<nlist {
687 |                     let key = distance(
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:690:36: warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
688 |                         dot: rowScores[cluster],
689 |                         queryNormSq: qn,
690 |                         rowNormSq: centroidNormSq[cluster],
    |                                    `- warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
691 |                         metric: metric
692 |                     )
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:698:17: warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
699 |             }
700 |         }
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
649 |         }
650 |
651 |         cblas_sgemm(
    |         `- warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
652 |             CblasRowMajor,
653 |             CblasNoTrans,
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:684:33: warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
682 |                 var best = 0
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
    |                                 `- warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
685 |                 let qn = rowNormSq[row]
686 |                 for cluster in 0..<nlist {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:685:26: warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
685 |                 let qn = rowNormSq[row]
    |                          `- warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
686 |                 for cluster in 0..<nlist {
687 |                     let key = distance(
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:690:36: warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
688 |                         dot: rowScores[cluster],
689 |                         queryNormSq: qn,
690 |                         rowNormSq: centroidNormSq[cluster],
    |                                    `- warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
691 |                         metric: metric
692 |                     )
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:698:17: warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
699 |             }
700 |         }
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
649 |         }
650 |
651 |         cblas_sgemm(
    |         `- warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
652 |             CblasRowMajor,
653 |             CblasNoTrans,
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:684:33: warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
682 |                 var best = 0
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
    |                                 `- warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
685 |                 let qn = rowNormSq[row]
686 |                 for cluster in 0..<nlist {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:685:26: warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
685 |                 let qn = rowNormSq[row]
    |                          `- warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
686 |                 for cluster in 0..<nlist {
687 |                     let key = distance(
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:690:36: warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
688 |                         dot: rowScores[cluster],
689 |                         queryNormSq: qn,
690 |                         rowNormSq: centroidNormSq[cluster],
    |                                    `- warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
691 |                         metric: metric
692 |                     )
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:698:17: warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
699 |             }
700 |         }
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
649 |         }
650 |
651 |         cblas_sgemm(
    |         `- warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
652 |             CblasRowMajor,
653 |             CblasNoTrans,
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:684:33: warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
682 |                 var best = 0
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
    |                                 `- warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
685 |                 let qn = rowNormSq[row]
686 |                 for cluster in 0..<nlist {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:685:26: warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
685 |                 let qn = rowNormSq[row]
    |                          `- warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
686 |                 for cluster in 0..<nlist {
687 |                     let key = distance(
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:690:36: warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
688 |                         dot: rowScores[cluster],
689 |                         queryNormSq: qn,
690 |                         rowNormSq: centroidNormSq[cluster],
    |                                    `- warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
691 |                         metric: metric
692 |                     )
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:698:17: warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
699 |             }
700 |         }
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
649 |         }
650 |
651 |         cblas_sgemm(
    |         `- warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
652 |             CblasRowMajor,
653 |             CblasNoTrans,
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:684:33: warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
682 |                 var best = 0
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
    |                                 `- warning: capture of 'scores' with non-Sendable type 'UnsafeMutablePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
685 |                 let qn = rowNormSq[row]
686 |                 for cluster in 0..<nlist {
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:685:26: warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
683 |                 var bestKey = Float.greatestFiniteMagnitude
684 |                 let rowScores = scores.advanced(by: row * nlist)
685 |                 let qn = rowNormSq[row]
    |                          `- warning: capture of 'rowNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
686 |                 for cluster in 0..<nlist {
687 |                     let key = distance(
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:690:36: warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
688 |                         dot: rowScores[cluster],
689 |                         queryNormSq: qn,
690 |                         rowNormSq: centroidNormSq[cluster],
    |                                    `- warning: capture of 'centroidNormSq' with non-Sendable type 'UnsafePointer<Float>' in a '@Sendable' closure [#SendableClosureCaptures]
691 |                         metric: metric
692 |                     )
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:698:17: warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#SendableClosureCaptures]
699 |             }
700 |         }
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:517:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 515 |                 ones.withUnsafeBufferPointer { onesBuffer in
 516 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 517 |                     cblas_sgemv(
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:517:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 515 |                 ones.withUnsafeBufferPointer { onesBuffer in
 516 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 517 |                     cblas_sgemv(
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:517:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 515 |                 ones.withUnsafeBufferPointer { onesBuffer in
 516 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 517 |                     cblas_sgemv(
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:517:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 515 |                 ones.withUnsafeBufferPointer { onesBuffer in
 516 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 517 |                     cblas_sgemv(
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:517:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 515 |                 ones.withUnsafeBufferPointer { onesBuffer in
 516 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 517 |                     cblas_sgemv(
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:517:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 515 |                 ones.withUnsafeBufferPointer { onesBuffer in
 516 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 517 |                     cblas_sgemv(
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[206/246] Compiling MetalANNSCore StorageGrowth.swift
[207/246] Compiling MetalANNSCore VectorBuffer.swift
[208/246] Compiling MetalANNSCore VectorStorage.swift
[209/246] Compiling MetalANNSCore VectorValidation.swift
[210/246] Compiling MetalANNSCore resource_bundle_accessor.swift
[211/246] Compiling GRDB ReadWriteLock.swift
[212/246] Compiling GRDB ReceiveValuesOn.swift
[213/246] Compiling GRDB Refinable.swift
[214/246] Compiling GRDB Utils.swift
[215/246] Compiling GRDB DatabaseCancellable.swift
[216/246] Compiling GRDB ValueConcurrentObserver.swift
[217/246] Compiling GRDB ValueWriteOnlyObserver.swift
[218/246] Compiling GRDB Fetch.swift
[219/246] Compiling GRDB Map.swift
[220/246] Compiling GRDB RemoveDuplicates.swift
[221/246] Compiling GRDB Trace.swift
[222/246] Compiling GRDB ValueReducer.swift
[223/246] Compiling GRDB SharedValueObservation.swift
[224/246] Compiling GRDB ValueObservation.swift
[225/246] Compiling GRDB ValueObservationScheduler.swift
[226/246] Compiling GRDB resource_bundle_accessor.swift
[244/269] Emitting module MetalANNS
[245/271] Compiling MetalANNS IndexMetrics.swift
[246/271] Compiling MetalANNS MetricsSnapshot.swift
[247/271] Compiling MetalANNS StreamingDatabase.swift
[248/271] Compiling MetalANNS StreamingConfiguration.swift
[249/271] Compiling MetalANNS Reexports.swift
[250/271] Compiling MetalANNS SearchExecution.swift
[251/271] Compiling MetalANNS ANNSIndex+Internal.swift
[252/271] Compiling MetalANNS ANNSIndex+Persistence.swift
[253/271] Compiling MetalANNS ANNSIndex+Search.swift
[254/271] Compiling MetalANNS ShardedIndex.swift
[255/271] Compiling MetalANNS IDMapPersistenceCompat.swift
[256/271] Compiling MetalANNS ANNSIndex.swift
[257/271] Compiling MetalANNS Advanced.swift
[258/271] Compiling MetalANNS BatchExecution.swift
[259/271] Compiling MetalANNS IndexDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNS/Storage/SQLiteStructuredStore.swift:92:17: warning: result of call to 'withUnsafeBytes' is unused [#no-usage]
 90 |
 91 |         sqlite3_bind_text(statement, 1, key, -1, sqliteTransient)
 92 |         payload.withUnsafeBytes { rawBuffer in
    |                 `- warning: result of call to 'withUnsafeBytes' is unused [#no-usage]
 93 |             sqlite3_bind_blob(statement, 2, rawBuffer.baseAddress, Int32(rawBuffer.count), sqliteTransient)
 94 |         }
[260/271] Compiling MetalANNS SQLiteStructuredStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNS/Storage/SQLiteStructuredStore.swift:92:17: warning: result of call to 'withUnsafeBytes' is unused [#no-usage]
 90 |
 91 |         sqlite3_bind_text(statement, 1, key, -1, sqliteTransient)
 92 |         payload.withUnsafeBytes { rawBuffer in
    |                 `- warning: result of call to 'withUnsafeBytes' is unused [#no-usage]
 93 |             sqlite3_bind_blob(statement, 2, rawBuffer.baseAddress, Int32(rawBuffer.count), sqliteTransient)
 94 |         }
[261/271] Compiling MetalANNS ANNSIndex+AccessGate.swift
[262/271] Compiling MetalANNS ANNSIndex+Build.swift
[263/271] Compiling MetalANNS ANNSIndex+Insert.swift
[264/271] Compiling MetalANNS IVFPQConfiguration.swift
[265/271] Compiling MetalANNS IVFPQIndex.swift
[266/271] Compiling MetalANNS IndexConfiguration.swift
[267/271] Compiling MetalANNS StreamingIndex.swift
[268/271] Compiling MetalANNS VectorIndex.swift
[269/283] Compiling MetalANNSBenchmarks EnvironmentProbe.swift
[270/283] Compiling MetalANNSBenchmarks OpsBenchmark.swift
[271/283] Compiling MetalANNSBenchmarks HotPathProfiler.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSBenchmarks/HotPathProfiler.swift:231:17: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
229 |             let start = DispatchTime.now().uptimeNanoseconds
230 |             output.withUnsafeMutableBufferPointer { out in
231 |                 cblas_sgemv(
    |                 `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#DeprecatedDeclaration]
232 |                     CblasRowMajor, CblasNoTrans, Int32(n), Int32(dim), 1.0,
233 |                     corpusBase, Int32(dim), query, 1, 0.0, out.baseAddress!, 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[272/283] Compiling MetalANNSBenchmarks IVFPQBenchmark.swift
[273/283] Compiling MetalANNSBenchmarks LatencyDistribution.swift
[274/283] Compiling MetalANNSBenchmarks FlatSearchProbe.swift
[275/283] Compiling MetalANNSBenchmarks MemoryProbe.swift
[276/284] Emitting module MetalANNSBenchmarks
[277/284] Compiling MetalANNSBenchmarks BenchmarkDataset.swift
[278/284] Compiling MetalANNSBenchmarks BenchmarkIDParser.swift
[279/284] Compiling MetalANNSBenchmarks BenchmarkReport.swift
[280/284] Compiling MetalANNSBenchmarks BenchmarkRunner.swift
[281/284] Compiling MetalANNSBenchmarks main.swift
[281/284] Write Objects.LinkFileList
[282/284] Linking MetalANNSBenchmarks
[283/284] Applying MetalANNSBenchmarks
Build complete! (61.17s)
Fetching https://github.com/groue/GRDB.swift.git
[1/114683] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (38.82s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.12.0 (41.80s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.12.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "grdb.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/GRDB.swift.git"
    }
  ],
  "manifest_display_name" : "MetalANNS",
  "name" : "MetalANNS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "MetalANNS",
      "targets" : [
        "MetalANNS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MetalANNSBenchmarks",
      "targets" : [
        "MetalANNSBenchmarks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetalANNSTests",
      "module_type" : "SwiftTarget",
      "name" : "MetalANNSTests",
      "path" : "Tests/MetalANNSTests",
      "product_dependencies" : [
        "GRDB"
      ],
      "sources" : [
        "ANNSIndexTests.swift",
        "BackendProtocolTests.swift",
        "BatchExecutionTests.swift",
        "BatchInsertTests.swift",
        "BatchSearchAdaptiveConcurrencyTests.swift",
        "BinaryQuantizationTests.swift",
        "BitonicSortTests.swift",
        "BoundedExactScanTests.swift",
        "BoundedSelectionTests.swift",
        "CommandQueuePoolTests.swift",
        "CompactionTests.swift",
        "ConcurrentSearchTests.swift",
        "ConfigurationTests.swift",
        "DeletionTests.swift",
        "DiskBackedTests.swift",
        "DistanceTests.swift",
        "DownstreamContractTests.swift",
        "ErrorModelTests.swift",
        "ExactSearchIntegrationTests.swift",
        "FilteredSearchTests.swift",
        "FlatSearchTests.swift",
        "Float16IntegrationTests.swift",
        "Float16Tests.swift",
        "FullGPUSearchTests.swift",
        "GPUADCSearchTests.swift",
        "GPUCPUParityTests.swift",
        "GraphBufferTests.swift",
        "GraphPrunerTests.swift",
        "GraphRepairTests.swift",
        "HNSWTests.swift",
        "IDMapTests.swift",
        "IVFFlatSearchTests.swift",
        "IVFPQComprehensiveTests.swift",
        "IVFPQGPUTests.swift",
        "IVFPQIndexTests.swift",
        "IVFPQPersistenceTests.swift",
        "IncrementalTests.swift",
        "IndexMetricsTests.swift",
        "IntegrationTests.swift",
        "MetadataTests.swift",
        "MetalContextMultiQueueTests.swift",
        "MetalDeviceTests.swift",
        "MetalDistanceTests.swift",
        "MetalSearchTests.swift",
        "MmapTests.swift",
        "MultiQueuePerformanceTests.swift",
        "NNDescentCPUTests.swift",
        "NNDescentGPUTests.swift",
        "PQVectorBufferTests.swift",
        "PersistenceTests.swift",
        "ProductQuantizerTests.swift",
        "QuantizedStorageTests.swift",
        "RangeSearchTests.swift",
        "RuntimeMetricTests.swift",
        "SIMDDistanceTests.swift",
        "SearchBufferPoolTests.swift",
        "SearchExecutionTests.swift",
        "SearchTests.swift",
        "ShardedIndexParallelBuildTests.swift",
        "ShardedIndexParallelSearchTests.swift",
        "ShardedIndexTests.swift",
        "Storage/IndexDatabaseTests.swift",
        "Storage/StreamingDatabaseTests.swift",
        "StreamingConfigurationTests.swift",
        "StreamingIndexFlushTests.swift",
        "StreamingIndexInsertTests.swift",
        "StreamingIndexMergeTests.swift",
        "StreamingIndexMetadataTests.swift",
        "StreamingIndexPersistenceTests.swift",
        "StreamingIndexSearchTests.swift",
        "TestUtilities.swift",
        "VectorBufferTests.swift"
      ],
      "target_dependencies" : [
        "MetalANNS",
        "MetalANNSCore",
        "MetalANNSC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetalANNSCore",
      "module_type" : "SwiftTarget",
      "name" : "MetalANNSCore",
      "path" : "Sources/MetalANNSCore",
      "product_memberships" : [
        "MetalANNS",
        "MetalANNSBenchmarks"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Distance.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/DistanceFloat16.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/FlatSearch.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/HammingDistance.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/NNDescent.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/NNDescentFloat16.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/PQDistance.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Search.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/SearchFloat16.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Sort.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AccelerateBackend.swift",
        "BatchIncrementalBuilder.swift",
        "BeamSearchCPU.swift",
        "BinaryVectorBuffer.swift",
        "BoundedExactScan.swift",
        "BoundedSelection.swift",
        "CommandQueuePool.swift",
        "ComputeBackend.swift",
        "DiskBackedVectorBuffer.swift",
        "Errors.swift",
        "ExactGraphBuilder.swift",
        "FlatGPUSearch.swift",
        "Float16VectorBuffer.swift",
        "FullGPUSearch.swift",
        "GPUADCSearch.swift",
        "GraphBuffer.swift",
        "GraphPruner.swift",
        "GraphRepairer.swift",
        "HNSWBuilder.swift",
        "HNSWConfiguration.swift",
        "HNSWLayers.swift",
        "HNSWSearchCPU.swift",
        "IDMap.swift",
        "IVFFlatSearch.swift",
        "IncrementalBuilder.swift",
        "IndexCompactor.swift",
        "IndexSerializer.swift",
        "Int8CodeCache.swift",
        "KMeans.swift",
        "MetadataBuffer.swift",
        "MetadataStore.swift",
        "MetalBackend.swift",
        "MetalDevice.swift",
        "Metric.swift",
        "MmapIndexLoader.swift",
        "NNDescentCPU.swift",
        "NNDescentGPU.swift",
        "PQVectorBuffer.swift",
        "ParallelFlatScan.swift",
        "PipelineCache.swift",
        "ProductQuantizer.swift",
        "QuantizedStorage.swift",
        "RepairConfiguration.swift",
        "SIMDDistance.swift",
        "SearchBufferPool.swift",
        "SearchFilter.swift",
        "SearchGPU.swift",
        "SearchResult.swift",
        "SoftDeletion.swift",
        "StorageGrowth.swift",
        "VectorBuffer.swift",
        "VectorStorage.swift",
        "VectorValidation.swift"
      ],
      "target_dependencies" : [
        "MetalANNSC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MetalANNSC",
      "module_type" : "ClangTarget",
      "name" : "MetalANNSC",
      "path" : "Sources/MetalANNSC",
      "product_memberships" : [
        "MetalANNS",
        "MetalANNSBenchmarks"
      ],
      "sources" : [
        "dots.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MetalANNSBenchmarks",
      "module_type" : "SwiftTarget",
      "name" : "MetalANNSBenchmarks",
      "path" : "Sources/MetalANNSBenchmarks",
      "product_memberships" : [
        "MetalANNSBenchmarks"
      ],
      "sources" : [
        "BenchmarkDataset.swift",
        "BenchmarkIDParser.swift",
        "BenchmarkReport.swift",
        "BenchmarkRunner.swift",
        "EnvironmentProbe.swift",
        "FlatSearchProbe.swift",
        "HotPathProfiler.swift",
        "IVFPQBenchmark.swift",
        "LatencyDistribution.swift",
        "MemoryProbe.swift",
        "OpsBenchmark.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "MetalANNS",
        "MetalANNSCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MetalANNS",
      "module_type" : "SwiftTarget",
      "name" : "MetalANNS",
      "path" : "Sources/MetalANNS",
      "product_dependencies" : [
        "GRDB"
      ],
      "product_memberships" : [
        "MetalANNS",
        "MetalANNSBenchmarks"
      ],
      "sources" : [
        "ANNSIndex+AccessGate.swift",
        "ANNSIndex+Build.swift",
        "ANNSIndex+Insert.swift",
        "ANNSIndex+Internal.swift",
        "ANNSIndex+Persistence.swift",
        "ANNSIndex+Search.swift",
        "ANNSIndex.swift",
        "Advanced.swift",
        "BatchExecution.swift",
        "IVFPQConfiguration.swift",
        "IVFPQIndex.swift",
        "IndexConfiguration.swift",
        "IndexMetrics.swift",
        "MetricsSnapshot.swift",
        "Reexports.swift",
        "SearchExecution.swift",
        "ShardedIndex.swift",
        "Storage/IDMapPersistenceCompat.swift",
        "Storage/IndexDatabase.swift",
        "Storage/SQLiteStructuredStore.swift",
        "Storage/StreamingDatabase.swift",
        "StreamingConfiguration.swift",
        "StreamingIndex.swift",
        "VectorIndex.swift"
      ],
      "target_dependencies" : [
        "MetalANNSCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.