Build Information
Successful build of MetalANNS, reference 0.3.0 (139604), with Swift 6.3 for macOS (SPM) on 24 Aug 2026 16:42:49 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/MetalANNS.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/christopherkarani/MetalANNS
* tag 0.3.0 -> FETCH_HEAD
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 0.3.0
Fetching https://github.com/groue/GRDB.swift.git
[1/113869] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (30.08s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (33.32s)
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.43s)
Fetching https://github.com/groue/GRDB.swift.git from cache
Fetched https://github.com/groue/GRDB.swift.git from cache (0.72s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.11.1 (1.45s)
Creating working copy for https://github.com/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.3.0 (1396049)
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
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
[3/22] Write MetalANNSBenchmarks-entitlement.plist
[3/22] Copying Distance.metal
[5/22] Copying Sort.metal
[6/22] Copying SearchFloat16.metal
[6/22] Copying DistanceFloat16.metal
[6/22] Copying Search.metal
[6/22] Copying NNDescentFloat16.metal
[10/22] Copying NNDescent.metal
[11/22] Write sources
[12/22] Copying FlatSearch.metal
[12/22] Copying HammingDistance.metal
[14/22] Copying PQDistance.metal
[15/22] Copying Info.plist
[15/22] Copying PrivacyInfo.xcprivacy
[17/22] Write swift-version-69A768CDF2A0BEE1.txt
[18/81] Compiling MetalANNSC dots.c
[20/222] Emitting module GRDB
[21/238] Emitting module MetalANNSCore
[22/243] Compiling MetalANNSCore CommandQueuePool.swift
[23/243] Compiling MetalANNSCore ComputeBackend.swift
[24/243] Compiling MetalANNSCore DiskBackedVectorBuffer.swift
[25/243] Compiling MetalANNSCore Errors.swift
[26/243] Compiling MetalANNSCore FlatGPUSearch.swift
[27/243] Compiling MetalANNSCore RepairConfiguration.swift
[28/243] Compiling MetalANNSCore SIMDDistance.swift
[29/243] Compiling MetalANNSCore SearchBufferPool.swift
[30/243] Compiling MetalANNSCore SearchFilter.swift
[31/243] Compiling MetalANNSCore SearchGPU.swift
[32/243] Compiling MetalANNSCore Int8CodeCache.swift
[33/243] Compiling MetalANNSCore KMeans.swift
[34/243] Compiling MetalANNSCore MetadataBuffer.swift
[35/243] Compiling MetalANNSCore MetadataStore.swift
[36/243] Compiling MetalANNSCore MetalBackend.swift
[37/243] Compiling MetalANNSCore PQVectorBuffer.swift
[38/243] Compiling MetalANNSCore ParallelFlatScan.swift
[39/243] Compiling MetalANNSCore PipelineCache.swift
[40/243] Compiling MetalANNSCore ProductQuantizer.swift
[41/243] Compiling MetalANNSCore QuantizedStorage.swift
[42/243] Compiling MetalANNSCore AccelerateBackend.swift
[43/243] Compiling MetalANNSCore BatchIncrementalBuilder.swift
[44/243] Compiling MetalANNSCore BeamSearchCPU.swift
[45/243] Compiling MetalANNSCore BinaryVectorBuffer.swift
[46/243] Compiling MetalANNSCore BoundedExactScan.swift
[47/243] Compiling MetalANNSCore BoundedSelection.swift
[48/243] Compiling MetalANNSCore IDMap.swift
[49/243] Compiling MetalANNSCore IVFFlatSearch.swift
[50/243] Compiling MetalANNSCore IncrementalBuilder.swift
[51/243] Compiling MetalANNSCore IndexCompactor.swift
[52/243] Compiling MetalANNSCore IndexSerializer.swift
[53/243] Compiling MetalANNSCore MetalDevice.swift
[54/243] Compiling MetalANNSCore Metric.swift
[55/243] Compiling MetalANNSCore MmapIndexLoader.swift
[56/243] Compiling MetalANNSCore GraphRepairer.swift
[57/243] Compiling MetalANNSCore HNSWBuilder.swift
[58/243] Compiling MetalANNSCore HNSWConfiguration.swift
[59/243] Compiling MetalANNSCore HNSWLayers.swift
[60/243] Compiling MetalANNSCore HNSWSearchCPU.swift
[61/243] Compiling MetalANNSCore SearchResult.swift
[62/243] Compiling MetalANNSCore SoftDeletion.swift
[63/243] Compiling MetalANNSCore VectorBuffer.swift
[64/243] Compiling MetalANNSCore VectorStorage.swift
[65/243] Compiling MetalANNSCore resource_bundle_accessor.swift
[66/243] Compiling MetalANNSCore Float16VectorBuffer.swift
[67/243] Compiling MetalANNSCore FullGPUSearch.swift
[68/243] Compiling MetalANNSCore GPUADCSearch.swift
[69/243] Compiling MetalANNSCore GraphBuffer.swift
[70/243] Compiling MetalANNSCore GraphPruner.swift
[76/243] Compiling GRDB ReadWriteLock.swift
[77/243] Compiling GRDB ReceiveValuesOn.swift
[78/243] Compiling GRDB Refinable.swift
[79/243] Compiling GRDB Utils.swift
[80/243] Compiling GRDB DatabaseCancellable.swift
[81/243] Compiling GRDB ValueConcurrentObserver.swift
[82/243] Compiling GRDB ValueWriteOnlyObserver.swift
[83/243] Compiling GRDB Fetch.swift
[84/243] Compiling GRDB Map.swift
[85/243] Compiling GRDB RemoveDuplicates.swift
[86/243] Compiling GRDB Trace.swift
[87/243] Compiling GRDB ValueReducer.swift
[88/243] Compiling GRDB SharedValueObservation.swift
[89/243] Compiling GRDB ValueObservation.swift
[90/243] Compiling GRDB ValueObservationScheduler.swift
[91/243] Compiling GRDB resource_bundle_accessor.swift
[95/243] Compiling MetalANNSCore NNDescentCPU.swift
[96/243] Compiling MetalANNSCore NNDescentGPU.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>
/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>
[118/243] Compiling GRDB StatementAuthorizer.swift
[119/243] Compiling GRDB StatementColumnConvertible.swift
[120/243] Compiling GRDB CGFloat.swift
[121/243] Compiling GRDB Data.swift
[122/243] Compiling GRDB DatabaseDateComponents.swift
[123/243] Compiling GRDB DatabaseValueConvertible+ReferenceConvertible.swift
[124/243] Compiling GRDB Date.swift
[125/243] Compiling GRDB Decimal.swift
[126/243] Compiling GRDB NSData.swift
[127/243] Compiling GRDB NSNull.swift
[128/243] Compiling GRDB NSNumber.swift
[129/243] Compiling GRDB NSString.swift
[130/243] Compiling GRDB SQLiteDateParser.swift
[131/243] Compiling GRDB URL.swift
[132/243] Compiling GRDB UUID.swift
[133/243] Compiling GRDB DatabaseValueConvertible+Decodable.swift
[134/243] Compiling GRDB DatabaseValueConvertible+Encodable.swift
[135/243] Compiling GRDB Database+SchemaDefinition.swift
[136/243] Compiling GRDB ForeignKeyDefinition.swift
[137/243] Compiling GRDB IndexDefinition.swift
[138/243] Compiling GRDB TableAlteration.swift
[139/243] Compiling GRDB TableDefinition.swift
[140/243] Compiling GRDB VirtualTableModule.swift
[141/243] Compiling GRDB TableRecord+Association.swift
[142/243] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[143/243] Compiling GRDB EncodableRecord+Encodable.swift
[144/243] Compiling GRDB EncodableRecord.swift
[145/243] Compiling GRDB FetchableRecord+Decodable.swift
[146/243] Compiling GRDB FetchableRecord+TableRecord.swift
[147/243] Compiling GRDB FetchableRecord.swift
[148/243] Compiling GRDB MutablePersistableRecord+DAO.swift
[149/243] Compiling GRDB MutablePersistableRecord+Delete.swift
[150/243] Compiling GRDB MutablePersistableRecord+Insert.swift
[151/243] Compiling GRDB MutablePersistableRecord+Save.swift
[152/243] Compiling GRDB DatabaseSchemaSource.swift
[153/243] Compiling GRDB DatabaseSnapshot.swift
[154/243] Compiling GRDB DatabaseSnapshotPool.swift
[155/243] Compiling GRDB DatabaseValue.swift
[156/243] Compiling GRDB DatabaseValueConvertible.swift
[157/243] Compiling GRDB DatabaseWriter.swift
[158/243] Compiling GRDB DispatchQueueActor.swift
[159/243] Compiling GRDB FetchRequest.swift
[160/243] Compiling GRDB Row.swift
[161/243] Compiling GRDB RowAdapter.swift
[162/243] Compiling GRDB RowDecodingError.swift
[163/243] Compiling GRDB SQL.swift
[164/243] Compiling GRDB SQLInterpolation.swift
[165/243] Compiling GRDB SQLRequest.swift
[166/243] Compiling GRDB SchedulingWatchdog.swift
[167/243] Compiling GRDB SerializedDatabase.swift
[168/243] Compiling GRDB Statement.swift
[169/243] Compiling GRDB MutablePersistableRecord+Update.swift
[170/243] Compiling GRDB MutablePersistableRecord+Upsert.swift
[171/243] Compiling GRDB MutablePersistableRecord.swift
[172/243] Compiling GRDB PersistableRecord+Insert.swift
[173/243] Compiling GRDB PersistableRecord+Save.swift
[174/243] Compiling GRDB PersistableRecord+Upsert.swift
[175/243] Compiling GRDB PersistableRecord.swift
[176/243] Compiling GRDB Record.swift
[177/243] Compiling GRDB TableRecord.swift
[178/243] Compiling GRDB CaseInsensitiveIdentifier.swift
[179/243] Compiling GRDB Inflections+English.swift
[180/243] Compiling GRDB Inflections.swift
[181/243] Compiling GRDB Mutex.swift
[182/243] Compiling GRDB OnDemandFuture.swift
[183/243] Compiling GRDB OrderedDictionary.swift
[184/243] Compiling GRDB Pool.swift
[185/243] Compiling GRDB SQLForeignKeyRequest.swift
[186/243] Compiling GRDB SQLFunctions.swift
[187/243] Compiling GRDB SQLOperators.swift
[188/243] Compiling GRDB SQLOrdering.swift
[189/243] Compiling GRDB SQLRelation.swift
[190/243] Compiling GRDB SQLSelection.swift
[191/243] Compiling GRDB SQLSubquery.swift
[192/243] Compiling GRDB Table.swift
[193/243] Compiling GRDB SQLColumnGenerator.swift
[194/243] Compiling GRDB SQLGenerationContext.swift
[195/243] Compiling GRDB SQLIndexGenerator.swift
[196/243] Compiling GRDB SQLQueryGenerator.swift
[197/243] Compiling GRDB SQLTableAlterationGenerator.swift
[198/243] Compiling GRDB SQLTableGenerator.swift
[199/243] Compiling GRDB TableAlias.swift
[200/243] Compiling GRDB SQLInterpolation+QueryInterface.swift
[201/243] Compiling GRDB ColumnDefinition.swift
[219/243] Compiling GRDB Configuration.swift
[220/243] Compiling GRDB Cursor.swift
[221/243] Compiling GRDB Database+SQLCipher.swift
[222/243] Compiling GRDB Database+Schema.swift
[223/243] Compiling GRDB Database+Statements.swift
[224/243] Compiling GRDB Database.swift
[225/243] Compiling GRDB DatabaseBackupProgress.swift
[226/243] Compiling GRDB DatabaseCollation.swift
[227/243] Compiling GRDB DatabaseError.swift
[228/243] Compiling GRDB DatabaseFunction.swift
[229/243] Compiling GRDB DatabasePool.swift
[230/243] Compiling GRDB DatabasePublishers.swift
[231/243] Compiling GRDB DatabaseQueue.swift
[232/243] Compiling GRDB DatabaseReader.swift
[233/243] Compiling GRDB DatabaseRegion.swift
[234/243] Compiling GRDB DatabaseRegionObservation.swift
[235/243] Compiling GRDB DatabaseSchemaCache.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>
[241/265] Emitting module MetalANNS
[242/267] Compiling MetalANNS ShardedIndex.swift
[243/267] Compiling MetalANNS IDMapPersistenceCompat.swift
[244/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 | }
[245/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 | }
[246/267] Compiling MetalANNS Advanced.swift
[247/267] Compiling MetalANNS BatchExecution.swift
[248/267] Compiling MetalANNS IVFPQConfiguration.swift
[249/267] Compiling MetalANNS IndexMetrics.swift
[250/267] Compiling MetalANNS MetricsSnapshot.swift
[251/267] Compiling MetalANNS IVFPQIndex.swift
[252/267] Compiling MetalANNS IndexConfiguration.swift
[253/267] Compiling MetalANNS StreamingDatabase.swift
[254/267] Compiling MetalANNS StreamingConfiguration.swift
[255/267] Compiling MetalANNS ANNSIndex+Persistence.swift
[256/267] Compiling MetalANNS ANNSIndex+Search.swift
[257/267] Compiling MetalANNS ANNSIndex.swift
[258/267] Compiling MetalANNS ANNSIndex+Build.swift
[259/267] Compiling MetalANNS ANNSIndex+Insert.swift
[260/267] Compiling MetalANNS ANNSIndex+Internal.swift
[261/267] Compiling MetalANNS Reexports.swift
[262/267] Compiling MetalANNS SearchExecution.swift
[263/267] Compiling MetalANNS StreamingIndex.swift
[264/267] Compiling MetalANNS VectorIndex.swift
[265/279] Compiling MetalANNSBenchmarks IVFPQBenchmark.swift
[266/279] Compiling MetalANNSBenchmarks EnvironmentProbe.swift
[267/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>
[268/279] Compiling MetalANNSBenchmarks LatencyDistribution.swift
[269/279] Compiling MetalANNSBenchmarks FlatSearchProbe.swift
[270/279] Compiling MetalANNSBenchmarks OpsBenchmark.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! (12.34s)
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/0.3.0
Repository: christopherkarani/MetalANNS
Swift version used: 6.3
Target: MetalANNS
Extracting symbol information for 'MetalANNS'...
Finished extracting symbol information for 'MetalANNS'. (40.43s)
Building documentation for 'MetalANNS'...
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: 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 '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: '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.69s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/christopherkarani/metalanns/0.3.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/groue/GRDB.swift.git
Updated https://github.com/groue/GRDB.swift.git (0.74s)
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.47s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (2.16s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.08s)
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.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.13s)
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
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
Building for debugging...
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-69A768CDF2A0BEE1.txt
[6/54] Emitting module SymbolKit
[7/58] Compiling SymbolKit GenericConstraint.swift
[8/58] Compiling SymbolKit GenericParameter.swift
[9/58] Compiling SymbolKit Generics.swift
[10/58] Compiling SymbolKit Namespace.swift
[11/58] Compiling SymbolKit SourceRange.swift
[12/58] Compiling SymbolKit Metadata.swift
[13/58] Compiling SymbolKit Module.swift
[14/58] Compiling SymbolKit OperatingSystem.swift
[15/58] Compiling SymbolKit Platform.swift
[16/58] Compiling Snippets SnippetLanguage.swift
[17/58] Compiling Snippets SnippetParser.swift
[18/58] Emitting module Snippets
[19/58] Compiling Snippets Snippet.swift
[20/58] Compiling SymbolKit DeclarationFragments.swift
[21/58] Compiling SymbolKit Fragment.swift
[22/58] Compiling SymbolKit FragmentKind.swift
[23/58] Compiling SymbolKit FunctionParameter.swift
[24/58] Compiling SymbolKit FunctionSignature.swift
[25/58] Compiling SymbolKit SemanticVersion.swift
[26/58] Compiling SymbolKit AccessControl.swift
[27/58] Compiling SymbolKit Availability.swift
[28/58] Compiling SymbolKit AvailabilityItem.swift
[29/58] Compiling SymbolKit Domain.swift
[30/58] Compiling SymbolKit Relationship.swift
[31/58] Compiling SymbolKit RelationshipKind.swift
[32/58] Compiling SymbolKit SourceOrigin.swift
[33/58] Compiling SymbolKit GenericConstraints.swift
[34/58] Compiling SymbolKit Swift.swift
[35/58] Compiling SymbolKit Mixin+Equals.swift
[36/58] Compiling SymbolKit Mixin+Hash.swift
[37/58] Compiling SymbolKit Mixin.swift
[38/58] Compiling SymbolKit LineList.swift
[39/58] Compiling SymbolKit Position.swift
[40/58] Compiling SymbolKit Symbol.swift
[41/58] Compiling SymbolKit SymbolKind.swift
[42/58] Compiling SymbolKit SymbolGraph.swift
[43/58] Compiling SymbolKit GraphCollector.swift
[44/58] Compiling SymbolKit Identifier.swift
[45/58] Compiling SymbolKit KindIdentifier.swift
[46/58] Compiling SymbolKit Location.swift
[47/58] Compiling SymbolKit Mutability.swift
[48/58] Compiling SymbolKit Names.swift
[49/58] Compiling SymbolKit SPI.swift
[50/58] Compiling SymbolKit Snippet.swift
[51/58] Compiling SymbolKit Extension.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.62s)
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/0.3.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/christopherkarani/metalanns/0.3.0
File count: 490
Doc size: 4.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -christopherkarani-metalanns-0.3.0-9404cbca.zip to presigned URL
Starting upload of 864820 bytes...
Upload completed successfully
Done.