The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build mongo-swift-driver, reference main (1f6224), with Swift 6.2 (beta) for Linux on 19 Jun 2025 11:48:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/host/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/host/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[499/557] Compiling MongoSwift RenameCollectionOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/host/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/host/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[500/557] Compiling MongoSwift RunCommandOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/host/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/host/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[501/557] Compiling MongoSwift CreateCollectionOperation.swift
[502/557] Compiling MongoSwift CreateIndexesOperation.swift
[503/557] Compiling MongoSwift DistinctOperation.swift
[504/557] Compiling MongoSwift DropCollectionOperation.swift
[505/557] Compiling MongoSwift DropDatabaseOperation.swift
[506/557] Compiling MongoSwift DropIndexesOperation.swift
[507/557] Compiling MongoSwift EstimatedDocumentCountOperation.swift
[508/557] Compiling MongoSwift FindAndModifyOperation.swift
[509/557] Compiling MongoSwift MongoError.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[510/557] Compiling MongoSwift MongoNamespace.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[511/557] Compiling MongoSwift MongoServerAPI.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[512/557] Compiling MongoSwift MongoSwift.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[513/557] Compiling MongoSwift MongoSwiftVersion.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[514/557] Compiling MongoSwift AbortTransactionOperation.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[515/557] Compiling MongoSwift AggregateOperation.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[516/557] Compiling MongoSwift CommitTransactionOperation.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[517/557] Compiling MongoSwift CountDocumentsOperation.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/CLibMongoC/include/CLibMongoC.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[518/557] Compiling MongoSwift MongoCollection+Write+AsyncAwait.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[519/557] Compiling MongoSwift MongoCursor+AsyncSequence.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[520/557] Compiling MongoSwift MongoDatabase+AsyncAwait.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[521/557] Compiling MongoSwift BSONPointerUtils.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[522/557] Compiling MongoSwift BSONUtil.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[523/557] Compiling MongoSwift ChangeStream.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[524/557] Compiling MongoSwift ChangeStreamEvent.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[525/557] Compiling MongoSwift ChangeStreamOptions.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[526/557] Compiling MongoSwift ClientSession.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[527/557] Compiling MongoSwift Compressor.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[528/557] Compiling MongoSwift ConnectionPool.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[529/557] Compiling MongoSwift CursorCommon.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[530/557] Compiling MongoSwift EventLoopBoundMongoClient.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[531/557] Compiling MongoSwift Exports.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[532/557] Compiling MongoSwift Hint.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[533/557] Compiling MongoSwift MongoClient.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[534/557] Compiling MongoSwift MongoCollection+BulkWrite.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[535/557] Compiling MongoSwift MongoCollection+ChangeStreams.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[536/557] Compiling MongoSwift MongoCollection+FindAndModify.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[537/557] Compiling MongoSwift MongoCollection+Indexes.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[538/557] Compiling MongoSwift MongoCollection+Read.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[539/557] Compiling MongoSwift MongoCollection+Write.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[540/557] Compiling MongoSwift MongoCollection.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[541/557] Compiling MongoSwift MongoConnectionString.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[542/557] Compiling MongoSwift MongoCredential.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[543/557] Compiling MongoSwift MongoCursor.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[544/557] Compiling MongoSwift MongoDatabase.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-Sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-Sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[545/557] Compiling MongoSwift StartSessionOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[546/557] Compiling MongoSwift StartTransactionOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[547/557] Compiling MongoSwift WatchOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[548/557] Compiling MongoSwift ReadConcern.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[549/557] Compiling MongoSwift ReadPreference.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[550/557] Compiling MongoSwift SDAM.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[551/557] Compiling MongoSwift ServerSelection.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[552/557] Compiling MongoSwift WriteConcern.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[553/558] Wrapping AST for MongoSwift for debugging
[555/579] Emitting module MongoSwiftSync
[556/579] Compiling MongoSwiftSync ChangeStream.swift
[557/579] Compiling MongoSwiftSync ClientSession.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[558/580] Emitting module TestsCommon
/host/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:27:1: warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 25 | }
 26 |
 27 | extension MongoDatabaseOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 28 |     internal typealias CodingKeysType = CodingKeys
 29 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:45:1: warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 43 | }
 44 |
 45 | extension MongoCollectionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 46 |     internal typealias CodingKeysType = CodingKeys
 47 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:63:1: warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 61 | }
 62 |
 63 | extension ClientSessionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 64 |     internal typealias CodingKeysType = CodingKeys
 65 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:88:1: warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 86 | }
 87 |
 88 | extension TransactionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 89 |     internal typealias CodingKeysType = CodingKeys
 90 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:112:1: warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
110 | }
111 |
112 | extension MongoClientOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
113 |     internal typealias CodingKeysType = CodingKeys
114 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:144:1: warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
142 | }
143 |
144 | extension ReadPreference: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |     internal typealias CodingKeysType = CodingKeys
146 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:171:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
169 | }
170 |
171 | extension ReadPreference.Mode: Decodable {
    | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
172 |     public init(from decoder: Decoder) throws {
173 |         let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:187:1: warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
185 | }
186 |
187 | extension TopologyDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
188 |     internal typealias CodingKeysType = CodingKeys
189 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:205:1: warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
203 | }
204 |
205 | extension ServerDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
206 |     internal typealias CodingKeysType = CodingKeys
207 |
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:447:53: error: 'Predicate' is ambiguous for type lookup in this context
445 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
446 | // them with the "clean" function
447 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
448 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
449 |         let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:466:69: error: 'Predicate' is ambiguous for type lookup in this context
464 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
465 | // have the same key/value pairs in them
466 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
467 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
468 |         let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:558:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
556 |
557 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
558 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
559 |     public init(from decoder: Decoder) throws {
560 |         let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:4:1: warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 2 | import MongoSwift
 3 |
 4 | extension MongoError.ConnectionError: Equatable {
   | |- warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public static func == (lhs: MongoError.ConnectionError, rhs: MongoError.ConnectionError) -> Bool {
 6 |         lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 8 | }
 9 |
10 | extension MongoError.CommandError: Equatable {
   | |- warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: MongoError.CommandError, rhs: MongoError.CommandError) -> Bool {
12 |         lhs.code == rhs.code && lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
14 | }
15 |
16 | extension MongoError.WriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: MongoError.WriteError, rhs: MongoError.WriteError) -> Bool {
18 |         lhs.writeFailure == rhs.writeFailure &&
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:24:1: warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
22 | }
23 |
24 | extension MongoError.BulkWriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
25 |     public static func == (lhs: MongoError.BulkWriteError, rhs: MongoError.BulkWriteError) -> Bool {
26 |         let cmp = { (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) in
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:37:1: warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
35 | }
36 |
37 | extension BulkWriteResult: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
38 |     public static func == (lhs: BulkWriteResult, rhs: BulkWriteResult) -> Bool {
39 |         lhs.insertedIDs == rhs.insertedIDs
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:48:1: warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
46 | }
47 |
48 | extension MongoError.WriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
49 |     public static func == (lhs: MongoError.WriteFailure, rhs: MongoError.WriteFailure) -> Bool {
50 |         lhs.code == rhs.code
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:54:1: warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
52 | }
53 |
54 | extension MongoError.BulkWriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public static func == (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) -> Bool {
56 |         lhs.code == rhs.code && lhs.index == rhs.index
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:60:1: warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
58 | }
59 |
60 | extension MongoError.WriteConcernFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
61 |     public static func == (lhs: MongoError.WriteConcernFailure, rhs: MongoError.WriteConcernFailure) -> Bool {
62 |         lhs.code == rhs.code
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:66:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
64 | }
65 |
66 | extension DecodingError: Equatable {
   | |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
67 |     public static func == (lhs: DecodingError, rhs: DecodingError) -> Bool {
68 |         switch (lhs, rhs) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[559/580] Compiling MongoSwiftSync MongoCollection.swift
[560/580] Compiling MongoSwiftSync MongoCursor.swift
[561/580] Compiling TestsCommon CommonTestUtils.swift
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:447:53: error: 'Predicate' is ambiguous for type lookup in this context
445 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
446 | // them with the "clean" function
447 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
448 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
449 |         let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:466:69: error: 'Predicate' is ambiguous for type lookup in this context
464 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
465 | // have the same key/value pairs in them
466 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
467 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
468 |         let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:558:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
556 |
557 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
558 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
559 |     public init(from decoder: Decoder) throws {
560 |         let container = try decoder.singleValueContainer()
[562/580] Compiling TestsCommon Failpoint.swift
[563/580] Compiling TestsCommon SpecTestUtils.swift
[564/580] Compiling MongoSwiftSync MongoCollection+FindAndModify.swift
[565/580] Compiling MongoSwiftSync MongoCollection+Indexes.swift
[566/580] Compiling MongoSwiftSync MongoCollection+Read.swift
[567/580] Compiling MongoSwiftSync MongoCollection+Write.swift
[568/580] Compiling TestsCommon ServerVersion.swift
[569/580] Compiling MongoSwiftSync CursorCommon.swift
[570/580] Compiling MongoSwiftSync Exports.swift
[571/580] Compiling MongoSwiftSync MongoClient.swift
[572/580] Compiling MongoSwiftSync MongoCollection+ChangeStreams.swift
[573/580] Compiling TestsCommon MongoError+Equatable.swift
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:4:1: warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 2 | import MongoSwift
 3 |
 4 | extension MongoError.ConnectionError: Equatable {
   | |- warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public static func == (lhs: MongoError.ConnectionError, rhs: MongoError.ConnectionError) -> Bool {
 6 |         lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 8 | }
 9 |
10 | extension MongoError.CommandError: Equatable {
   | |- warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: MongoError.CommandError, rhs: MongoError.CommandError) -> Bool {
12 |         lhs.code == rhs.code && lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
14 | }
15 |
16 | extension MongoError.WriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: MongoError.WriteError, rhs: MongoError.WriteError) -> Bool {
18 |         lhs.writeFailure == rhs.writeFailure &&
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:24:1: warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
22 | }
23 |
24 | extension MongoError.BulkWriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
25 |     public static func == (lhs: MongoError.BulkWriteError, rhs: MongoError.BulkWriteError) -> Bool {
26 |         let cmp = { (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) in
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:37:1: warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
35 | }
36 |
37 | extension BulkWriteResult: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
38 |     public static func == (lhs: BulkWriteResult, rhs: BulkWriteResult) -> Bool {
39 |         lhs.insertedIDs == rhs.insertedIDs
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:48:1: warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
46 | }
47 |
48 | extension MongoError.WriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
49 |     public static func == (lhs: MongoError.WriteFailure, rhs: MongoError.WriteFailure) -> Bool {
50 |         lhs.code == rhs.code
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:54:1: warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
52 | }
53 |
54 | extension MongoError.BulkWriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public static func == (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) -> Bool {
56 |         lhs.code == rhs.code && lhs.index == rhs.index
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:60:1: warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
58 | }
59 |
60 | extension MongoError.WriteConcernFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
61 |     public static func == (lhs: MongoError.WriteConcernFailure, rhs: MongoError.WriteConcernFailure) -> Bool {
62 |         lhs.code == rhs.code
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:66:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
64 | }
65 |
66 | extension DecodingError: Equatable {
   | |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
67 |     public static func == (lhs: DecodingError, rhs: DecodingError) -> Bool {
68 |         switch (lhs, rhs) {
[574/580] Compiling MongoSwiftSync MongoDatabase.swift
[575/581] Wrapping AST for MongoSwiftSync for debugging
[577/583] Compiling TestsCommon APMUtils.swift
/host/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/host/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:16:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 14 |         self.events = []
 15 |         self.monitoring = false
 16 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
 17 |     }
 18 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[578/583] Compiling TestsCommon CodableExtensions.swift
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:27:1: warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 25 | }
 26 |
 27 | extension MongoDatabaseOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 28 |     internal typealias CodingKeysType = CodingKeys
 29 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:45:1: warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 43 | }
 44 |
 45 | extension MongoCollectionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 46 |     internal typealias CodingKeysType = CodingKeys
 47 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:63:1: warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 61 | }
 62 |
 63 | extension ClientSessionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 64 |     internal typealias CodingKeysType = CodingKeys
 65 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:88:1: warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 86 | }
 87 |
 88 | extension TransactionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 89 |     internal typealias CodingKeysType = CodingKeys
 90 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:112:1: warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
110 | }
111 |
112 | extension MongoClientOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
113 |     internal typealias CodingKeysType = CodingKeys
114 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:144:1: warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
142 | }
143 |
144 | extension ReadPreference: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |     internal typealias CodingKeysType = CodingKeys
146 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:171:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
169 | }
170 |
171 | extension ReadPreference.Mode: Decodable {
    | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
172 |     public init(from decoder: Decoder) throws {
173 |         let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:187:1: warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
185 | }
186 |
187 | extension TopologyDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
188 |     internal typealias CodingKeysType = CodingKeys
189 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:205:1: warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
203 | }
204 |
205 | extension ServerDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
206 |     internal typealias CodingKeysType = CodingKeys
207 |
[579/583] Emitting module AtlasConnectivity
BUILD FAILURE 6.2 linux