The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build mongo-swift-driver, reference main (1f6224), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 11:52:23 UTC.

Build Command

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

Build Log

 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
[477/542] Compiling MongoSwift BSONUtil.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:195:72: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
193 |         session: ClientSession? = nil
194 |     ) async throws -> MongoCursor<IndexModel> {
195 |         try await self.listIndexes(options: options, session: session).get()
    |                                                                        `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
196 |     }
197 |
/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
[478/542] Compiling MongoSwift APM.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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[479/542] Compiling MongoSwift ChangeStream+AsyncSequence.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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[480/542] Compiling MongoSwift ClientSession+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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[481/542] Compiling MongoSwift MongoClient+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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[482/542] 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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[483/542] 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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[484/542] 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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[485/542] 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' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/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 [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/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 [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[486/542] 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' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/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 [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/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 [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[487/542] 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' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/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 [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/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 [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[488/542] 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' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/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 [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/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 [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[489/542] 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' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/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 [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/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 [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[490/542] 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' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/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 [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/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 [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[491/542] 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' [#DeprecatedDeclaration]
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/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 [#DeprecatedDeclaration]
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/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 [#DeprecatedDeclaration]
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
243 |         self.cached = .none
244 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[492/542] Compiling MongoSwift MongoDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[493/542] Compiling MongoSwift MongoError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[494/542] Compiling MongoSwift MongoNamespace.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[495/542] Compiling MongoSwift MongoServerAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[496/542] Compiling MongoSwift MongoSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[497/542] Compiling MongoSwift MongoSwiftVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[498/542] Compiling MongoSwift AbortTransactionOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[499/542] Compiling MongoSwift ListIndexesOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[500/542] Compiling MongoSwift MongocCommandHelpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[501/542] Compiling MongoSwift Operation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[502/542] Compiling MongoSwift RenameCollectionOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[503/542] Compiling MongoSwift RunCommandOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[504/542] Compiling MongoSwift StartSessionOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[505/542] Compiling MongoSwift StartTransactionOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:61:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 59 |     ) -> EventLoopFuture<T.OperationResult> {
 60 |         // closure containing the work to run in the thread pool: obtain a connection and execute the operation.
 61 |         let doOperation = { () -> ExecuteResult<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 62 |             // if a session was provided, use its underlying connection. otherwise, use a new connection from the pool
 63 |             // if available.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/Operation.swift:80:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
 78 |         // - cursors can't finish iterating and give up their connections, because they need threads, but ops in pool
 79 |         //   can't complete and free up threads, because they need connections!
 80 |         let resubmitIfNeeded = { (result: ExecuteResult<T.OperationResult>) -> EventLoopFuture<T.OperationResult> in
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 81 |             switch result {
 82 |             case let .success(res):
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[506/542] Compiling MongoSwift EventLoopBoundMongoClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[507/542] Compiling MongoSwift Exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[508/542] Compiling MongoSwift Hint.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[509/542] Compiling MongoSwift MongoClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[510/542] Compiling MongoSwift MongoCollection+BulkWrite.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[511/542] Compiling MongoSwift MongoCollection+ChangeStreams.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[512/542] Compiling MongoSwift MongoCollection+FindAndModify.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:35: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 285 |
 286 |     /// Lock used to synchronize access to the event handler arrays to prevent data races.
 287 |     private let eventHandlerLock: Lock = .init()
     |                                   |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
     |                                   `- note: use 'NIOLock' instead
 288 |
 289 |     /// Counter for generating client _ids.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[513/542] Compiling MongoSwift AggregateOperation.swift
[514/542] Compiling MongoSwift CommitTransactionOperation.swift
[515/542] Compiling MongoSwift CountDocumentsOperation.swift
[516/542] Compiling MongoSwift CreateCollectionOperation.swift
[517/542] Compiling MongoSwift CreateIndexesOperation.swift
[518/542] Compiling MongoSwift DistinctOperation.swift
[519/542] Compiling MongoSwift DropCollectionOperation.swift
[520/542] Compiling MongoSwift DropDatabaseOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[521/542] Compiling MongoSwift DropIndexesOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[522/542] Compiling MongoSwift EstimatedDocumentCountOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[523/542] Compiling MongoSwift FindAndModifyOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[524/542] Compiling MongoSwift FindOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[525/542] Compiling MongoSwift ListCollectionsOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[526/542] Compiling MongoSwift ListDatabasesOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[527/542] Compiling MongoSwift WatchOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[528/542] Compiling MongoSwift ReadConcern.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[529/542] Compiling MongoSwift ReadPreference.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[530/542] Compiling MongoSwift SDAM.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[531/542] Compiling MongoSwift ServerSelection.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[532/542] Compiling MongoSwift WriteConcern.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[533/542] Compiling MongoSwift MongoCollection+Indexes.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[534/542] Compiling MongoSwift MongoCollection+Read.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[535/542] Compiling MongoSwift MongoCollection+Write.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[536/542] Compiling MongoSwift MongoCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[537/542] Compiling MongoSwift MongoConnectionString.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[538/542] Compiling MongoSwift MongoCredential.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[539/542] Compiling MongoSwift MongoCursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:27: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                           `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of non-sendable type 'T.Type' in an isolated closure
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:80: warning: capture of non-sendable type 'T.Type' in an isolated closure
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/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:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#DeprecatedDeclaration]
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[540/563] Compiling MongoSwiftSync MongoCollection+Read.swift
[541/563] Compiling MongoSwiftSync MongoCursor.swift
[542/563] Compiling MongoSwiftSync MongoCollection+Write.swift
[543/563] Compiling MongoSwiftSync MongoCollection.swift
[544/564] Emitting module MongoSwiftSync
[545/564] Compiling MongoSwiftSync MongoCollection+Indexes.swift
[546/564] Compiling MongoSwiftSync MongoCollection+FindAndModify.swift
[547/564] Compiling MongoSwiftSync CursorCommon.swift
[548/564] Compiling MongoSwiftSync Exports.swift
[549/564] Compiling MongoSwiftSync MongoClient.swift
[550/564] Compiling MongoSwiftSync MongoCollection+ChangeStreams.swift
[551/564] Compiling MongoSwiftSync ChangeStream.swift
[552/564] Compiling MongoSwiftSync ClientSession.swift
[553/564] Compiling MongoSwiftSync MongoDatabase.swift
[554/566] Compiling AtlasConnectivity main.swift
[555/566] Emitting module AtlasConnectivity
[555/566] Write Objects.LinkFileList
[556/566] Linking AtlasConnectivity
[557/566] Applying AtlasConnectivity
error: emit-module command failed with exit code 1 (use -v to see invocation)
[559/566] Compiling TestsCommon Failpoint.swift
[560/566] Compiling TestsCommon ServerVersion.swift
[561/566] 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) {
[562/566] Compiling TestsCommon APMUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:16:21: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
 14 |         self.events = []
 15 |         self.monitoring = false
 16 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                     `- note: use 'NIOLock' instead
 17 |     }
 18 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[563/566] 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 |
[564/566] Emitting module TestsCommon
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock' [#DeprecatedDeclaration]
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/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:447:53: error: 'Predicate' is ambiguous for type lookup in this context
445 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
446 | // them with the "clean" function
447 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
448 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
449 |         let actualValue = try actualExpression.evaluate()
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:466:69: error: 'Predicate' is ambiguous for type lookup in this context
464 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
465 | // have the same key/value pairs in them
466 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
467 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
468 |         let actualValue = try actualExpression.evaluate()
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:558:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
556 |
557 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
558 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
559 |     public init(from decoder: Decoder) throws {
560 |         let container = try decoder.singleValueContainer()
/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) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[565/566] Compiling TestsCommon SpecTestUtils.swift
[566/566] Compiling TestsCommon CommonTestUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:447:53: error: 'Predicate' is ambiguous for type lookup in this context
445 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
446 | // them with the "clean" function
447 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
448 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
449 |         let actualValue = try actualExpression.evaluate()
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:466:69: error: 'Predicate' is ambiguous for type lookup in this context
464 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
465 | // have the same key/value pairs in them
466 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
467 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
468 |         let actualValue = try actualExpression.evaluate()
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:558:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
556 |
557 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
558 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
559 |     public init(from decoder: Decoder) throws {
560 |         let container = try decoder.singleValueContainer()
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/mongodb/swift-bson
[1/1797] Fetching swift-atomics
[235/5181] Fetching swift-atomics, swift-bson
[2136/24765] Fetching swift-atomics, swift-bson, nimble
[5574/101092] Fetching swift-atomics, swift-bson, nimble, swift-nio
Fetched https://github.com/Quick/Nimble from cache (1.82s)
[15104/81508] Fetching swift-atomics, swift-bson, swift-nio
Fetched https://github.com/apple/swift-nio from cache (5.85s)
Fetched https://github.com/apple/swift-atomics from cache (5.85s)
Fetched https://github.com/mongodb/swift-bson from cache (5.85s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (6.37s)
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/833] Fetching swift-extras-base64
[35/1889] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.83s)
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.83s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (1.33s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.48s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.39s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.49s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.83.0 (0.58s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[312/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (12.00s)
Fetched https://github.com/apple/swift-system.git from cache (12.00s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (12.41s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.46s)
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
BUILD FAILURE 6.2 macosSpm