The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MetalANNS, reference main (139604), with Swift 6.2 for macOS (SPM) on 24 Aug 2026 16:47:22 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/MetalANNS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/christopherkarani/MetalANNS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1396049 chore: prepare 0.3.0 release
Cloned https://github.com/christopherkarani/MetalANNS.git
Revision (git rev-parse @):
13960499c40abd3f06443eb80258e08a6b777da4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/christopherkarani/MetalANNS.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/christopherkarani/MetalANNS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Write sources
[0/22] Write MetalANNSBenchmarks-entitlement.plist
[3/22] Copying Distance.metal
[4/22] Copying DistanceFloat16.metal
[4/22] Copying SearchFloat16.metal
[4/22] Copying Search.metal
[6/22] Copying Sort.metal
[6/22] Copying PQDistance.metal
[6/22] Copying NNDescentFloat16.metal
[6/22] Copying NNDescent.metal
[9/22] Copying HammingDistance.metal
[10/22] Write sources
[13/22] Copying FlatSearch.metal
[14/22] Write sources
[15/22] Copying Info.plist
[16/22] Copying PrivacyInfo.xcprivacy
[17/22] Write swift-version--3CB7CFEC50E0D141.txt
[18/78] Compiling MetalANNSC dots.c
[20/222] Emitting module MetalANNSCore
[21/227] Compiling MetalANNSCore SearchResult.swift
[22/227] Compiling MetalANNSCore SoftDeletion.swift
[23/227] Compiling MetalANNSCore VectorBuffer.swift
[24/227] Compiling MetalANNSCore VectorStorage.swift
[25/227] Compiling MetalANNSCore resource_bundle_accessor.swift
[26/227] Compiling MetalANNSCore PQVectorBuffer.swift
[27/227] Compiling MetalANNSCore ParallelFlatScan.swift
[28/227] Compiling MetalANNSCore PipelineCache.swift
[29/227] Compiling MetalANNSCore ProductQuantizer.swift
[30/227] Compiling MetalANNSCore QuantizedStorage.swift
[31/227] Compiling MetalANNSCore Float16VectorBuffer.swift
[32/227] Compiling MetalANNSCore FullGPUSearch.swift
[33/227] Compiling MetalANNSCore GPUADCSearch.swift
[34/227] Compiling MetalANNSCore GraphBuffer.swift
[35/227] Compiling MetalANNSCore GraphPruner.swift
[36/227] Compiling GRDB FTS3Pattern.swift
[37/227] Compiling GRDB FTS3TokenizerDescriptor.swift
[38/227] Compiling GRDB FTS4.swift
[39/227] Compiling GRDB FTS5.swift
[40/227] Compiling GRDB FTS5CustomTokenizer.swift
[41/227] Compiling GRDB FTS5Pattern.swift
[42/227] Compiling GRDB FTS5Tokenizer.swift
[43/227] Compiling GRDB FTS5TokenizerDescriptor.swift
[44/227] Compiling GRDB FTS5WrapperTokenizer.swift
[45/227] Compiling GRDB Fixits.swift
[46/227] Compiling GRDB JSONColumn.swift
[47/227] Compiling GRDB SQLJSONExpressible.swift
[48/227] Compiling GRDB SQLJSONFunctions.swift
[49/227] Compiling GRDB DatabaseMigrator.swift
[50/227] Compiling GRDB Migration.swift
[51/227] Compiling GRDB FTS3+QueryInterface.swift
[52/227] Compiling GRDB FTS5+QueryInterface.swift
[53/227] Compiling MetalANNSCore HNSWConfiguration.swift
[54/227] Compiling MetalANNSCore HNSWLayers.swift
[55/227] Compiling MetalANNSCore HNSWSearchCPU.swift
[56/227] Compiling MetalANNSCore MetalDevice.swift
[57/227] Compiling MetalANNSCore Metric.swift
[58/227] Compiling MetalANNSCore MmapIndexLoader.swift
[59/227] Compiling MetalANNSCore NNDescentCPU.swift
[60/227] Compiling MetalANNSCore NNDescentGPU.swift
[70/227] Compiling GRDB StatementAuthorizer.swift
[71/227] Compiling GRDB StatementColumnConvertible.swift
[72/227] Compiling GRDB CGFloat.swift
[73/227] Compiling GRDB Data.swift
[74/227] Compiling GRDB DatabaseDateComponents.swift
[75/227] Compiling GRDB DatabaseValueConvertible+ReferenceConvertible.swift
[76/227] Compiling GRDB Date.swift
[77/227] Compiling GRDB Decimal.swift
[78/227] Compiling GRDB NSData.swift
[79/227] Compiling GRDB NSNull.swift
[80/227] Compiling GRDB NSNumber.swift
[81/227] Compiling GRDB NSString.swift
[82/227] Compiling GRDB SQLiteDateParser.swift
[83/227] Compiling GRDB URL.swift
[84/227] Compiling GRDB UUID.swift
[85/227] Compiling GRDB DatabaseValueConvertible+Decodable.swift
[86/227] Compiling GRDB DatabaseValueConvertible+Encodable.swift
[91/227] Compiling MetalANNSCore RepairConfiguration.swift
[92/227] Compiling MetalANNSCore SIMDDistance.swift
[93/227] Compiling MetalANNSCore SearchBufferPool.swift
[94/227] Compiling MetalANNSCore SearchFilter.swift
[95/227] Compiling MetalANNSCore SearchGPU.swift
[96/227] Compiling MetalANNSCore Int8CodeCache.swift
[97/227] Compiling MetalANNSCore KMeans.swift
[98/227] Compiling MetalANNSCore MetadataBuffer.swift
[99/227] Compiling MetalANNSCore MetadataStore.swift
[100/227] Compiling MetalANNSCore MetalBackend.swift
[101/227] Compiling MetalANNSCore GraphRepairer.swift
[102/227] Compiling MetalANNSCore HNSWBuilder.swift
[104/227] Compiling GRDB SQLFunctions.swift
[105/227] Compiling GRDB SQLOperators.swift
[106/227] Compiling GRDB SQLOrdering.swift
[107/227] Compiling GRDB SQLRelation.swift
[108/227] Compiling GRDB SQLSelection.swift
[109/227] Compiling GRDB SQLSubquery.swift
[110/227] Compiling GRDB Table.swift
[111/227] Compiling GRDB SQLColumnGenerator.swift
[112/227] Compiling GRDB SQLGenerationContext.swift
[113/227] Compiling GRDB SQLIndexGenerator.swift
[114/227] Compiling GRDB SQLQueryGenerator.swift
[115/227] Compiling GRDB SQLTableAlterationGenerator.swift
[116/227] Compiling GRDB SQLTableGenerator.swift
[117/227] Compiling GRDB TableAlias.swift
[118/227] Compiling GRDB SQLInterpolation+QueryInterface.swift
[119/227] Compiling GRDB ColumnDefinition.swift
[120/227] Compiling GRDB ForeignKey.swift
[121/227] Compiling GRDB Association.swift
[122/227] Compiling GRDB AssociationAggregate.swift
[123/227] Compiling GRDB BelongsToAssociation.swift
[124/227] Compiling GRDB HasManyAssociation.swift
[125/227] Compiling GRDB HasManyThroughAssociation.swift
[126/227] Compiling GRDB HasOneAssociation.swift
[127/227] Compiling GRDB HasOneThroughAssociation.swift
[128/227] Compiling GRDB JoinAssociation.swift
[129/227] Compiling GRDB CommonTableExpression.swift
[130/227] Compiling GRDB QueryInterfaceRequest.swift
[131/227] Compiling GRDB RequestProtocols.swift
[132/227] Compiling GRDB Column.swift
[133/227] Compiling GRDB DatabasePromise.swift
[134/227] Compiling GRDB SQLAssociation.swift
[135/227] Compiling GRDB SQLCollection.swift
[136/227] Compiling GRDB SQLExpression.swift
[137/227] Emitting module GRDB
[138/227] Compiling GRDB Database+SchemaDefinition.swift
[139/227] Compiling GRDB ForeignKeyDefinition.swift
[140/227] Compiling GRDB IndexDefinition.swift
[141/227] Compiling GRDB TableAlteration.swift
[142/227] Compiling GRDB TableDefinition.swift
[143/227] Compiling GRDB VirtualTableModule.swift
[144/227] Compiling GRDB TableRecord+Association.swift
[145/227] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[146/227] Compiling GRDB EncodableRecord+Encodable.swift
[147/227] Compiling GRDB EncodableRecord.swift
[148/227] Compiling GRDB FetchableRecord+Decodable.swift
[149/227] Compiling GRDB FetchableRecord+TableRecord.swift
[150/227] Compiling GRDB FetchableRecord.swift
[151/227] Compiling GRDB MutablePersistableRecord+DAO.swift
[152/227] Compiling GRDB MutablePersistableRecord+Delete.swift
[153/227] Compiling GRDB MutablePersistableRecord+Insert.swift
[154/227] Compiling GRDB MutablePersistableRecord+Save.swift
[155/227] Compiling GRDB Configuration.swift
[156/227] Compiling GRDB Cursor.swift
[157/227] Compiling GRDB Database+SQLCipher.swift
[158/227] Compiling GRDB Database+Schema.swift
[159/227] Compiling GRDB Database+Statements.swift
[160/227] Compiling GRDB Database.swift
[161/227] Compiling GRDB DatabaseBackupProgress.swift
[162/227] Compiling GRDB DatabaseCollation.swift
[163/227] Compiling GRDB DatabaseError.swift
[164/227] Compiling GRDB DatabaseFunction.swift
[165/227] Compiling GRDB DatabasePool.swift
[166/227] Compiling GRDB DatabasePublishers.swift
[167/227] Compiling GRDB DatabaseQueue.swift
[168/227] Compiling GRDB DatabaseReader.swift
[169/227] Compiling GRDB DatabaseRegion.swift
[170/227] Compiling GRDB DatabaseRegionObservation.swift
[171/227] Compiling GRDB DatabaseSchemaCache.swift
[172/227] Compiling MetalANNSCore AccelerateBackend.swift
[173/227] Compiling MetalANNSCore BatchIncrementalBuilder.swift
[174/227] Compiling MetalANNSCore BeamSearchCPU.swift
[175/227] Compiling MetalANNSCore BinaryVectorBuffer.swift
[176/227] Compiling MetalANNSCore BoundedExactScan.swift
[177/227] Compiling MetalANNSCore BoundedSelection.swift
[178/227] Compiling MetalANNSCore CommandQueuePool.swift
[179/227] Compiling MetalANNSCore ComputeBackend.swift
[180/227] Compiling MetalANNSCore DiskBackedVectorBuffer.swift
[181/227] Compiling MetalANNSCore Errors.swift
[182/227] Compiling MetalANNSCore FlatGPUSearch.swift
[183/227] Compiling MetalANNSCore IDMap.swift
[184/227] Compiling MetalANNSCore IVFFlatSearch.swift
[185/227] Compiling MetalANNSCore IncrementalBuilder.swift
[186/227] Compiling MetalANNSCore IndexCompactor.swift
[187/227] Compiling MetalANNSCore IndexSerializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:488: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]
 486 |                 ones.withUnsafeBufferPointer { onesBuffer in
 487 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 488 |                     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]
 489 |                         CblasRowMajor,
 490 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:488: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]
 486 |                 ones.withUnsafeBufferPointer { onesBuffer in
 487 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 488 |                     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]
 489 |                         CblasRowMajor,
 490 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:488: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]
 486 |                 ones.withUnsafeBufferPointer { onesBuffer in
 487 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 488 |                     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]
 489 |                         CblasRowMajor,
 490 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:488: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]
 486 |                 ones.withUnsafeBufferPointer { onesBuffer in
 487 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 488 |                     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]
 489 |                         CblasRowMajor,
 490 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:488: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]
 486 |                 ones.withUnsafeBufferPointer { onesBuffer in
 487 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 488 |                     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]
 489 |                         CblasRowMajor,
 490 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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/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/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/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/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/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>
[225/243] Compiling GRDB ReadWriteLock.swift
[226/243] Compiling GRDB ReceiveValuesOn.swift
[227/243] Compiling GRDB Refinable.swift
[228/243] Compiling GRDB Utils.swift
[229/243] Compiling GRDB DatabaseCancellable.swift
[230/243] Compiling GRDB ValueConcurrentObserver.swift
[231/243] Compiling GRDB ValueWriteOnlyObserver.swift
[232/243] Compiling GRDB Fetch.swift
[233/243] Compiling GRDB Map.swift
[234/243] Compiling GRDB RemoveDuplicates.swift
[235/243] Compiling GRDB Trace.swift
[236/243] Compiling GRDB ValueReducer.swift
[237/243] Compiling GRDB SharedValueObservation.swift
[238/243] Compiling GRDB ValueObservation.swift
[239/243] Compiling GRDB ValueObservationScheduler.swift
[240/243] Compiling GRDB resource_bundle_accessor.swift
[241/265] Compiling MetalANNS ShardedIndex.swift
[242/265] Compiling MetalANNS IDMapPersistenceCompat.swift
[243/265] Compiling MetalANNS StreamingDatabase.swift
[244/265] Compiling MetalANNS StreamingConfiguration.swift
[245/267] 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 |         }
[246/267] 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 |         }
[247/267] Compiling MetalANNS ANNSIndex+Persistence.swift
[248/267] Compiling MetalANNS ANNSIndex+Search.swift
[249/267] Compiling MetalANNS ANNSIndex.swift
[250/267] Compiling MetalANNS Advanced.swift
[251/267] Compiling MetalANNS BatchExecution.swift
[252/267] Compiling MetalANNS IVFPQConfiguration.swift
[253/267] Compiling MetalANNS Reexports.swift
[254/267] Compiling MetalANNS SearchExecution.swift
[255/267] Compiling MetalANNS IndexMetrics.swift
[256/267] Compiling MetalANNS MetricsSnapshot.swift
[257/267] Compiling MetalANNS IVFPQIndex.swift
[258/267] Compiling MetalANNS IndexConfiguration.swift
[259/267] Emitting module MetalANNS
[260/267] Compiling MetalANNS ANNSIndex+Build.swift
[261/267] Compiling MetalANNS ANNSIndex+Insert.swift
[262/267] Compiling MetalANNS ANNSIndex+Internal.swift
[263/267] Compiling MetalANNS StreamingIndex.swift
[264/267] Compiling MetalANNS VectorIndex.swift
[265/279] 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>
[266/279] Compiling MetalANNSBenchmarks FlatSearchProbe.swift
[267/279] Compiling MetalANNSBenchmarks LatencyDistribution.swift
[268/279] Compiling MetalANNSBenchmarks OpsBenchmark.swift
[269/279] Compiling MetalANNSBenchmarks EnvironmentProbe.swift
[270/279] Compiling MetalANNSBenchmarks IVFPQBenchmark.swift
[271/279] Compiling MetalANNSBenchmarks MemoryProbe.swift
[272/280] Compiling MetalANNSBenchmarks BenchmarkDataset.swift
[273/280] Compiling MetalANNSBenchmarks BenchmarkIDParser.swift
[274/280] Emitting module MetalANNSBenchmarks
[275/280] Compiling MetalANNSBenchmarks BenchmarkReport.swift
[276/280] Compiling MetalANNSBenchmarks BenchmarkRunner.swift
[277/280] Compiling MetalANNSBenchmarks main.swift
[277/280] Write Objects.LinkFileList
[278/280] Linking MetalANNSBenchmarks
[279/280] Applying MetalANNSBenchmarks
Build complete! (60.28s)
Fetching https://github.com/groue/GRDB.swift.git
[1/113869] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (38.44s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.11.1 (41.64s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.11.1
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",
        "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",
        "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",
        "VectorBuffer.swift",
        "VectorStorage.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+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.