The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MetalANNS, reference main (139604), with Swift 6.3 for macOS (SPM) on 24 Aug 2026 16:47:40 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.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
Fetching https://github.com/groue/GRDB.swift.git
[1/113869] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (50.71s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (53.69s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.10.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "metalanns",
      "name": "MetalANNS",
      "url": "https://github.com/christopherkarani/MetalANNS.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MetalANNS",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "grdb.swift",
          "name": "GRDB",
          "url": "https://github.com/groue/GRDB.swift.git",
          "version": "7.11.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GRDB.swift",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/christopherkarani/MetalANNS.git
[1/2527] Fetching metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (1.44s)
Fetching https://github.com/groue/GRDB.swift.git from cache
Fetched https://github.com/groue/GRDB.swift.git from cache (0.74s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.11.1 (1.41s)
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
Creating working copy for https://github.com/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at main (1396049)
warning: '.resolve-product-dependencies': dependency 'metalanns' is not used by any target
Found 1 product dependencies
  - GRDB
========================================
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
[3/22] Write sources
[3/22] Copying Distance.metal
[4/22] Copying FlatSearch.metal
[6/22] Copying DistanceFloat16.metal
[8/22] Copying SearchFloat16.metal
[8/22] Copying Sort.metal
[10/22] Copying Search.metal
[11/22] Copying PQDistance.metal
[11/22] Copying NNDescent.metal
[11/22] Copying NNDescentFloat16.metal
[11/22] Copying PrivacyInfo.xcprivacy
[12/22] Copying Info.plist
[12/22] Copying HammingDistance.metal
[17/22] Write swift-version-69A768CDF2A0BEE1.txt
[18/83] Compiling MetalANNSC dots.c
[20/222] Emitting module MetalANNSCore
[21/227] Compiling GRDB MutablePersistableRecord+Update.swift
[22/227] Compiling GRDB MutablePersistableRecord+Upsert.swift
[23/227] Compiling GRDB MutablePersistableRecord.swift
[24/227] Compiling GRDB PersistableRecord+Insert.swift
[25/227] Compiling GRDB PersistableRecord+Save.swift
[26/227] Compiling GRDB PersistableRecord+Upsert.swift
[27/227] Compiling GRDB PersistableRecord.swift
[28/227] Compiling GRDB Record.swift
[29/227] Compiling GRDB TableRecord.swift
[30/227] Compiling GRDB CaseInsensitiveIdentifier.swift
[31/227] Compiling GRDB Inflections+English.swift
[32/227] Compiling GRDB Inflections.swift
[33/227] Compiling GRDB Mutex.swift
[34/227] Compiling GRDB OnDemandFuture.swift
[35/227] Compiling GRDB OrderedDictionary.swift
[36/227] Compiling GRDB Pool.swift
[37/227] Emitting module GRDB
[38/227] Compiling GRDB Database+SchemaDefinition.swift
[39/227] Compiling GRDB ForeignKeyDefinition.swift
[40/227] Compiling GRDB IndexDefinition.swift
[41/227] Compiling GRDB TableAlteration.swift
[42/227] Compiling GRDB TableDefinition.swift
[43/227] Compiling GRDB VirtualTableModule.swift
[44/227] Compiling GRDB TableRecord+Association.swift
[45/227] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[46/227] Compiling GRDB EncodableRecord+Encodable.swift
[47/227] Compiling GRDB EncodableRecord.swift
[48/227] Compiling GRDB FetchableRecord+Decodable.swift
[49/227] Compiling GRDB FetchableRecord+TableRecord.swift
[50/227] Compiling GRDB FetchableRecord.swift
[51/227] Compiling GRDB MutablePersistableRecord+DAO.swift
[52/227] Compiling GRDB MutablePersistableRecord+Delete.swift
[53/227] Compiling GRDB MutablePersistableRecord+Insert.swift
[54/227] Compiling GRDB MutablePersistableRecord+Save.swift
[55/227] Compiling GRDB SQLForeignKeyRequest.swift
[56/227] Compiling GRDB SQLFunctions.swift
[57/227] Compiling GRDB SQLOperators.swift
[58/227] Compiling GRDB SQLOrdering.swift
[59/227] Compiling GRDB SQLRelation.swift
[60/227] Compiling GRDB SQLSelection.swift
[61/227] Compiling GRDB SQLSubquery.swift
[62/227] Compiling GRDB Table.swift
[63/227] Compiling GRDB SQLColumnGenerator.swift
[64/227] Compiling GRDB SQLGenerationContext.swift
[65/227] Compiling GRDB SQLIndexGenerator.swift
[66/227] Compiling GRDB SQLQueryGenerator.swift
[67/227] Compiling GRDB SQLTableAlterationGenerator.swift
[68/227] Compiling GRDB SQLTableGenerator.swift
[69/227] Compiling GRDB TableAlias.swift
[70/227] Compiling GRDB SQLInterpolation+QueryInterface.swift
[71/227] Compiling GRDB ColumnDefinition.swift
[72/243] Compiling GRDB ForeignKey.swift
[73/243] Compiling GRDB Association.swift
[74/243] Compiling GRDB AssociationAggregate.swift
[75/243] Compiling GRDB BelongsToAssociation.swift
[76/243] Compiling GRDB HasManyAssociation.swift
[77/243] Compiling GRDB HasManyThroughAssociation.swift
[78/243] Compiling GRDB HasOneAssociation.swift
[79/243] Compiling GRDB HasOneThroughAssociation.swift
[80/243] Compiling GRDB JoinAssociation.swift
[81/243] Compiling GRDB CommonTableExpression.swift
[82/243] Compiling GRDB QueryInterfaceRequest.swift
[83/243] Compiling GRDB RequestProtocols.swift
[84/243] Compiling GRDB Column.swift
[85/243] Compiling GRDB DatabasePromise.swift
[86/243] Compiling GRDB SQLAssociation.swift
[87/243] Compiling GRDB SQLCollection.swift
[88/243] Compiling GRDB SQLExpression.swift
[89/243] Compiling MetalANNSCore MmapIndexLoader.swift
[90/243] Compiling MetalANNSCore NNDescentCPU.swift
[91/243] Compiling MetalANNSCore NNDescentGPU.swift
[92/243] Compiling MetalANNSCore Int8CodeCache.swift
[93/243] Compiling MetalANNSCore KMeans.swift
[94/243] Compiling MetalANNSCore MetadataBuffer.swift
[95/243] Compiling MetalANNSCore MetadataStore.swift
[96/243] Compiling MetalANNSCore MetalBackend.swift
[97/243] Compiling MetalANNSCore Float16VectorBuffer.swift
[98/243] Compiling MetalANNSCore FullGPUSearch.swift
[99/243] Compiling MetalANNSCore GPUADCSearch.swift
[100/243] Compiling MetalANNSCore GraphBuffer.swift
[101/243] Compiling MetalANNSCore GraphPruner.swift
[102/243] Compiling MetalANNSCore GraphRepairer.swift
[103/243] Compiling MetalANNSCore HNSWBuilder.swift
[104/243] Compiling MetalANNSCore HNSWConfiguration.swift
[105/243] Compiling MetalANNSCore HNSWLayers.swift
[106/243] Compiling GRDB FTS3Pattern.swift
[107/243] Compiling GRDB FTS3TokenizerDescriptor.swift
[108/243] Compiling GRDB FTS4.swift
[109/243] Compiling GRDB FTS5.swift
[110/243] Compiling GRDB FTS5CustomTokenizer.swift
[111/243] Compiling GRDB FTS5Pattern.swift
[112/243] Compiling GRDB FTS5Tokenizer.swift
[113/243] Compiling GRDB FTS5TokenizerDescriptor.swift
[114/243] Compiling GRDB FTS5WrapperTokenizer.swift
[115/243] Compiling GRDB Fixits.swift
[116/243] Compiling GRDB JSONColumn.swift
[117/243] Compiling GRDB SQLJSONExpressible.swift
[118/243] Compiling GRDB SQLJSONFunctions.swift
[119/243] Compiling GRDB DatabaseMigrator.swift
[120/243] Compiling GRDB Migration.swift
[121/243] Compiling GRDB FTS3+QueryInterface.swift
[122/243] Compiling GRDB FTS5+QueryInterface.swift
[123/243] Compiling GRDB DatabaseValueConvertible+RawRepresentable.swift
[124/243] Compiling GRDB JSONRequiredEncoder.swift
[125/243] Compiling GRDB Optional.swift
[126/243] Compiling GRDB StandardLibrary.swift
[127/243] Compiling GRDB TransactionClock.swift
[128/243] Compiling GRDB TransactionObserver.swift
[129/243] Compiling GRDB WALSnapshot.swift
[130/243] Compiling GRDB WALSnapshotTransaction.swift
[131/243] Compiling GRDB Database+Dump.swift
[132/243] Compiling GRDB DatabaseReader+dump.swift
[133/243] Compiling GRDB DumpFormat.swift
[134/243] Compiling GRDB DebugDumpFormat.swift
[135/243] Compiling GRDB JSONDumpFormat.swift
[136/243] Compiling GRDB LineDumpFormat.swift
[137/243] Compiling GRDB ListDumpFormat.swift
[138/243] Compiling GRDB QuoteDumpFormat.swift
[139/243] Compiling GRDB FTS3.swift
[140/243] Compiling MetalANNSCore HNSWSearchCPU.swift
[141/243] Compiling MetalANNSCore AccelerateBackend.swift
[142/243] Compiling MetalANNSCore BatchIncrementalBuilder.swift
[143/243] Compiling MetalANNSCore BeamSearchCPU.swift
[144/243] Compiling MetalANNSCore BinaryVectorBuffer.swift
[145/243] Compiling MetalANNSCore BoundedExactScan.swift
[146/243] Compiling MetalANNSCore BoundedSelection.swift
[147/243] Compiling MetalANNSCore RepairConfiguration.swift
[148/243] Compiling MetalANNSCore SIMDDistance.swift
[149/243] Compiling MetalANNSCore SearchBufferPool.swift
[150/243] Compiling MetalANNSCore SearchFilter.swift
[151/243] Compiling MetalANNSCore SearchGPU.swift
[152/243] Compiling MetalANNSCore SearchResult.swift
[153/243] Compiling MetalANNSCore SoftDeletion.swift
[154/243] Compiling MetalANNSCore VectorBuffer.swift
[155/243] Compiling MetalANNSCore VectorStorage.swift
[156/243] Compiling MetalANNSCore resource_bundle_accessor.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/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>
[188/243] Compiling MetalANNSCore CommandQueuePool.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>
[189/243] Compiling MetalANNSCore ComputeBackend.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>
[190/243] Compiling MetalANNSCore DiskBackedVectorBuffer.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>
[191/243] Compiling MetalANNSCore Errors.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>
[192/243] Compiling MetalANNSCore FlatGPUSearch.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>
[193/243] Compiling MetalANNSCore MetalDevice.swift
[194/243] Compiling MetalANNSCore Metric.swift
[198/243] Compiling MetalANNSCore IDMap.swift
/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>
[199/243] Compiling MetalANNSCore IVFFlatSearch.swift
/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>
[200/243] Compiling MetalANNSCore IncrementalBuilder.swift
/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>
[201/243] Compiling MetalANNSCore IndexCompactor.swift
/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>
[202/243] Compiling MetalANNSCore IndexSerializer.swift
/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>
[203/243] Compiling MetalANNSCore PQVectorBuffer.swift
[204/243] Compiling MetalANNSCore ParallelFlatScan.swift
[205/243] Compiling MetalANNSCore PipelineCache.swift
[206/243] Compiling MetalANNSCore ProductQuantizer.swift
[207/243] Compiling MetalANNSCore QuantizedStorage.swift
[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] Emitting module MetalANNS
[242/267] Compiling MetalANNS StreamingDatabase.swift
[243/267] Compiling MetalANNS StreamingConfiguration.swift
[244/267] Compiling MetalANNS ShardedIndex.swift
[245/267] Compiling MetalANNS IDMapPersistenceCompat.swift
[246/267] Compiling MetalANNS Advanced.swift
[247/267] Compiling MetalANNS BatchExecution.swift
[248/267] Compiling MetalANNS IVFPQConfiguration.swift
[249/267] Compiling MetalANNS ANNSIndex+Persistence.swift
[250/267] Compiling MetalANNS ANNSIndex+Search.swift
[251/267] Compiling MetalANNS ANNSIndex.swift
[252/267] Compiling MetalANNS IVFPQIndex.swift
[253/267] Compiling MetalANNS IndexConfiguration.swift
[254/267] Compiling MetalANNS Reexports.swift
[255/267] Compiling MetalANNS SearchExecution.swift
[256/267] Compiling MetalANNS IndexMetrics.swift
[257/267] Compiling MetalANNS MetricsSnapshot.swift
[258/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 |         }
[259/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 |         }
[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 LatencyDistribution.swift
[267/279] Compiling MetalANNSBenchmarks MemoryProbe.swift
[268/279] Compiling MetalANNSBenchmarks IVFPQBenchmark.swift
[269/279] Compiling MetalANNSBenchmarks OpsBenchmark.swift
[270/279] Compiling MetalANNSBenchmarks EnvironmentProbe.swift
[271/279] Compiling MetalANNSBenchmarks FlatSearchProbe.swift
[272/280] Emitting module MetalANNSBenchmarks
[273/280] Compiling MetalANNSBenchmarks BenchmarkDataset.swift
[274/280] Compiling MetalANNSBenchmarks BenchmarkIDParser.swift
[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! (12.58s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/christopherkarani/metalanns/main
Repository:               christopherkarani/MetalANNS
Swift version used:       6.3
Target:                   MetalANNS
Extracting symbol information for 'MetalANNS'...
Finished extracting symbol information for 'MetalANNS'. (38.47s)
Building documentation for 'MetalANNS'...
warning: Parameter 'k' is missing documentation
  --> ../ANNSIndex+Search.swift:8:74-8:74
6  |     ///   - searchMode: Overrides `IndexConfiguration.searchMode` for this call.
   |           ╰─suggestion: Document 'k' parameter
7  |     ///     `nil` uses the configuration. `.fast` is approximate IVF-flat.
8  +     ///   - nprobe: Overrides `IndexConfiguration.ivfNProbe` for `.fast`.
9  |     public func search(
10 |         query: [Float],
warning: Parameter 'filter' is missing documentation
  --> ../ANNSIndex+Search.swift:8:74-8:74
6  |     ///   - searchMode: Overrides `IndexConfiguration.searchMode` for this call.
   |           ╰─suggestion: Document 'filter' parameter
7  |     ///     `nil` uses the configuration. `.fast` is approximate IVF-flat.
8  +     ///   - nprobe: Overrides `IndexConfiguration.ivfNProbe` for `.fast`.
9  |     public func search(
10 |         query: [Float],
warning: Parameter 'metric' is missing documentation
  --> ../ANNSIndex+Search.swift:8:74-8:74
6  |     ///   - searchMode: Overrides `IndexConfiguration.searchMode` for this call.
   |           ╰─suggestion: Document 'metric' parameter
7  |     ///     `nil` uses the configuration. `.fast` is approximate IVF-flat.
8  +     ///   - nprobe: Overrides `IndexConfiguration.ivfNProbe` for `.fast`.
9  |     public func search(
10 |         query: [Float],
warning: Parameter 'query' is missing documentation
  --> ../ANNSIndex+Search.swift:8:74-8:74
6  |     ///   - searchMode: Overrides `IndexConfiguration.searchMode` for this call.
   |           ╰─suggestion: Document 'query' parameter
7  |     ///     `nil` uses the configuration. `.fast` is approximate IVF-flat.
8  +     ///   - nprobe: Overrides `IndexConfiguration.ivfNProbe` for `.fast`.
9  |     public func search(
10 |         query: [Float],
warning: 'search(query:topK:metric:filter:)' is ambiguous at '/MetalANNS/VectorIndex'
  --> VectorIndex.md:9:35-9:68
7  | `VectorIndex` uses Swift's type system to prevent invalid operations at compile time:
8  | - You can only call ``VectorIndex/build(records:)`` on an `Unbuilt` index
9  + - You can only call ``VectorIndex/search(query:topK:metric:filter:)`` on a `Ready` or `ReadOnly` index
   |                                                                    ├─suggestion: Insert '-45nkt' for 'func search(query: [Float], topK: Int, metric: Metric? = nil, @QueryFilterBuilder filter: () -> QueryFilter = { .any }) async throws -> [VectorNeighbor<Key>]'
   |                                                                    ╰─suggestion: Insert '-8ktwr' for 'func search(query: [Float], topK: Int, metric: Metric? = nil, @QueryFilterBuilder filter: () -> QueryFilter = { .any }) async throws -> [VectorNeighbor<Key>]'
10 | - The ``VectorIndex/advanced`` escape hatch exposes the underlying `_GraphIndex` actor for power users
11 |
warning: 'search(query:topK:metric:filter:)' is ambiguous at '/MetalANNS/VectorIndex'
  --> VectorIndex.md:22:17-22:50
20 | ### Searching
21 |
22 + - ``VectorIndex/search(query:topK:metric:filter:)``
   |                                                  ├─suggestion: Insert '-45nkt' for 'func search(query: [Float], topK: Int, metric: Metric? = nil, @QueryFilterBuilder filter: () -> QueryFilter = { .any }) async throws -> [VectorNeighbor<Key>]'
   |                                                  ╰─suggestion: Insert '-8ktwr' for 'func search(query: [Float], topK: Int, metric: Metric? = nil, @QueryFilterBuilder filter: () -> QueryFilter = { .any }) async throws -> [VectorNeighbor<Key>]'
23 | - ``VectorIndex/batchSearch(queries:topK:metric:filter:)``
24 | - ``VectorIndex/rangeSearch(query:maxDistance:limit:metric:filter:)``
warning: 'batchSearch(queries:topK:metric:filter:)' is ambiguous at '/MetalANNS/VectorIndex'
  --> VectorIndex.md:23:17-23:57
21 |
22 | - ``VectorIndex/search(query:topK:metric:filter:)``
23 + - ``VectorIndex/batchSearch(queries:topK:metric:filter:)``
   |                                                         ├─suggestion: Insert '-1hhsv' for 'func batchSearch(queries: [[Float]], topK: Int, metric: Metric? = nil, @QueryFilterBuilder filter: () -> QueryFilter = { .any }) async throws -> [[VectorNeighbor<Key>]]'
   |                                                         ╰─suggestion: Insert '-73at2' for 'func batchSearch(queries: [[Float]], topK: Int, metric: Metric? = nil, @QueryFilterBuilder filter: () -> QueryFilter = { .any }) async throws -> [[VectorNeighbor<Key>]]'
24 | - ``VectorIndex/rangeSearch(query:maxDistance:limit:metric:filter:)``
25 |
warning: 'rangeSearch(query:maxDistance:limit:metric:filter:)' is ambiguous at '/MetalANNS/VectorIndex'
  --> VectorIndex.md:24:17-24:68
22 | - ``VectorIndex/search(query:topK:metric:filter:)``
23 | - ``VectorIndex/batchSearch(queries:topK:metric:filter:)``
24 + - ``VectorIndex/rangeSearch(query:maxDistance:limit:metric:filter:)``
   |                                                                    ├─suggestion: Insert '-2uzod' for 'func rangeSearch(query: [Float], maxDistance: Float, limit: Int = 1000, metric: Metric? = nil, @QueryFilterBuilder filter: () -> QueryFilter = { .any }) async throws -> [VectorNeighbor<Key>]'
   |                                                                    ╰─suggestion: Insert '-3vsd0' for 'func rangeSearch(query: [Float], maxDistance: Float, limit: Int = 1000, metric: Metric? = nil, @QueryFilterBuilder filter: () -> QueryFilter = { .any }) async throws -> [VectorNeighbor<Key>]'
25 |
26 | ### Mutation
warning: 'save(to:)' is ambiguous at '/MetalANNS/VectorIndex'
  --> VectorIndex.md:35:17-35:26
33 | ### Persistence
34 |
35 + - ``VectorIndex/save(to:)``
   |                          ├─suggestion: Insert '-435pq' for 'func save(to url: URL) async throws'
   |                          ╰─suggestion: Insert '-7b7ij' for 'func save(to url: URL) async throws'
36 | - ``VectorIndex/load(from:)``
37 | - ``VectorIndex/loadReadOnly(from:mode:)``
Finished building documentation for 'MetalANNS' (0.82s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/christopherkarani/metalanns/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Updating https://github.com/groue/GRDB.swift.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.37s)
Updated https://github.com/groue/GRDB.swift.git (0.71s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (2.76s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.02s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3810] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.11s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/7] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-69A768CDF2A0BEE1.txt
[6/54] Compiling Snippets SnippetParser.swift
[7/54] Compiling SymbolKit Identifier.swift
[8/54] Compiling SymbolKit KindIdentifier.swift
[9/54] Compiling SymbolKit Location.swift
[10/54] Compiling SymbolKit Mutability.swift
[11/54] Compiling SymbolKit Names.swift
[12/54] Compiling SymbolKit SPI.swift
[13/54] Compiling SymbolKit Snippet.swift
[14/54] Compiling SymbolKit Extension.swift
[15/58] Emitting module SymbolKit
[16/58] Compiling SymbolKit Mixin+Equals.swift
[17/58] Compiling SymbolKit Mixin+Hash.swift
[18/58] Compiling SymbolKit Mixin.swift
[19/58] Compiling SymbolKit LineList.swift
[20/58] Compiling SymbolKit Position.swift
[21/58] Compiling SymbolKit SemanticVersion.swift
[22/58] Compiling SymbolKit AccessControl.swift
[23/58] Compiling SymbolKit Availability.swift
[24/58] Compiling SymbolKit AvailabilityItem.swift
[25/58] Compiling SymbolKit Domain.swift
[26/58] Compiling Snippets SnippetLanguage.swift
[27/58] Compiling Snippets Snippet.swift
[28/58] Emitting module Snippets
[29/58] Compiling SymbolKit SourceRange.swift
[30/58] Compiling SymbolKit Metadata.swift
[31/58] Compiling SymbolKit Module.swift
[32/58] Compiling SymbolKit OperatingSystem.swift
[33/58] Compiling SymbolKit Platform.swift
[34/58] Compiling SymbolKit DeclarationFragments.swift
[35/58] Compiling SymbolKit Fragment.swift
[36/58] Compiling SymbolKit FragmentKind.swift
[37/58] Compiling SymbolKit FunctionParameter.swift
[38/58] Compiling SymbolKit FunctionSignature.swift
[39/58] Compiling SymbolKit GenericConstraint.swift
[40/58] Compiling SymbolKit GenericParameter.swift
[41/58] Compiling SymbolKit Generics.swift
[42/58] Compiling SymbolKit Namespace.swift
[43/58] Compiling SymbolKit Relationship.swift
[44/58] Compiling SymbolKit RelationshipKind.swift
[45/58] Compiling SymbolKit SourceOrigin.swift
[46/58] Compiling SymbolKit GenericConstraints.swift
[47/58] Compiling SymbolKit Swift.swift
[48/58] Compiling SymbolKit Symbol.swift
[49/58] Compiling SymbolKit SymbolKind.swift
[50/58] Compiling SymbolKit SymbolGraph.swift
[51/58] Compiling SymbolKit GraphCollector.swift
[52/58] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[53/58] Compiling SymbolKit UnifiedSymbol.swift
[54/58] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[55/58] Compiling SymbolKit UnifiedSymbolGraph.swift
[56/62] Compiling snippet_extract URL+Status.swift
[57/62] Compiling snippet_extract SymbolGraph+Snippet.swift
[58/62] Emitting module snippet_extract
[59/62] Compiling snippet_extract SnippetBuildCommand.swift
[59/62] Write Objects.LinkFileList
[60/62] Linking snippet-extract-tool
[61/62] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.53s)
Building for debugging...
[0/1] Write swift-version-69A768CDF2A0BEE1.txt
Build of target: 'MetalANNS' complete! (0.33s)
     490
4	/Users/admin/builder/spi-builder-workspace/.docs/christopherkarani/metalanns/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/christopherkarani/metalanns/main
File count: 490
Doc size:   4.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -christopherkarani-metalanns-main-94821f33.zip to presigned URL
Starting upload of 866299 bytes...
Upload completed successfully
Done.