The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build mongo-swift-driver, reference v1.3.1 (cd8618), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 23:05:52 UTC.

Build Command

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

Build Log

286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[310/372] Compiling MongoSwift MongoCollection+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoClient+AsyncAwait.swift:238:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
236 |             session: session,
237 |             withEventType: EventType.self
238 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
239 |     }
240 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+AsyncAwait.swift:46:81: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
44 |         session: ClientSession? = nil
45 |     ) async throws -> MongoCollection {
46 |         try await self.renamed(to: newName, options: options, session: session).get()
   |                                                                                 `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
47 |     }
48 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift:37:11: warning: type 'ChangeStream<ChangeStreamEvent<T>>' does not conform to the 'Sendable' protocol
 35 |             options: options,
 36 |             session: session
 37 |         ).get()
    |           `- warning: type 'ChangeStream<ChangeStreamEvent<T>>' does not conform to the 'Sendable' protocol
 38 |     }
 39 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift:109:107: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
107 |         withEventType _: EventType.Type
108 |     ) async throws -> ChangeStream<EventType> {
109 |         try await self.watch(pipeline, options: options, session: session, withEventType: EventType.self).get()
    |                                                                                                           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
110 |     }
111 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[311/372] Compiling MongoSwift MongoCollection+ChangeStreams+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoClient+AsyncAwait.swift:238:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
236 |             session: session,
237 |             withEventType: EventType.self
238 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
239 |     }
240 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+AsyncAwait.swift:46:81: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
44 |         session: ClientSession? = nil
45 |     ) async throws -> MongoCollection {
46 |         try await self.renamed(to: newName, options: options, session: session).get()
   |                                                                                 `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
47 |     }
48 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift:37:11: warning: type 'ChangeStream<ChangeStreamEvent<T>>' does not conform to the 'Sendable' protocol
 35 |             options: options,
 36 |             session: session
 37 |         ).get()
    |           `- warning: type 'ChangeStream<ChangeStreamEvent<T>>' does not conform to the 'Sendable' protocol
 38 |     }
 39 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift:109:107: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
107 |         withEventType _: EventType.Type
108 |     ) async throws -> ChangeStream<EventType> {
109 |         try await self.watch(pipeline, options: options, session: session, withEventType: EventType.self).get()
    |                                                                                                           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
110 |     }
111 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[312/372] Compiling MongoSwift MongoCollection+FindAndModify+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoClient+AsyncAwait.swift:238:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
236 |             session: session,
237 |             withEventType: EventType.self
238 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
239 |     }
240 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+AsyncAwait.swift:46:81: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
44 |         session: ClientSession? = nil
45 |     ) async throws -> MongoCollection {
46 |         try await self.renamed(to: newName, options: options, session: session).get()
   |                                                                                 `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
47 |     }
48 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift:37:11: warning: type 'ChangeStream<ChangeStreamEvent<T>>' does not conform to the 'Sendable' protocol
 35 |             options: options,
 36 |             session: session
 37 |         ).get()
    |           `- warning: type 'ChangeStream<ChangeStreamEvent<T>>' does not conform to the 'Sendable' protocol
 38 |     }
 39 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+ChangeStreams+AsyncAwait.swift:109:107: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
107 |         withEventType _: EventType.Type
108 |     ) async throws -> ChangeStream<EventType> {
109 |         try await self.watch(pipeline, options: options, session: session, withEventType: EventType.self).get()
    |                                                                                                           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
110 |     }
111 | }
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[313/372] Compiling MongoSwift AggregateOperation.swift
[314/372] Compiling MongoSwift CommitTransactionOperation.swift
[315/372] Compiling MongoSwift CountDocumentsOperation.swift
[316/372] Compiling MongoSwift CreateCollectionOperation.swift
[317/372] Compiling MongoSwift CreateIndexesOperation.swift
[318/372] Compiling MongoSwift DistinctOperation.swift
[319/372] Compiling MongoSwift DropCollectionOperation.swift
[320/378] Emitting module MongoSwift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/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
[321/378] Compiling MongoSwift MongoDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[322/378] Compiling MongoSwift MongoError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[323/378] Compiling MongoSwift MongoNamespace.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[324/378] Compiling MongoSwift MongoServerAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[325/378] Compiling MongoSwift MongoSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[326/378] Compiling MongoSwift MongoSwiftVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[327/378] Compiling MongoSwift AbortTransactionOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[328/378] Compiling MongoSwift MongoCollection+Indexes+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:25:73: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 23 |         session: ClientSession? = nil
 24 |     ) async throws -> MongoCursor<CollectionType> {
 25 |         try await self.find(filter, options: options, session: session).get()
    |                                                                         `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 26 |     }
 27 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:71:115: warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 69 |         session: ClientSession? = nil
 70 |     ) async throws -> MongoCursor<BSONDocument> {
 71 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: BSONDocument.self).get()
    |                                                                                                                   `- warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 72 |     }
 73 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:98:113: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 96 |         withOutputType _: OutputType.Type
 97 |     ) async throws -> MongoCursor<OutputType> {
 98 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: OutputType.self).get()
    |                                                                                                                 `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 99 |     }
100 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
[329/378] Compiling MongoSwift MongoCollection+Read+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:25:73: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 23 |         session: ClientSession? = nil
 24 |     ) async throws -> MongoCursor<CollectionType> {
 25 |         try await self.find(filter, options: options, session: session).get()
    |                                                                         `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 26 |     }
 27 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:71:115: warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 69 |         session: ClientSession? = nil
 70 |     ) async throws -> MongoCursor<BSONDocument> {
 71 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: BSONDocument.self).get()
    |                                                                                                                   `- warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 72 |     }
 73 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:98:113: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 96 |         withOutputType _: OutputType.Type
 97 |     ) async throws -> MongoCursor<OutputType> {
 98 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: OutputType.self).get()
    |                                                                                                                 `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 99 |     }
100 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
[330/378] Compiling MongoSwift MongoCollection+Write+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:25:73: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 23 |         session: ClientSession? = nil
 24 |     ) async throws -> MongoCursor<CollectionType> {
 25 |         try await self.find(filter, options: options, session: session).get()
    |                                                                         `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 26 |     }
 27 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:71:115: warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 69 |         session: ClientSession? = nil
 70 |     ) async throws -> MongoCursor<BSONDocument> {
 71 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: BSONDocument.self).get()
    |                                                                                                                   `- warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 72 |     }
 73 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:98:113: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 96 |         withOutputType _: OutputType.Type
 97 |     ) async throws -> MongoCursor<OutputType> {
 98 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: OutputType.self).get()
    |                                                                                                                 `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 99 |     }
100 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
[331/378] Compiling MongoSwift MongoCursor+AsyncSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:25:73: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 23 |         session: ClientSession? = nil
 24 |     ) async throws -> MongoCursor<CollectionType> {
 25 |         try await self.find(filter, options: options, session: session).get()
    |                                                                         `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 26 |     }
 27 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:71:115: warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 69 |         session: ClientSession? = nil
 70 |     ) async throws -> MongoCursor<BSONDocument> {
 71 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: BSONDocument.self).get()
    |                                                                                                                   `- warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 72 |     }
 73 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:98:113: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 96 |         withOutputType _: OutputType.Type
 97 |     ) async throws -> MongoCursor<OutputType> {
 98 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: OutputType.self).get()
    |                                                                                                                 `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 99 |     }
100 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
[332/378] Compiling MongoSwift MongoDatabase+AsyncAwait.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:25:73: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 23 |         session: ClientSession? = nil
 24 |     ) async throws -> MongoCursor<CollectionType> {
 25 |         try await self.find(filter, options: options, session: session).get()
    |                                                                         `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 26 |     }
 27 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:71:115: warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 69 |         session: ClientSession? = nil
 70 |     ) async throws -> MongoCursor<BSONDocument> {
 71 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: BSONDocument.self).get()
    |                                                                                                                   `- warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 72 |     }
 73 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:98:113: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 96 |         withOutputType _: OutputType.Type
 97 |     ) async throws -> MongoCursor<OutputType> {
 98 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: OutputType.self).get()
    |                                                                                                                 `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 99 |     }
100 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
[333/378] Compiling MongoSwift BSONPointerUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:25:73: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 23 |         session: ClientSession? = nil
 24 |     ) async throws -> MongoCursor<CollectionType> {
 25 |         try await self.find(filter, options: options, session: session).get()
    |                                                                         `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 26 |     }
 27 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:71:115: warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 69 |         session: ClientSession? = nil
 70 |     ) async throws -> MongoCursor<BSONDocument> {
 71 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: BSONDocument.self).get()
    |                                                                                                                   `- warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 72 |     }
 73 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:98:113: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 96 |         withOutputType _: OutputType.Type
 97 |     ) async throws -> MongoCursor<OutputType> {
 98 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: OutputType.self).get()
    |                                                                                                                 `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 99 |     }
100 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
[334/378] Compiling MongoSwift BSONUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:25:73: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 23 |         session: ClientSession? = nil
 24 |     ) async throws -> MongoCursor<CollectionType> {
 25 |         try await self.find(filter, options: options, session: session).get()
    |                                                                         `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol
 26 |     }
 27 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:71:115: warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 69 |         session: ClientSession? = nil
 70 |     ) async throws -> MongoCursor<BSONDocument> {
 71 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: BSONDocument.self).get()
    |                                                                                                                   `- warning: type 'MongoCursor<BSONDocument>' does not conform to the 'Sendable' protocol
 72 |     }
 73 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Read+AsyncAwait.swift:98:113: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 96 |         withOutputType _: OutputType.Type
 97 |     ) async throws -> MongoCursor<OutputType> {
 98 |         try await self.aggregate(pipeline, options: options, session: session, withOutputType: OutputType.self).get()
    |                                                                                                                 `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
 99 |     }
100 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
[335/378] Compiling MongoSwift ChangeStream.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[336/378] Compiling MongoSwift ChangeStreamEvent.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[337/378] Compiling MongoSwift ChangeStreamOptions.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[338/378] Compiling MongoSwift ClientSession.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[339/378] Compiling MongoSwift Compressor.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[340/378] Compiling MongoSwift ConnectionPool.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[341/378] Compiling MongoSwift CursorCommon.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
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'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
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
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[342/378] Compiling MongoSwift DropDatabaseOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[343/378] Compiling MongoSwift DropIndexesOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[344/378] Compiling MongoSwift EstimatedDocumentCountOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[345/378] Compiling MongoSwift FindAndModifyOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[346/378] Compiling MongoSwift FindOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[347/378] Compiling MongoSwift ListCollectionsOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[348/378] Compiling MongoSwift ListDatabasesOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[349/378] Compiling MongoSwift EventLoopBoundMongoClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[350/378] Compiling MongoSwift Exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[351/378] Compiling MongoSwift Hint.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[352/378] Compiling MongoSwift MongoClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[353/378] Compiling MongoSwift MongoCollection+BulkWrite.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[354/378] Compiling MongoSwift MongoCollection+ChangeStreams.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[355/378] Compiling MongoSwift MongoCollection+FindAndModify.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[356/378] Compiling MongoSwift ListIndexesOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[357/378] Compiling MongoSwift MongocCommandHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[358/378] Compiling MongoSwift Operation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[359/378] Compiling MongoSwift RenameCollectionOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[360/378] Compiling MongoSwift RunCommandOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[361/378] Compiling MongoSwift StartSessionOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[362/378] Compiling MongoSwift StartTransactionOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[363/378] Compiling MongoSwift MongoCollection+Indexes.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[364/378] Compiling MongoSwift MongoCollection+Read.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[365/378] Compiling MongoSwift MongoCollection+Write.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[366/378] Compiling MongoSwift MongoCollection.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[367/378] Compiling MongoSwift MongoConnectionString.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[368/378] Compiling MongoSwift MongoCredential.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[369/378] Compiling MongoSwift MongoCursor.swift
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[370/378] Compiling MongoSwift WatchOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[371/378] Compiling MongoSwift ReadConcern.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[372/378] Compiling MongoSwift ReadPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[373/378] Compiling MongoSwift SDAM.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[374/378] Compiling MongoSwift ServerSelection.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[375/378] Compiling MongoSwift WriteConcern.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[376/398] Compiling MongoSwiftSync MongoCollection.swift
[377/398] Compiling MongoSwiftSync MongoCollection+Read.swift
[378/398] Compiling MongoSwiftSync MongoCollection+FindAndModify.swift
[379/398] Compiling MongoSwiftSync MongoCollection+Write.swift
[380/398] Compiling MongoSwiftSync MongoCollection+Indexes.swift
[381/398] Compiling MongoSwiftSync MongoCursor.swift
[382/399] Emitting module MongoSwiftSync
[383/399] Compiling MongoSwiftSync CursorCommon.swift
[384/399] Compiling MongoSwiftSync Exports.swift
[385/399] Compiling MongoSwiftSync MongoClient.swift
[386/399] Compiling MongoSwiftSync MongoCollection+ChangeStreams.swift
[387/399] Compiling MongoSwiftSync ChangeStream.swift
[388/399] Compiling MongoSwiftSync ClientSession.swift
[389/399] Compiling TestsCommon ServerVersion.swift
[390/399] Compiling TestsCommon SpecTestUtils.swift
[391/399] Compiling TestsCommon MongoError+Equatable.swift
/Users/admin/builder/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()
/Users/admin/builder/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()
/Users/admin/builder/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 &&
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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) {
[392/399] Compiling MongoSwiftSync MongoDatabase.swift
[393/399] Compiling TestsCommon APMUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:16:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 14 |         self.events = []
 15 |         self.monitoring = false
 16 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
 17 |     }
 18 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[394/399] Compiling TestsCommon CodableExtensions.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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()
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[395/399] Compiling TestsCommon CommonTestUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:445:53: error: 'Predicate' is ambiguous for type lookup in this context
443 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
444 | // them with the "clean" function
445 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
446 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
447 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:464:69: error: 'Predicate' is ambiguous for type lookup in this context
462 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
463 | // have the same key/value pairs in them
464 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
465 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
466 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:556: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
554 |
555 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
556 | 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
557 |     public init(from decoder: Decoder) throws {
558 |         let container = try decoder.singleValueContainer()
[396/399] Emitting module TestsCommon
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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()
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:445:53: error: 'Predicate' is ambiguous for type lookup in this context
443 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
444 | // them with the "clean" function
445 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
446 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
447 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:464:69: error: 'Predicate' is ambiguous for type lookup in this context
462 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
463 | // have the same key/value pairs in them
464 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
465 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
466 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:556: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
554 |
555 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
556 | 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
557 |     public init(from decoder: Decoder) throws {
558 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/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()
/Users/admin/builder/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()
/Users/admin/builder/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 &&
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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) {
BUILD FAILURE 6.1 macosSpm