The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MetalANNS, reference main (1a8344), with Swift 6.1 for macOS (SPM) on 6 Nov 2026 18:31:22 UTC.

Build Command

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

Build Log

167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
    |                                                                 `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
168 |
169 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:276:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
274 |         }
275 |
276 |         let pipeline = try await context.pipelineCache.pipeline(for: "bitonic_sort_neighbors")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
277 |         let threadgroupWidth = degree / 2
278 |         guard threadgroupWidth <= pipeline.maxTotalThreadsPerThreadgroup else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:17:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 15 |         }
 16 |
 17 |         let pipeline = try await context.pipelineCache.pipeline(for: "random_init")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 18 |
 19 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import os.log
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:56:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 54 |
 55 |         let kernelName = vectors.isFloat16 ? "compute_initial_distances_f16" : "compute_initial_distances"
 56 |         let pipeline = try await context.pipelineCache.pipeline(for: kernelName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 57 |
 58 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:165:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
163 |         }
164 |
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
    |                                                               `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:167:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
    |                                                                 `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
168 |
169 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:276:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
274 |         }
275 |
276 |         let pipeline = try await context.pipelineCache.pipeline(for: "bitonic_sort_neighbors")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
277 |         let threadgroupWidth = degree / 2
278 |         guard threadgroupWidth <= pipeline.maxTotalThreadsPerThreadgroup else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:17:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 15 |         }
 16 |
 17 |         let pipeline = try await context.pipelineCache.pipeline(for: "random_init")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 18 |
 19 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import os.log
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:56:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 54 |
 55 |         let kernelName = vectors.isFloat16 ? "compute_initial_distances_f16" : "compute_initial_distances"
 56 |         let pipeline = try await context.pipelineCache.pipeline(for: kernelName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 57 |
 58 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:165:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
163 |         }
164 |
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
    |                                                               `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:167:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
    |                                                                 `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
168 |
169 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:276:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
274 |         }
275 |
276 |         let pipeline = try await context.pipelineCache.pipeline(for: "bitonic_sort_neighbors")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
277 |         let threadgroupWidth = degree / 2
278 |         guard threadgroupWidth <= pipeline.maxTotalThreadsPerThreadgroup else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/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.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
/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.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
/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.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
/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.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
/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.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
/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.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
/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
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
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
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
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)
/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
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
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
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
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)
/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
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
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
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
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)
/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
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
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
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
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)
/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
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
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
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
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)
/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
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
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
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
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)
Fetching https://github.com/groue/GRDB.swift.git
[1/114683] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (25.95s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.12.0 (29.09s)
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/207] Compiling GRDB DatabaseBackupProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
[3/207] Compiling GRDB DatabaseCollation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
[4/207] Compiling GRDB DatabaseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
[5/207] Compiling GRDB DatabaseFunction.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
[6/207] Compiling GRDB DatabasePool.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:139:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
137 |         }
138 |
139 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
140 |
141 |         let neighborLength = neighborIDs.count * MemoryLayout<UInt32>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum SearchGPU {
[7/212] Emitting module MetalANNSCore
[8/212] Compiling GRDB Configuration.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
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
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
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
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)
[9/212] Compiling GRDB Cursor.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
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
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
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
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)
[10/212] Compiling GRDB Database+SQLCipher.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
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
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
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
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)
[11/212] Compiling GRDB Database+Schema.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
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
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
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
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)
[12/212] Compiling GRDB Database+Statements.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
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
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
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
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)
[13/212] Compiling GRDB Database.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
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
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
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
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)
[14/212] Compiling GRDB CommonTableExpression.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:118:61: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
116 |         }
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
    |                                                             `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
120 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum GPUADCSearch {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:119:60: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
    |                                                            `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
120 |
121 |         var mU32 = UInt32(m)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[15/212] Compiling GRDB QueryInterfaceRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:118:61: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
116 |         }
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
    |                                                             `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
120 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum GPUADCSearch {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:119:60: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
    |                                                            `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
120 |
121 |         var mU32 = UInt32(m)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[16/212] Compiling GRDB RequestProtocols.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:118:61: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
116 |         }
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
    |                                                             `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
120 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum GPUADCSearch {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:119:60: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
    |                                                            `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
120 |
121 |         var mU32 = UInt32(m)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[17/212] Compiling GRDB Column.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:118:61: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
116 |         }
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
    |                                                             `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
120 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum GPUADCSearch {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:119:60: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
    |                                                            `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
120 |
121 |         var mU32 = UInt32(m)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[18/212] Compiling GRDB DatabasePromise.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:118:61: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
116 |         }
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
    |                                                             `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
120 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum GPUADCSearch {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:119:60: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
    |                                                            `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
120 |
121 |         var mU32 = UInt32(m)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[19/212] Compiling GRDB SQLAssociation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:118:61: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
116 |         }
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
    |                                                             `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
120 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 |
  4 | public enum GPUADCSearch {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/GPUADCSearch.swift:119:60: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
117 |
118 |         let tablePipeline = try await context.pipelineCache.pipeline(for: "pq_compute_distance_table")
119 |         let scanPipeline = try await context.pipelineCache.pipeline(for: "pq_adc_scan")
    |                                                            `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
120 |
121 |         var mU32 = UInt32(m)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[20/212] Compiling GRDB HasManyAssociation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:45:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
43 |         }
44 |
45 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
   |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
46 |
47 |         let scalarSize = MemoryLayout<Float>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 1 | import Metal
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 2 |
 3 | public final class MetalBackend: ComputeBackend, @unchecked Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:90:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
 88 |         try encode(commandBuffer)
 89 |         commandBuffer.commit()
 90 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
 91 |
 92 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:105:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |         try encode(commandBuffer)
104 |         commandBuffer.commit()
105 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
106 |
107 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:99:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
 97 |     /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
 98 |     public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
 99 |         let queue = await queuePool.next()
    |                                     `- error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
100 |         guard let commandBuffer = queue.makeCommandBuffer() else {
101 |             throw ANNSError.gpuResourceExhausted("Failed to create command buffer from pool queue")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 | import os.log
  4 |
[21/212] Compiling GRDB HasManyThroughAssociation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:45:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
43 |         }
44 |
45 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
   |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
46 |
47 |         let scalarSize = MemoryLayout<Float>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 1 | import Metal
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 2 |
 3 | public final class MetalBackend: ComputeBackend, @unchecked Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:90:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
 88 |         try encode(commandBuffer)
 89 |         commandBuffer.commit()
 90 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
 91 |
 92 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:105:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |         try encode(commandBuffer)
104 |         commandBuffer.commit()
105 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
106 |
107 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:99:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
 97 |     /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
 98 |     public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
 99 |         let queue = await queuePool.next()
    |                                     `- error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
100 |         guard let commandBuffer = queue.makeCommandBuffer() else {
101 |             throw ANNSError.gpuResourceExhausted("Failed to create command buffer from pool queue")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 | import os.log
  4 |
[22/212] Compiling GRDB HasOneAssociation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:45:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
43 |         }
44 |
45 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
   |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
46 |
47 |         let scalarSize = MemoryLayout<Float>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 1 | import Metal
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 2 |
 3 | public final class MetalBackend: ComputeBackend, @unchecked Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:90:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
 88 |         try encode(commandBuffer)
 89 |         commandBuffer.commit()
 90 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
 91 |
 92 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:105:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |         try encode(commandBuffer)
104 |         commandBuffer.commit()
105 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
106 |
107 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:99:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
 97 |     /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
 98 |     public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
 99 |         let queue = await queuePool.next()
    |                                     `- error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
100 |         guard let commandBuffer = queue.makeCommandBuffer() else {
101 |             throw ANNSError.gpuResourceExhausted("Failed to create command buffer from pool queue")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 | import os.log
  4 |
[23/212] Compiling GRDB HasOneThroughAssociation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:45:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
43 |         }
44 |
45 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
   |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
46 |
47 |         let scalarSize = MemoryLayout<Float>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 1 | import Metal
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 2 |
 3 | public final class MetalBackend: ComputeBackend, @unchecked Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:90:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
 88 |         try encode(commandBuffer)
 89 |         commandBuffer.commit()
 90 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
 91 |
 92 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:105:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |         try encode(commandBuffer)
104 |         commandBuffer.commit()
105 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
106 |
107 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:99:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
 97 |     /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
 98 |     public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
 99 |         let queue = await queuePool.next()
    |                                     `- error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
100 |         guard let commandBuffer = queue.makeCommandBuffer() else {
101 |             throw ANNSError.gpuResourceExhausted("Failed to create command buffer from pool queue")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 | import os.log
  4 |
[24/212] Compiling GRDB JoinAssociation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:45:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
43 |         }
44 |
45 |         let pipeline = try await context.pipelineCache.pipeline(for: functionName)
   |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
46 |
47 |         let scalarSize = MemoryLayout<Float>.stride
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalBackend.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 1 | import Metal
   | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
 2 |
 3 | public final class MetalBackend: ComputeBackend, @unchecked Sendable {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:90:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
 88 |         try encode(commandBuffer)
 89 |         commandBuffer.commit()
 90 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
 91 |
 92 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:105:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |         try encode(commandBuffer)
104 |         commandBuffer.commit()
105 |         await commandBuffer.completed()
    |                             `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
106 |
107 |         if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:99:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
 97 |     /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
 98 |     public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
 99 |         let queue = await queuePool.next()
    |                                     `- error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
100 |         guard let commandBuffer = queue.makeCommandBuffer() else {
101 |             throw ANNSError.gpuResourceExhausted("Failed to create command buffer from pool queue")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:2:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Foundation
  2 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  3 | import os.log
  4 |
[25/212] Compiling MetalANNSCore StorageGrowth.swift
[26/212] Compiling MetalANNSCore VectorBuffer.swift
[27/212] Compiling MetalANNSCore VectorStorage.swift
[28/212] Compiling MetalANNSCore VectorValidation.swift
[29/212] Compiling MetalANNSCore resource_bundle_accessor.swift
[30/212] Compiling GRDB DatabasePublishers.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:17:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 15 |         }
 16 |
 17 |         let pipeline = try await context.pipelineCache.pipeline(for: "random_init")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 18 |
 19 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import os.log
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:56:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 54 |
 55 |         let kernelName = vectors.isFloat16 ? "compute_initial_distances_f16" : "compute_initial_distances"
 56 |         let pipeline = try await context.pipelineCache.pipeline(for: kernelName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 57 |
 58 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:165:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
163 |         }
164 |
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
    |                                                               `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:167:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
    |                                                                 `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
168 |
169 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:276:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
274 |         }
275 |
276 |         let pipeline = try await context.pipelineCache.pipeline(for: "bitonic_sort_neighbors")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
277 |         let threadgroupWidth = degree / 2
278 |         guard threadgroupWidth <= pipeline.maxTotalThreadsPerThreadgroup else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[31/212] Compiling GRDB DatabaseQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:17:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 15 |         }
 16 |
 17 |         let pipeline = try await context.pipelineCache.pipeline(for: "random_init")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 18 |
 19 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import os.log
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:56:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 54 |
 55 |         let kernelName = vectors.isFloat16 ? "compute_initial_distances_f16" : "compute_initial_distances"
 56 |         let pipeline = try await context.pipelineCache.pipeline(for: kernelName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 57 |
 58 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:165:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
163 |         }
164 |
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
    |                                                               `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:167:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
    |                                                                 `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
168 |
169 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:276:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
274 |         }
275 |
276 |         let pipeline = try await context.pipelineCache.pipeline(for: "bitonic_sort_neighbors")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
277 |         let threadgroupWidth = degree / 2
278 |         guard threadgroupWidth <= pipeline.maxTotalThreadsPerThreadgroup else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[32/212] Compiling GRDB DatabaseReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:17:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 15 |         }
 16 |
 17 |         let pipeline = try await context.pipelineCache.pipeline(for: "random_init")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 18 |
 19 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import os.log
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:56:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 54 |
 55 |         let kernelName = vectors.isFloat16 ? "compute_initial_distances_f16" : "compute_initial_distances"
 56 |         let pipeline = try await context.pipelineCache.pipeline(for: kernelName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 57 |
 58 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:165:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
163 |         }
164 |
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
    |                                                               `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:167:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
    |                                                                 `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
168 |
169 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:276:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
274 |         }
275 |
276 |         let pipeline = try await context.pipelineCache.pipeline(for: "bitonic_sort_neighbors")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
277 |         let threadgroupWidth = degree / 2
278 |         guard threadgroupWidth <= pipeline.maxTotalThreadsPerThreadgroup else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[33/212] Compiling GRDB DatabaseRegion.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:17:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 15 |         }
 16 |
 17 |         let pipeline = try await context.pipelineCache.pipeline(for: "random_init")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 18 |
 19 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import os.log
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:56:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 54 |
 55 |         let kernelName = vectors.isFloat16 ? "compute_initial_distances_f16" : "compute_initial_distances"
 56 |         let pipeline = try await context.pipelineCache.pipeline(for: kernelName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 57 |
 58 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:165:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
163 |         }
164 |
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
    |                                                               `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:167:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
    |                                                                 `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
168 |
169 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:276:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
274 |         }
275 |
276 |         let pipeline = try await context.pipelineCache.pipeline(for: "bitonic_sort_neighbors")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
277 |         let threadgroupWidth = degree / 2
278 |         guard threadgroupWidth <= pipeline.maxTotalThreadsPerThreadgroup else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[34/212] Compiling GRDB DatabaseRegionObservation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:17:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 15 |         }
 16 |
 17 |         let pipeline = try await context.pipelineCache.pipeline(for: "random_init")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 18 |
 19 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:1:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  1 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import os.log
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:56:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 54 |
 55 |         let kernelName = vectors.isFloat16 ? "compute_initial_distances_f16" : "compute_initial_distances"
 56 |         let pipeline = try await context.pipelineCache.pipeline(for: kernelName)
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
 57 |
 58 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:165:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
163 |         }
164 |
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
    |                                                               `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:167:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
165 |         let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
166 |         let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
167 |         let localJoinPipeline = try await context.pipelineCache.pipeline(for: localJoinKernel)
    |                                                                 `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
168 |
169 |         var n = UInt32(nodeCount)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/NNDescentGPU.swift:276:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
274 |         }
275 |
276 |         let pipeline = try await context.pipelineCache.pipeline(for: "bitonic_sort_neighbors")
    |                                                        `- error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
277 |         let threadgroupWidth = degree / 2
278 |         guard threadgroupWidth <= pipeline.maxTotalThreadsPerThreadgroup else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[35/212] Compiling GRDB FTS3.swift
[36/212] Compiling GRDB ForeignKey.swift
[37/212] Compiling GRDB Association.swift
[38/212] Compiling GRDB AssociationAggregate.swift
[39/212] Compiling GRDB BelongsToAssociation.swift
[40/212] Compiling GRDB DatabaseSchemaCache.swift
[41/212] Compiling GRDB DatabaseValueConvertible+RawRepresentable.swift
[42/212] Compiling GRDB JSONRequiredEncoder.swift
[43/212] Compiling GRDB Optional.swift
[44/212] Compiling GRDB StandardLibrary.swift
[45/212] Compiling GRDB DumpFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
[46/212] Compiling GRDB DebugDumpFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
[47/212] Compiling GRDB JSONDumpFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
[48/212] Compiling GRDB LineDumpFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
[49/212] Compiling GRDB ListDumpFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
[50/212] Compiling GRDB QuoteDumpFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IVFFlatSearch.swift:651:9: warning: 'cblas_sgemm' was deprecated in macOS 13.3: An updated CBLAS interface supporting ILP64 is available.  Please compile with -DACCELERATE_NEW_LAPACK to access the new headers and -DACCELERATE_LAPACK_ILP64 for ILP64 support.
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.
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
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
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
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
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
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
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
696 |                     }
697 |                 }
698 |                 assignments[row] = best
    |                 `- warning: capture of 'assignments' with non-sendable type 'UnsafeMutablePointer<Int>' in a '@Sendable' closure
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)
[51/212] Compiling GRDB TransactionClock.swift
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[52/212] Compiling GRDB TransactionObserver.swift
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[53/212] Compiling GRDB WALSnapshot.swift
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[54/212] Compiling GRDB WALSnapshotTransaction.swift
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[55/212] Compiling GRDB Database+Dump.swift
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
[56/212] Compiling GRDB DatabaseReader+dump.swift
/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.
 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.
 518 |                         CblasRowMajor,
 519 |                         CblasNoTrans,
BUILD FAILURE 6.1 macosSpm