Build Information
Failed to build MetalANNS, reference main (8f0ed8), with Swift 6.1 for macOS (SPM) on 23 Apr 2026 01:37:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/MetalANNS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/christopherkarani/MetalANNS
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8f0ed8e Merge pull request #4 from christopherkarani/claude/add-claude-documentation-ZZaVC
Cloned https://github.com/christopherkarani/MetalANNS.git
Revision (git rev-parse @):
8f0ed8e0c2df762646d2d04cbfc50d17e4c491b1
SUCCESS checkout https://github.com/christopherkarani/MetalANNS.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/christopherkarani/MetalANNS.git
https://github.com/christopherkarani/MetalANNS.git
{
"dependencies" : [
{
"identity" : "grdb.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/groue/GRDB.swift.git"
}
],
"manifest_display_name" : "MetalANNS",
"name" : "MetalANNS",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "MetalANNS",
"targets" : [
"MetalANNS"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MetalANNSBenchmarks",
"targets" : [
"MetalANNSBenchmarks"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MetalANNSTests",
"module_type" : "SwiftTarget",
"name" : "MetalANNSTests",
"path" : "Tests/MetalANNSTests",
"product_dependencies" : [
"GRDB"
],
"sources" : [
"ANNSIndexTests.swift",
"BackendProtocolTests.swift",
"BatchInsertTests.swift",
"BatchSearchAdaptiveConcurrencyTests.swift",
"BenchmarkDatasetTests.swift",
"BenchmarkReportTests.swift",
"BenchmarkRunnerSweepTests.swift",
"BinaryQuantizationTests.swift",
"BitonicSortTests.swift",
"CommandQueuePoolTests.swift",
"CompactionTests.swift",
"ConcurrentSearchTests.swift",
"ConfigurationTests.swift",
"DeletionTests.swift",
"DiskBackedTests.swift",
"DistanceTests.swift",
"FilteredSearchTests.swift",
"Float16IntegrationTests.swift",
"Float16Tests.swift",
"FullGPUSearchTests.swift",
"GPUADCSearchTests.swift",
"GPUCPUParityTests.swift",
"GraphBufferTests.swift",
"GraphPrunerTests.swift",
"GraphRepairTests.swift",
"HNSWTests.swift",
"IDMapTests.swift",
"IVFPQBenchmarkTests.swift",
"IVFPQComprehensiveTests.swift",
"IVFPQGPUTests.swift",
"IVFPQIndexTests.swift",
"IVFPQPersistenceTests.swift",
"IncrementalTests.swift",
"IndexMetricsTests.swift",
"IntegrationTests.swift",
"MetadataTests.swift",
"MetalContextMultiQueueTests.swift",
"MetalDeviceTests.swift",
"MetalDistanceTests.swift",
"MetalSearchTests.swift",
"MmapTests.swift",
"MultiQueuePerformanceTests.swift",
"NNDescentCPUTests.swift",
"NNDescentGPUTests.swift",
"PQVectorBufferTests.swift",
"PersistenceTests.swift",
"PlaceholderTests.swift",
"ProductQuantizerTests.swift",
"QuantizedStorageTests.swift",
"RangeSearchTests.swift",
"RuntimeMetricTests.swift",
"SIMDDistanceTests.swift",
"SearchBufferPoolTests.swift",
"SearchTests.swift",
"ShardedIndexParallelBuildTests.swift",
"ShardedIndexParallelSearchTests.swift",
"ShardedIndexTests.swift",
"Storage/IndexDatabaseTests.swift",
"Storage/StreamingDatabaseTests.swift",
"StreamingConfigurationTests.swift",
"StreamingIndexFlushTests.swift",
"StreamingIndexInsertTests.swift",
"StreamingIndexMergeTests.swift",
"StreamingIndexMetadataTests.swift",
"StreamingIndexPersistenceTests.swift",
"StreamingIndexSearchTests.swift",
"TestUtilities.swift",
"VectorBufferTests.swift"
],
"target_dependencies" : [
"MetalANNS",
"MetalANNSCore",
"MetalANNSBenchmarks"
],
"type" : "test"
},
{
"c99name" : "MetalANNSCore",
"module_type" : "SwiftTarget",
"name" : "MetalANNSCore",
"path" : "Sources/MetalANNSCore",
"product_memberships" : [
"MetalANNS",
"MetalANNSBenchmarks"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Distance.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/DistanceFloat16.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/HammingDistance.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/NNDescent.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/NNDescentFloat16.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/PQDistance.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Search.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/SearchFloat16.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/Shaders/Sort.metal",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AccelerateBackend.swift",
"BatchIncrementalBuilder.swift",
"BeamSearchCPU.swift",
"BinaryVectorBuffer.swift",
"BoundedSelection.swift",
"CommandQueuePool.swift",
"ComputeBackend.swift",
"DiskBackedVectorBuffer.swift",
"Errors.swift",
"Float16VectorBuffer.swift",
"FullGPUSearch.swift",
"GPUADCSearch.swift",
"GraphBuffer.swift",
"GraphPruner.swift",
"GraphRepairer.swift",
"HNSWBuilder.swift",
"HNSWConfiguration.swift",
"HNSWLayers.swift",
"HNSWSearchCPU.swift",
"IDMap.swift",
"IncrementalBuilder.swift",
"IndexCompactor.swift",
"IndexSerializer.swift",
"KMeans.swift",
"MetadataBuffer.swift",
"MetadataStore.swift",
"MetalBackend.swift",
"MetalDevice.swift",
"Metric.swift",
"MmapIndexLoader.swift",
"NNDescentCPU.swift",
"NNDescentGPU.swift",
"PQVectorBuffer.swift",
"PipelineCache.swift",
"ProductQuantizer.swift",
"QuantizedStorage.swift",
"RepairConfiguration.swift",
"SIMDDistance.swift",
"SearchBufferPool.swift",
"SearchFilter.swift",
"SearchGPU.swift",
"SearchResult.swift",
"SoftDeletion.swift",
"VectorBuffer.swift",
"VectorStorage.swift"
],
"type" : "library"
},
{
"c99name" : "MetalANNSBenchmarks",
"module_type" : "SwiftTarget",
"name" : "MetalANNSBenchmarks",
"path" : "Sources/MetalANNSBenchmarks",
"product_memberships" : [
"MetalANNSBenchmarks"
],
"sources" : [
"BenchmarkDataset.swift",
"BenchmarkIDParser.swift",
"BenchmarkReport.swift",
"BenchmarkRunner.swift",
"IVFPQBenchmark.swift",
"main.swift"
],
"target_dependencies" : [
"MetalANNS",
"MetalANNSCore"
],
"type" : "executable"
},
{
"c99name" : "MetalANNS",
"module_type" : "SwiftTarget",
"name" : "MetalANNS",
"path" : "Sources/MetalANNS",
"product_dependencies" : [
"GRDB"
],
"product_memberships" : [
"MetalANNS",
"MetalANNSBenchmarks"
],
"sources" : [
"ANNSIndex.swift",
"Advanced.swift",
"Errors.swift",
"IVFPQConfiguration.swift",
"IVFPQIndex.swift",
"IndexConfiguration.swift",
"IndexMetrics.swift",
"Metric.swift",
"MetricsSnapshot.swift",
"SearchResult.swift",
"ShardedIndex.swift",
"Storage/IDMapPersistenceCompat.swift",
"Storage/IndexDatabase.swift",
"Storage/SQLiteStructuredStore.swift",
"Storage/StreamingDatabase.swift",
"StreamingConfiguration.swift",
"StreamingIndex.swift",
"VectorIndex.swift"
],
"target_dependencies" : [
"MetalANNSCore"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/20] Copying NNDescentFloat16.metal
[1/20] Copying HammingDistance.metal
[1/20] Copying Distance.metal
[1/20] Copying NNDescent.metal
[1/20] Copying DistanceFloat16.metal
[1/20] Copying PQDistance.metal
[1/20] Copying Search.metal
[1/20] Write sources
[1/20] Copying Sort.metal
[5/20] Copying SearchFloat16.metal
[10/20] Write sources
[11/20] Copying Info.plist
[11/20] Write sources
[11/20] Write MetalANNSBenchmarks-entitlement.plist
[11/20] Copying PrivacyInfo.xcprivacy
[12/20] Write sources
[16/20] Write swift-version-2F0A5646E1D333AE.txt
[18/216] Emitting module GRDB
[19/232] Compiling GRDB MutablePersistableRecord+Update.swift
[20/232] Compiling GRDB MutablePersistableRecord+Upsert.swift
[21/232] Compiling GRDB MutablePersistableRecord.swift
[22/232] Compiling GRDB PersistableRecord+Insert.swift
[23/232] Compiling GRDB PersistableRecord+Save.swift
[24/232] Compiling GRDB PersistableRecord+Upsert.swift
[25/232] Compiling GRDB PersistableRecord.swift
[26/232] Compiling GRDB Record.swift
[27/232] Compiling GRDB TableRecord.swift
[28/232] Compiling GRDB CaseInsensitiveIdentifier.swift
[29/232] Compiling GRDB Inflections+English.swift
[30/232] Compiling GRDB Inflections.swift
[31/232] Compiling GRDB Mutex.swift
[32/232] Compiling GRDB OnDemandFuture.swift
[33/232] Compiling GRDB OrderedDictionary.swift
[34/232] Compiling GRDB Pool.swift
[35/232] Compiling GRDB FTS3Pattern.swift
[36/232] Compiling GRDB FTS3TokenizerDescriptor.swift
[37/232] Compiling GRDB FTS4.swift
[38/232] Compiling GRDB FTS5.swift
[39/232] Compiling GRDB FTS5CustomTokenizer.swift
[40/232] Compiling GRDB FTS5Pattern.swift
[41/232] Compiling GRDB FTS5Tokenizer.swift
[42/232] Compiling GRDB FTS5TokenizerDescriptor.swift
[43/232] Compiling GRDB FTS5WrapperTokenizer.swift
[44/232] Compiling GRDB Fixits.swift
[45/232] Compiling GRDB JSONColumn.swift
[46/232] Compiling GRDB SQLJSONExpressible.swift
[47/232] Compiling GRDB SQLJSONFunctions.swift
[48/232] Compiling GRDB DatabaseMigrator.swift
[49/232] Compiling GRDB Migration.swift
[50/232] Compiling GRDB FTS3+QueryInterface.swift
[51/232] Compiling GRDB FTS5+QueryInterface.swift
[52/232] Compiling GRDB DatabaseValueConvertible+RawRepresentable.swift
[53/232] Compiling GRDB JSONRequiredEncoder.swift
[54/232] Compiling GRDB Optional.swift
[55/232] Compiling GRDB StandardLibrary.swift
[56/232] Compiling GRDB TransactionClock.swift
[57/232] Compiling GRDB TransactionObserver.swift
[58/232] Compiling GRDB WALSnapshot.swift
[59/232] Compiling GRDB WALSnapshotTransaction.swift
[60/232] Compiling GRDB Database+Dump.swift
[61/232] Compiling GRDB DatabaseReader+dump.swift
[62/232] Compiling GRDB DumpFormat.swift
[63/232] Compiling GRDB DebugDumpFormat.swift
[64/232] Compiling GRDB JSONDumpFormat.swift
[65/232] Compiling GRDB LineDumpFormat.swift
[66/232] Compiling GRDB ListDumpFormat.swift
[67/232] Compiling GRDB QuoteDumpFormat.swift
[68/232] Compiling GRDB FTS3.swift
[69/232] Compiling GRDB DatabaseSchemaSource.swift
[70/232] Compiling GRDB DatabaseSnapshot.swift
[71/232] Compiling GRDB DatabaseSnapshotPool.swift
[72/232] Compiling GRDB DatabaseValue.swift
[73/232] Compiling GRDB DatabaseValueConvertible.swift
[74/232] Compiling GRDB DatabaseWriter.swift
[75/232] Compiling GRDB DispatchQueueActor.swift
[76/232] Compiling GRDB FetchRequest.swift
[77/232] Compiling GRDB Row.swift
[78/232] Compiling GRDB RowAdapter.swift
[79/232] Compiling GRDB RowDecodingError.swift
[80/232] Compiling GRDB SQL.swift
[81/232] Compiling GRDB SQLInterpolation.swift
[82/232] Compiling GRDB SQLRequest.swift
[83/232] Compiling GRDB SchedulingWatchdog.swift
[84/232] Compiling GRDB SerializedDatabase.swift
[85/232] Compiling GRDB Statement.swift
[86/232] Compiling GRDB Database+SchemaDefinition.swift
[87/232] Compiling GRDB ForeignKeyDefinition.swift
[88/232] Compiling GRDB IndexDefinition.swift
[89/232] Compiling GRDB TableAlteration.swift
[90/232] Compiling GRDB TableDefinition.swift
[91/232] Compiling GRDB VirtualTableModule.swift
[92/232] Compiling GRDB TableRecord+Association.swift
[93/232] Compiling GRDB TableRecord+QueryInterfaceRequest.swift
[94/232] Compiling GRDB EncodableRecord+Encodable.swift
[95/232] Compiling GRDB EncodableRecord.swift
[96/232] Compiling GRDB FetchableRecord+Decodable.swift
[97/232] Compiling GRDB FetchableRecord+TableRecord.swift
[98/232] Compiling GRDB FetchableRecord.swift
[99/232] Compiling GRDB MutablePersistableRecord+DAO.swift
[100/232] Compiling GRDB MutablePersistableRecord+Delete.swift
[101/232] Compiling GRDB MutablePersistableRecord+Insert.swift
[102/232] Compiling GRDB MutablePersistableRecord+Save.swift
[103/232] Compiling GRDB ForeignKey.swift
[104/232] Compiling GRDB Association.swift
[105/232] Compiling GRDB AssociationAggregate.swift
[106/232] Compiling GRDB BelongsToAssociation.swift
[107/232] Compiling GRDB HasManyAssociation.swift
[108/232] Compiling GRDB HasManyThroughAssociation.swift
[109/232] Compiling GRDB HasOneAssociation.swift
[110/232] Compiling GRDB HasOneThroughAssociation.swift
[111/232] Compiling GRDB JoinAssociation.swift
[112/232] Compiling GRDB CommonTableExpression.swift
[113/232] Compiling GRDB QueryInterfaceRequest.swift
[114/232] Compiling GRDB RequestProtocols.swift
[115/232] Compiling GRDB Column.swift
[116/232] Compiling GRDB DatabasePromise.swift
[117/232] Compiling GRDB SQLAssociation.swift
[118/232] Compiling GRDB SQLCollection.swift
[119/232] Compiling GRDB SQLExpression.swift
[120/232] Compiling GRDB StatementAuthorizer.swift
[121/232] Compiling GRDB StatementColumnConvertible.swift
[122/232] Compiling GRDB CGFloat.swift
[123/232] Compiling GRDB Data.swift
[124/232] Compiling GRDB DatabaseDateComponents.swift
[125/232] Compiling GRDB DatabaseValueConvertible+ReferenceConvertible.swift
[126/232] Compiling GRDB Date.swift
[127/232] Compiling GRDB Decimal.swift
[128/232] Compiling GRDB NSData.swift
[129/232] Compiling GRDB NSNull.swift
[130/232] Compiling GRDB NSNumber.swift
[131/232] Compiling GRDB NSString.swift
[132/232] Compiling GRDB SQLiteDateParser.swift
[133/232] Compiling GRDB URL.swift
[134/232] Compiling GRDB UUID.swift
[135/232] Compiling GRDB DatabaseValueConvertible+Decodable.swift
[136/232] Compiling GRDB DatabaseValueConvertible+Encodable.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
/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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[139/232] Compiling GRDB SQLForeignKeyRequest.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[140/232] Compiling GRDB SQLFunctions.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[141/232] Compiling GRDB SQLOperators.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[142/236] Compiling GRDB ColumnDefinition.swift
[143/236] Compiling GRDB Configuration.swift
[144/236] Compiling GRDB Cursor.swift
[145/236] Compiling GRDB Database+SQLCipher.swift
[146/236] Compiling GRDB Database+Schema.swift
[147/236] Compiling GRDB Database+Statements.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[148/236] Compiling GRDB Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[149/236] Compiling GRDB DatabaseBackupProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[150/236] Compiling GRDB DatabaseCollation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[151/236] Compiling GRDB DatabaseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[152/236] Compiling GRDB SQLOrdering.swift
[153/236] Compiling GRDB SQLRelation.swift
[154/236] Compiling GRDB SQLSelection.swift
[155/236] Compiling GRDB SQLSubquery.swift
[156/236] Compiling GRDB Table.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:138:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
136 | }
137 |
138 | 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:)'
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:140:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
138 | let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:)'
141 |
142 | 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:245:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
243 | }
244 |
245 | 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:)'
246 | let threadgroupWidth = degree / 2
247 | 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));
[157/236] Compiling GRDB SQLColumnGenerator.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:138:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
136 | }
137 |
138 | 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:)'
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:140:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
138 | let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:)'
141 |
142 | 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:245:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
243 | }
244 |
245 | 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:)'
246 | let threadgroupWidth = degree / 2
247 | 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));
[158/236] Compiling GRDB SQLGenerationContext.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:138:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
136 | }
137 |
138 | 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:)'
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:140:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
138 | let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:)'
141 |
142 | 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:245:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
243 | }
244 |
245 | 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:)'
246 | let threadgroupWidth = degree / 2
247 | 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));
[159/236] Compiling GRDB SQLIndexGenerator.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:138:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
136 | }
137 |
138 | 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:)'
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:140:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
138 | let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:)'
141 |
142 | 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:245:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
243 | }
244 |
245 | 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:)'
246 | let threadgroupWidth = degree / 2
247 | 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));
[160/236] Compiling GRDB SQLQueryGenerator.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));
[161/236] Compiling GRDB SQLTableAlterationGenerator.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));
[162/236] Compiling GRDB SQLTableGenerator.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));
[163/236] Compiling GRDB TableAlias.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));
[164/236] Compiling GRDB SQLInterpolation+QueryInterface.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));
[165/236] Emitting module MetalANNSCore
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:134:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
132 | }
133 |
134 | 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:)'
135 |
136 | 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:134:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
132 | }
133 |
134 | 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:)'
135 |
136 | 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:134:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
132 | }
133 |
134 | 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:)'
135 |
136 | 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:134:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
132 | }
133 |
134 | 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:)'
135 |
136 | 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 {
[180/236] Compiling MetalANNSCore SoftDeletion.swift
[181/236] Compiling MetalANNSCore VectorBuffer.swift
[182/236] Compiling MetalANNSCore VectorStorage.swift
[183/236] Compiling MetalANNSCore resource_bundle_accessor.swift
Fetching https://github.com/groue/GRDB.swift.git
[1/113633] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (17.01s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (20.23s)
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.10.0
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/200] Compiling GRDB Database.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:134:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
132 | }
133 |
134 | 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:)'
135 |
136 | 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/200] Compiling GRDB DatabaseBackupProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:134:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
132 | }
133 |
134 | 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:)'
135 |
136 | 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/200] Compiling GRDB DatabaseCollation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:134:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
132 | }
133 |
134 | 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:)'
135 |
136 | 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/200] Compiling GRDB DatabaseError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/SearchGPU.swift:134:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
132 | }
133 |
134 | 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:)'
135 |
136 | 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/204] Emitting module MetalANNSCore
[7/204] Compiling GRDB DatabaseRegion.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[8/204] Compiling GRDB DatabaseRegionObservation.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[9/204] Compiling GRDB DatabaseSchemaCache.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[10/204] Compiling GRDB DatabaseValueConvertible+RawRepresentable.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[11/204] Compiling GRDB JSONRequiredEncoder.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:87:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
85 | try encode(commandBuffer)
86 | commandBuffer.commit()
87 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
88 |
89 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:102:29: error: value of type 'any MTLCommandBuffer' has no member 'completed'
100 | try encode(commandBuffer)
101 | commandBuffer.commit()
102 | await commandBuffer.completed()
| `- error: value of type 'any MTLCommandBuffer' has no member 'completed'
103 |
104 | if let error = commandBuffer.error {
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/MetalDevice.swift:96:37: error: non-sendable result type 'any MTLCommandQueue' cannot be sent from actor-isolated context in call to instance method 'next()'
94 | /// Like execute(), but picks a queue from the pool for pipelining concurrent calls.
95 | public func executeOnPool(_ encode: (MTLCommandBuffer) throws -> Void) async throws {
96 | 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()'
97 | guard let commandBuffer = queue.makeCommandBuffer() else {
98 | throw ANNSError.constructionFailed("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 |
[12/204] Compiling MetalANNSCore SoftDeletion.swift
[13/204] Compiling MetalANNSCore VectorBuffer.swift
[14/204] Compiling MetalANNSCore VectorStorage.swift
[15/204] Compiling MetalANNSCore resource_bundle_accessor.swift
[16/204] Compiling GRDB FTS5.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/204] Compiling GRDB FTS5CustomTokenizer.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/204] Compiling GRDB FTS5Pattern.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/204] Compiling GRDB FTS5Tokenizer.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/204] Compiling GRDB FTS5TokenizerDescriptor.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));
[21/204] Compiling GRDB WALSnapshot.swift
[22/204] Compiling GRDB WALSnapshotTransaction.swift
[23/204] Compiling GRDB Database+Dump.swift
[24/204] Compiling GRDB DatabaseReader+dump.swift
[25/204] Compiling GRDB DumpFormat.swift
[26/204] Compiling GRDB Optional.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:138:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
136 | }
137 |
138 | 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:)'
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:140:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
138 | let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:)'
141 |
142 | 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:245:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
243 | }
244 |
245 | 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:)'
246 | let threadgroupWidth = degree / 2
247 | 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));
[27/204] Compiling GRDB StandardLibrary.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:138:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
136 | }
137 |
138 | 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:)'
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:140:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
138 | let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:)'
141 |
142 | 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:245:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
243 | }
244 |
245 | 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:)'
246 | let threadgroupWidth = degree / 2
247 | 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));
[28/204] Compiling GRDB TransactionClock.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:138:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
136 | }
137 |
138 | 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:)'
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:140:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
138 | let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:)'
141 |
142 | 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:245:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
243 | }
244 |
245 | 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:)'
246 | let threadgroupWidth = degree / 2
247 | 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));
[29/204] Compiling GRDB TransactionObserver.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:138:63: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
136 | }
137 |
138 | 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:)'
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:140:65: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
138 | let reversePipeline = try await context.pipelineCache.pipeline(for: "build_reverse_list")
139 | let localJoinKernel = vectors.isFloat16 ? "local_join_f16" : "local_join"
140 | 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:)'
141 |
142 | 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:245:56: error: non-sendable result type 'any MTLComputePipelineState' cannot be sent from actor-isolated context in call to instance method 'pipeline(for:)'
243 | }
244 |
245 | 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:)'
246 | let threadgroupWidth = degree / 2
247 | 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));
[30/204] Compiling GRDB Configuration.swift
[31/204] Compiling GRDB Cursor.swift
[32/204] Compiling GRDB Database+SQLCipher.swift
[33/204] Compiling GRDB Database+Schema.swift
[34/204] Compiling GRDB Database+Statements.swift
[35/204] Compiling GRDB DebugDumpFormat.swift
[36/204] Compiling GRDB JSONDumpFormat.swift
[37/204] Compiling GRDB LineDumpFormat.swift
[38/204] Compiling GRDB ListDumpFormat.swift
[39/204] Compiling GRDB QuoteDumpFormat.swift
[40/204] Compiling GRDB FTS3.swift
[41/204] Compiling GRDB FTS3Pattern.swift
[42/204] Compiling GRDB FTS3TokenizerDescriptor.swift
[43/204] Compiling GRDB FTS4.swift
[44/204] Compiling GRDB DatabaseFunction.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[45/204] Compiling GRDB DatabasePool.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[46/204] Compiling GRDB DatabasePublishers.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[47/204] Compiling GRDB DatabaseQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
[48/204] Compiling GRDB DatabaseReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/MetalANNSCore/IncrementalBuilder.swift:64:17: warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
62 |
63 | let existingIDs = graph.neighborIDs(of: neighborIndex)
64 | var existingDistances = graph.neighborDistances(of: neighborIndex)
| `- warning: variable 'existingDistances' was never mutated; consider changing to 'let' constant
65 |
66 | if existingIDs.contains(UInt32(internalID)) {
BUILD FAILURE 6.1 macosSpm