The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MetalANNS, reference main (1a8344), with Swift 6.4 for macOS (SPM) on 6 Nov 2026 06:08:33 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/MetalANNS.git
Reference: 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 1a8344c Merge pull request #31 from christopherkarani/fix/downstream-gaps-0.4
Cloned https://github.com/christopherkarani/MetalANNS.git
Revision (git rev-parse @):
1a8344c543eda41e3f4bb9826b1fe2f3dc03eb1f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/christopherkarani/MetalANNS.git at main
Fetching https://github.com/groue/GRDB.swift.git
[1/114683] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git (18.52s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (28.22s)
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.12.0",
          "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/2661] Fetching metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git (1.42s)
Fetching https://github.com/groue/GRDB.swift.git from cache
Fetched https://github.com/groue/GRDB.swift.git from cache (0.67s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.12.0 (1.42s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.12.0
Creating working copy for https://github.com/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at main (1a8344c)
warning: '.resolve-product-dependencies': dependency 'metalanns' is not used by any target
Found 1 product dependencies
  - GRDB
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/christopherkarani/MetalANNS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 243]
[Planning deferred tasks]
[56 / 111] MetalANNS_MetalANNSCore
[67 / 111] MetalANNS_MetalANNSCore
[72 / 111] MetalANNS_MetalANNSCore
[73 / 111] MetalANNS_MetalANNSCore
[76 / 111]
[79 / 113] MetalANNSC
[84 / 122]
[86 / 122]
[88 / 122]
[90 / 127] MetalANNSCore
[109 / 227]
[115 / 227]
[128 / 227]
[133 / 227]
[135 / 227]
[142 / 227]
[146 / 227]
[151 / 227]
[157 / 227]
[160 / 227]
[164 / 227]
[166 / 227]
[168 / 227]
[180 / 227] GRDB
[182 / 227]
[183 / 227] GRDB
[185 / 227] GRDB
[190 / 227] GRDB
[190 / 227]
[199 / 227] MetalANNSCore
[201 / 227] MetalANNSCore
[208 / 228] MetalANNSCore
[208 / 228] MetalANNS
[216 / 239] MetalANNS
[218 / 239] MetalANNS
[220 / 239] MetalANNS
[228 / 240]
[232 / 240] MetalANNS
[232 / 240] MetalANNSBenchmarks-product
[241 / 251] MetalANNSBenchmarks-product
[242 / 251] MetalANNSBenchmarks-product
[247 / 251] MetalANNS-product
[247 / 251] MetalANNSBenchmarks-product
[249 / 251] MetalANNSBenchmarks-product
Build complete! (13.11 sec)
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/MetalANNS_MetalANNSCore.bundle/Contents/MacOS')
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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/FlatGPUSearch.swift:517:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 515 |                 ones.withUnsafeBufferPointer { onesBuffer in
 516 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 517 |                     cblas_sgemv(
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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/MetalANNS/Storage/SQLiteStructuredStore.swift:92:17: warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 90 |
 91 |         sqlite3_bind_text(statement, 1, key, -1, sqliteTransient)
 92 |         payload.withUnsafeBytes { rawBuffer in
    |                 `- warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 93 |             sqlite3_bind_blob(statement, 2, rawBuffer.baseAddress, Int32(rawBuffer.count), sqliteTransient)
 94 |         }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/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. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "grdb.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "7.0.0",
            "upper_bound" : "8.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/groue/GRDB.swift.git"
    }
  ],
  "manifest_display_name" : "MetalANNS",
  "name" : "MetalANNS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "MetalANNS",
      "targets" : [
        "MetalANNS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MetalANNSBenchmarks",
      "targets" : [
        "MetalANNSBenchmarks"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MetalANNSTests",
      "module_type" : "SwiftTarget",
      "name" : "MetalANNSTests",
      "path" : "Tests/MetalANNSTests",
      "product_dependencies" : [
        "GRDB"
      ],
      "sources" : [
        "ANNSIndexTests.swift",
        "BackendProtocolTests.swift",
        "BatchExecutionTests.swift",
        "BatchInsertTests.swift",
        "BatchSearchAdaptiveConcurrencyTests.swift",
        "BinaryQuantizationTests.swift",
        "BitonicSortTests.swift",
        "BoundedExactScanTests.swift",
        "BoundedSelectionTests.swift",
        "CommandQueuePoolTests.swift",
        "CompactionTests.swift",
        "ConcurrentSearchTests.swift",
        "ConfigurationTests.swift",
        "DeletionTests.swift",
        "DiskBackedTests.swift",
        "DistanceTests.swift",
        "DownstreamContractTests.swift",
        "ErrorModelTests.swift",
        "ExactSearchIntegrationTests.swift",
        "FilteredSearchTests.swift",
        "FlatSearchTests.swift",
        "Float16IntegrationTests.swift",
        "Float16Tests.swift",
        "FullGPUSearchTests.swift",
        "GPUADCSearchTests.swift",
        "GPUCPUParityTests.swift",
        "GraphBufferTests.swift",
        "GraphPrunerTests.swift",
        "GraphRepairTests.swift",
        "HNSWTests.swift",
        "IDMapTests.swift",
        "IVFFlatSearchTests.swift",
        "IVFPQComprehensiveTests.swift",
        "IVFPQGPUTests.swift",
        "IVFPQIndexTests.swift",
        "IVFPQPersistenceTests.swift",
        "IncrementalTests.swift",
        "IndexMetricsTests.swift",
        "IntegrationTests.swift",
        "MetadataTests.swift",
        "MetalContextMultiQueueTests.swift",
        "MetalDeviceTests.swift",
        "MetalDistanceTests.swift",
        "MetalSearchTests.swift",
        "MmapTests.swift",
        "MultiQueuePerformanceTests.swift",
        "NNDescentCPUTests.swift",
        "NNDescentGPUTests.swift",
        "PQVectorBufferTests.swift",
        "PersistenceTests.swift",
        "ProductQuantizerTests.swift",
        "QuantizedStorageTests.swift",
        "RangeSearchTests.swift",
        "RuntimeMetricTests.swift",
        "SIMDDistanceTests.swift",
        "SearchBufferPoolTests.swift",
        "SearchExecutionTests.swift",
        "SearchTests.swift",
        "ShardedIndexParallelBuildTests.swift",
        "ShardedIndexParallelSearchTests.swift",
        "ShardedIndexTests.swift",
        "Storage/IndexDatabaseTests.swift",
        "Storage/StreamingDatabaseTests.swift",
        "StreamingConfigurationTests.swift",
        "StreamingIndexFlushTests.swift",
        "StreamingIndexInsertTests.swift",
        "StreamingIndexMergeTests.swift",
        "StreamingIndexMetadataTests.swift",
        "StreamingIndexPersistenceTests.swift",
        "StreamingIndexSearchTests.swift",
        "TestUtilities.swift",
        "VectorBufferTests.swift"
      ],
      "target_dependencies" : [
        "MetalANNS",
        "MetalANNSCore",
        "MetalANNSC"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MetalANNSCore",
      "module_type" : "SwiftTarget",
      "name" : "MetalANNSCore",
      "path" : "Sources/MetalANNSCore",
      "product_memberships" : [
        "MetalANNS",
        "MetalANNSBenchmarks"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Distance.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/DistanceFloat16.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/FlatSearch.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/HammingDistance.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/NNDescent.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/NNDescentFloat16.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/PQDistance.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Search.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/SearchFloat16.metal",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Sort.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AccelerateBackend.swift",
        "BatchIncrementalBuilder.swift",
        "BeamSearchCPU.swift",
        "BinaryVectorBuffer.swift",
        "BoundedExactScan.swift",
        "BoundedSelection.swift",
        "CommandQueuePool.swift",
        "ComputeBackend.swift",
        "DiskBackedVectorBuffer.swift",
        "Errors.swift",
        "ExactGraphBuilder.swift",
        "FlatGPUSearch.swift",
        "Float16VectorBuffer.swift",
        "FullGPUSearch.swift",
        "GPUADCSearch.swift",
        "GraphBuffer.swift",
        "GraphPruner.swift",
        "GraphRepairer.swift",
        "HNSWBuilder.swift",
        "HNSWConfiguration.swift",
        "HNSWLayers.swift",
        "HNSWSearchCPU.swift",
        "IDMap.swift",
        "IVFFlatSearch.swift",
        "IncrementalBuilder.swift",
        "IndexCompactor.swift",
        "IndexSerializer.swift",
        "Int8CodeCache.swift",
        "KMeans.swift",
        "MetadataBuffer.swift",
        "MetadataStore.swift",
        "MetalBackend.swift",
        "MetalDevice.swift",
        "Metric.swift",
        "MmapIndexLoader.swift",
        "NNDescentCPU.swift",
        "NNDescentGPU.swift",
        "PQVectorBuffer.swift",
        "ParallelFlatScan.swift",
        "PipelineCache.swift",
        "ProductQuantizer.swift",
        "QuantizedStorage.swift",
        "RepairConfiguration.swift",
        "SIMDDistance.swift",
        "SearchBufferPool.swift",
        "SearchFilter.swift",
        "SearchGPU.swift",
        "SearchResult.swift",
        "SoftDeletion.swift",
        "StorageGrowth.swift",
        "VectorBuffer.swift",
        "VectorStorage.swift",
        "VectorValidation.swift"
      ],
      "target_dependencies" : [
        "MetalANNSC"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MetalANNSC",
      "module_type" : "ClangTarget",
      "name" : "MetalANNSC",
      "path" : "Sources/MetalANNSC",
      "product_memberships" : [
        "MetalANNS",
        "MetalANNSBenchmarks"
      ],
      "sources" : [
        "dots.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MetalANNSBenchmarks",
      "module_type" : "SwiftTarget",
      "name" : "MetalANNSBenchmarks",
      "path" : "Sources/MetalANNSBenchmarks",
      "product_memberships" : [
        "MetalANNSBenchmarks"
      ],
      "sources" : [
        "BenchmarkDataset.swift",
        "BenchmarkIDParser.swift",
        "BenchmarkReport.swift",
        "BenchmarkRunner.swift",
        "EnvironmentProbe.swift",
        "FlatSearchProbe.swift",
        "HotPathProfiler.swift",
        "IVFPQBenchmark.swift",
        "LatencyDistribution.swift",
        "MemoryProbe.swift",
        "OpsBenchmark.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "MetalANNS",
        "MetalANNSCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MetalANNS",
      "module_type" : "SwiftTarget",
      "name" : "MetalANNS",
      "path" : "Sources/MetalANNS",
      "product_dependencies" : [
        "GRDB"
      ],
      "product_memberships" : [
        "MetalANNS",
        "MetalANNSBenchmarks"
      ],
      "sources" : [
        "ANNSIndex+AccessGate.swift",
        "ANNSIndex+Build.swift",
        "ANNSIndex+Insert.swift",
        "ANNSIndex+Internal.swift",
        "ANNSIndex+Persistence.swift",
        "ANNSIndex+Search.swift",
        "ANNSIndex.swift",
        "Advanced.swift",
        "BatchExecution.swift",
        "IVFPQConfiguration.swift",
        "IVFPQIndex.swift",
        "IndexConfiguration.swift",
        "IndexMetrics.swift",
        "MetricsSnapshot.swift",
        "Reexports.swift",
        "SearchExecution.swift",
        "ShardedIndex.swift",
        "Storage/IDMapPersistenceCompat.swift",
        "Storage/IndexDatabase.swift",
        "Storage/SQLiteStructuredStore.swift",
        "Storage/StreamingDatabase.swift",
        "StreamingConfiguration.swift",
        "StreamingIndex.swift",
        "VectorIndex.swift"
      ],
      "target_dependencies" : [
        "MetalANNSCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/christopherkarani/metalanns/main
Repository:               christopherkarani/MetalANNS
Swift version used:       6.4
Target:                   MetalANNS
Extracting symbol information for 'MetalANNS'...
Finished extracting symbol information for 'MetalANNS'. (5.54s)
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  |     /// - Returns: Up to `k` results ordered by ascending `SearchResult.score`,
10 |     ///   which is a **distance** (lower is closer). See `Metric` for its meaning
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  |     /// - Returns: Up to `k` results ordered by ascending `SearchResult.score`,
10 |     ///   which is a **distance** (lower is closer). See `Metric` for its meaning
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  |     /// - Returns: Up to `k` results ordered by ascending `SearchResult.score`,
10 |     ///   which is a **distance** (lower is closer). See `Metric` for its meaning
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  |     /// - Returns: Up to `k` results ordered by ascending `SearchResult.score`,
10 |     ///   which is a **distance** (lower is closer). See `Metric` for its meaning
warning: 'nonFiniteVector(index:)' doesn't exist at '/MetalANNS/ANNSError'
  --> GettingStarted.md:52:58-52:81
50 | Any non-zero count works. With no more vectors than `degree`, the exact
51 | neighbour graph is built directly and fills in as you insert. Vectors with
52 + NaN or infinite components are rejected with ``ANNSError/nonFiniteVector(index:)``.
53 | Cancelling the calling task stops construction with `CancellationError`.
54 |
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.22s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/christopherkarani/metalanns/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/groue/GRDB.swift.git
[1/2345] Fetching swift-docc-plugin
Updated https://github.com/groue/GRDB.swift.git (0.67s)
Fetched https://github.com/swiftlang/swift-docc-plugin (1.35s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (2.08s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (2.10s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3863] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.05s)
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...
[Planning deferred tasks]
[20 / 43] Snippets
[30 / 92]
[35 / 92]
[38 / 92]
[39 / 92]
[43 / 92]
[45 / 92]
[48 / 92]
[51 / 92]
[53 / 92]
[54 / 92]
[65 / 92] SymbolKit
[66 / 92] Snippets
[84 / 93] SymbolKit
[92 / 97] SymbolKit
[93 / 97] snippet-extract-product
[95 / 97] snippet-extract-product
Build complete! (4.20 sec)
Building for debugging...
[Pre-planning 1 / 184]
[Planning deferred tasks]
warning: missing creator for mutated node: ('/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/MetalANNS_MetalANNSCore.bundle/Contents/MacOS')
[6 / 34] MetalANNSC
[8 / 33] MetalANNSCore
[18 / 44] MetalANNSCore
[19 / 55] GRDB
[20 / 55] MetalANNSCore
[24 / 55] MetalANNSCore
[25 / 51] MetalANNSCore
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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>
[28 / 51] GRDB
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/FlatGPUSearch.swift:517:21: warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 515 |                 ones.withUnsafeBufferPointer { onesBuffer in
 516 |                     guard let onesBase = onesBuffer.baseAddress else { return }
 517 |                     cblas_sgemv(
     |                     `- warning: 'cblas_sgemv' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[31 / 51] GRDB
/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. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-Sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
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>
[32 / 51] MetalANNSCore
[33 / 50] GRDB
[37 / 47] GRDB
[47 / 58] MetalANNS
[48 / 58] MetalANNS
[49 / 57] MetalANNS
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNS/Storage/SQLiteStructuredStore.swift:92:17: warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 90 |
 91 |         sqlite3_bind_text(statement, 1, key, -1, sqliteTransient)
 92 |         payload.withUnsafeBytes { rawBuffer in
    |                 `- warning: result of call to 'withUnsafeBytes' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 93 |             sqlite3_bind_blob(statement, 2, rawBuffer.baseAddress, Int32(rawBuffer.count), sqliteTransient)
 94 |         }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[51 / 53] MetalANNS
Build complete! (5.27 sec)
     504
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: 504
Doc size:   4.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -christopherkarani-metalanns-main-b6e65f1d.zip to presigned URL
Starting upload of 906970 bytes...
Upload completed successfully
Done.