The Swift Package Index logo.Swift Package Index

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

Build Information

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

Build Command

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

Build Log

 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[327/385] Compiling MongoSwift ClientSession.swift
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:39:112: warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 37 |         session: ClientSession? = nil
 38 |     ) async throws -> MongoCollection<BSONDocument> {
 39 |         try await self.createCollection(name, withType: BSONDocument.self, options: options, session: session).get()
    |                                                                                                                `- warning: type 'MongoCollection<BSONDocument>' does not conform to the 'Sendable' protocol
 40 |     }
 41 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:68:99: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 66 |         session: ClientSession? = nil
 67 |     ) async throws -> MongoCollection<T> {
 68 |         try await self.createCollection(name, withType: type, options: options, session: session).get()
    |                                                                                                   `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol
 69 |     }
 70 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:90:84: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 88 |         session: ClientSession? = nil
 89 |     ) async throws -> MongoCursor<CollectionSpecification> {
 90 |         try await self.listCollections(filter, options: options, session: session).get()
    |                                                                                    `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol
 91 |     }
 92 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:165:80: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
163 |         session: ClientSession? = nil
164 |     ) async throws -> BSONDocument {
165 |         try await self.runCommand(command, options: options, session: session).get()
    |                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol
166 |     }
167 |
/host/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:282:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
280 |             session: session,
281 |             withEventType: EventType.self
282 |         ).get()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol
283 |     }
284 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoDatabase+AsyncAwait.swift:349:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
347 |             session: session,
348 |             withOutputType: withOutputType
349 |         ).get()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol
350 |     }
351 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[328/393] Compiling MongoSwift APM.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[329/393] Compiling MongoSwift ChangeStream+AsyncSequence.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[330/393] Compiling MongoSwift ClientSession+AsyncAwait.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[331/393] Compiling MongoSwift MongoClient+AsyncAwait.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[332/393] Compiling MongoSwift MongoCollection+AsyncAwait.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[333/393] Compiling MongoSwift MongoCollection+ChangeStreams+AsyncAwait.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[334/393] Compiling MongoSwift MongoCollection+FindAndModify+AsyncAwait.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[335/393] Compiling MongoSwift MongoCollection+Indexes+AsyncAwait.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[336/393] Compiling MongoSwift MongoCollection+Read+AsyncAwait.swift
/host/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: consider making generic struct 'MongoCollection' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 | }
/host/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/MongoCollection+Indexes+AsyncAwait.swift:191:54: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) async throws -> MongoCursor<IndexModel> {
191 |         try await self.listIndexes(session: session).get()
    |                                                      `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol
192 |     }
193 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/AsyncAwait/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 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[337/393] Emitting module MongoSwift
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
[338/393] Compiling MongoSwift Compressor.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[339/393] Compiling MongoSwift ConnectionPool.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[340/393] Compiling MongoSwift CursorCommon.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[341/393] Compiling MongoSwift EventLoopBoundMongoClient.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[342/393] Compiling MongoSwift Exports.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[343/393] Compiling MongoSwift Hint.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[344/393] Compiling MongoSwift MongoClient.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[345/393] Compiling MongoSwift MongoCollection+BulkWrite.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[346/393] Compiling MongoSwift MongoCollection+ChangeStreams.swift
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:151:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
149 |             case let .opening(future):
150 |                 do {
151 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
152 |                     self.state = .open(pool: pool)
153 |                     return try body(pool)
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/ConnectionPool.swift:175:43: warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
173 |             case let .opening(future):
174 |                 do {
175 |                     let pool = try future.wait()
    |                                           `- warning: conformance of 'OpaquePointer' to 'Sendable' is unavailable
176 |                     self.state = .closing(pool: pool)
177 |                 } catch {
Swift.OpaquePointer:2:11: note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
1 | @available(*, unavailable)
2 | extension OpaquePointer : Sendable {
  |           `- note: conformance of 'OpaquePointer' to 'Sendable' has been explicitly marked unavailable here
3 | }
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:137:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
135 |     /// Lock used to synchronize usage of the internal state: specifically the `state` and `cached` properties.
136 |     /// This lock should only be acquired in the bodies of non-private methods.
137 |     private let lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:140:28: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
138 |
139 |     /// Atomic variable used to signal long running operations (e.g. `next(...)`) that the cursor is closing.
140 |     private var isClosing: NIOAtomic<Bool>
    |                            `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
141 |
142 |     /// Retrieves any error that occurred in mongoc or on the server while iterating the cursor. Returns `nil` if this
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:241:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
239 |         self.state = .open(cursor: mongocCursor, connection: connection, session: session)
240 |         self.type = type
241 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
243 |         self.cached = .none
/host/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:242:26: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
240 |         self.type = type
241 |         self.lock = Lock()
242 |         self.isClosing = NIOAtomic.makeAtomic(value: false)
    |                          `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
243 |         self.cached = .none
244 |
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[347/393] Compiling MongoSwift StartSessionOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[348/393] Compiling MongoSwift StartTransactionOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[349/393] Compiling MongoSwift WatchOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[350/393] Compiling MongoSwift ReadConcern.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[351/393] Compiling MongoSwift ReadPreference.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[352/393] Compiling MongoSwift SDAM.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[353/393] Compiling MongoSwift ServerSelection.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[354/393] Compiling MongoSwift WriteConcern.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[355/393] Compiling MongoSwift FindOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[356/393] Compiling MongoSwift ListCollectionsOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[357/393] Compiling MongoSwift ListDatabasesOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[358/393] Compiling MongoSwift ListIndexesOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[359/393] Compiling MongoSwift MongocCommandHelpers.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[360/393] Compiling MongoSwift Operation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[361/393] Compiling MongoSwift RenameCollectionOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[362/393] Compiling MongoSwift RunCommandOperation.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[363/393] Compiling MongoSwift CreateCollectionOperation.swift
[364/393] Compiling MongoSwift CreateIndexesOperation.swift
[365/393] Compiling MongoSwift DistinctOperation.swift
[366/393] Compiling MongoSwift DropCollectionOperation.swift
[367/393] Compiling MongoSwift DropDatabaseOperation.swift
[368/393] Compiling MongoSwift DropIndexesOperation.swift
[369/393] Compiling MongoSwift EstimatedDocumentCountOperation.swift
[370/393] Compiling MongoSwift FindAndModifyOperation.swift
[371/393] Compiling MongoSwift MongoError.swift
[372/393] Compiling MongoSwift MongoNamespace.swift
[373/393] Compiling MongoSwift MongoServerAPI.swift
[374/393] Compiling MongoSwift MongoSwift.swift
[375/393] Compiling MongoSwift MongoSwiftVersion.swift
[376/393] Compiling MongoSwift AbortTransactionOperation.swift
[377/393] Compiling MongoSwift AggregateOperation.swift
[378/393] Compiling MongoSwift CommitTransactionOperation.swift
[379/393] Compiling MongoSwift CountDocumentsOperation.swift
[380/393] Compiling MongoSwift MongoCollection+FindAndModify.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[381/393] Compiling MongoSwift MongoCollection+Indexes.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[382/393] Compiling MongoSwift MongoCollection+Read.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[383/393] Compiling MongoSwift MongoCollection+Write.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[384/393] Compiling MongoSwift MongoCollection.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[385/393] Compiling MongoSwift MongoConnectionString.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[386/393] Compiling MongoSwift MongoCredential.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[387/393] Compiling MongoSwift MongoCursor.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[388/393] Compiling MongoSwift MongoDatabase.swift
/host/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/host/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[389/394] Wrapping AST for MongoSwift for debugging
[391/414] Compiling MongoSwiftSync MongoCollection.swift
[392/414] Compiling MongoSwiftSync MongoCursor.swift
[393/415] Compiling MongoSwiftSync MongoCollection+FindAndModify.swift
[394/415] Compiling MongoSwiftSync MongoCollection+Indexes.swift
[395/415] Compiling MongoSwiftSync MongoCollection+Read.swift
[396/415] Compiling MongoSwiftSync MongoCollection+Write.swift
[397/415] Compiling MongoSwiftSync ChangeStream.swift
[398/415] Compiling TestsCommon ServerVersion.swift
[399/415] Compiling MongoSwiftSync ClientSession.swift
[400/415] Compiling TestsCommon SpecTestUtils.swift
[401/415] Compiling MongoSwiftSync CursorCommon.swift
[402/415] Compiling MongoSwiftSync Exports.swift
[403/415] Emitting module MongoSwiftSync
[404/415] Compiling MongoSwiftSync MongoClient.swift
[405/415] Compiling MongoSwiftSync MongoCollection+ChangeStreams.swift
[406/415] Compiling MongoSwiftSync MongoDatabase.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[407/416] Compiling TestsCommon MongoError+Equatable.swift
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:4:1: warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 2 | import MongoSwift
 3 |
 4 | extension MongoError.ConnectionError: Equatable {
   | |- warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public static func == (lhs: MongoError.ConnectionError, rhs: MongoError.ConnectionError) -> Bool {
 6 |         lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 8 | }
 9 |
10 | extension MongoError.CommandError: Equatable {
   | |- warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: MongoError.CommandError, rhs: MongoError.CommandError) -> Bool {
12 |         lhs.code == rhs.code && lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
14 | }
15 |
16 | extension MongoError.WriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: MongoError.WriteError, rhs: MongoError.WriteError) -> Bool {
18 |         lhs.writeFailure == rhs.writeFailure &&
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:24:1: warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
22 | }
23 |
24 | extension MongoError.BulkWriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
25 |     public static func == (lhs: MongoError.BulkWriteError, rhs: MongoError.BulkWriteError) -> Bool {
26 |         let cmp = { (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) in
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:37:1: warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
35 | }
36 |
37 | extension BulkWriteResult: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
38 |     public static func == (lhs: BulkWriteResult, rhs: BulkWriteResult) -> Bool {
39 |         lhs.insertedIDs == rhs.insertedIDs
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:48:1: warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
46 | }
47 |
48 | extension MongoError.WriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
49 |     public static func == (lhs: MongoError.WriteFailure, rhs: MongoError.WriteFailure) -> Bool {
50 |         lhs.code == rhs.code
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:54:1: warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
52 | }
53 |
54 | extension MongoError.BulkWriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public static func == (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) -> Bool {
56 |         lhs.code == rhs.code && lhs.index == rhs.index
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:60:1: warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
58 | }
59 |
60 | extension MongoError.WriteConcernFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
61 |     public static func == (lhs: MongoError.WriteConcernFailure, rhs: MongoError.WriteConcernFailure) -> Bool {
62 |         lhs.code == rhs.code
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:66:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
64 | }
65 |
66 | extension DecodingError: Equatable {
   | |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
67 |     public static func == (lhs: DecodingError, rhs: DecodingError) -> Bool {
68 |         switch (lhs, rhs) {
[408/416] Compiling TestsCommon CodableExtensions.swift
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:27:1: warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 25 | }
 26 |
 27 | extension MongoDatabaseOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 28 |     internal typealias CodingKeysType = CodingKeys
 29 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:45:1: warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 43 | }
 44 |
 45 | extension MongoCollectionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 46 |     internal typealias CodingKeysType = CodingKeys
 47 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:63:1: warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 61 | }
 62 |
 63 | extension ClientSessionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 64 |     internal typealias CodingKeysType = CodingKeys
 65 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:88:1: warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 86 | }
 87 |
 88 | extension TransactionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 89 |     internal typealias CodingKeysType = CodingKeys
 90 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:112:1: warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
110 | }
111 |
112 | extension MongoClientOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
113 |     internal typealias CodingKeysType = CodingKeys
114 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:144:1: warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
142 | }
143 |
144 | extension ReadPreference: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |     internal typealias CodingKeysType = CodingKeys
146 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:171:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
169 | }
170 |
171 | extension ReadPreference.Mode: Decodable {
    | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
172 |     public init(from decoder: Decoder) throws {
173 |         let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:187:1: warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
185 | }
186 |
187 | extension TopologyDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
188 |     internal typealias CodingKeysType = CodingKeys
189 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:205:1: warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
203 | }
204 |
205 | extension ServerDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
206 |     internal typealias CodingKeysType = CodingKeys
207 |
[409/416] Compiling TestsCommon APMUtils.swift
/host/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/host/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:16:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 14 |         self.events = []
 15 |         self.monitoring = false
 16 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
 17 |     }
 18 |
[410/416] Emitting module TestsCommon
/host/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:27:1: warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 25 | }
 26 |
 27 | extension MongoDatabaseOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 28 |     internal typealias CodingKeysType = CodingKeys
 29 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:45:1: warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 43 | }
 44 |
 45 | extension MongoCollectionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 46 |     internal typealias CodingKeysType = CodingKeys
 47 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:63:1: warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 61 | }
 62 |
 63 | extension ClientSessionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 64 |     internal typealias CodingKeysType = CodingKeys
 65 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:88:1: warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 86 | }
 87 |
 88 | extension TransactionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 89 |     internal typealias CodingKeysType = CodingKeys
 90 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:112:1: warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
110 | }
111 |
112 | extension MongoClientOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
113 |     internal typealias CodingKeysType = CodingKeys
114 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:144:1: warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
142 | }
143 |
144 | extension ReadPreference: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |     internal typealias CodingKeysType = CodingKeys
146 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:171:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
169 | }
170 |
171 | extension ReadPreference.Mode: Decodable {
    | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
172 |     public init(from decoder: Decoder) throws {
173 |         let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:187:1: warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
185 | }
186 |
187 | extension TopologyDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
188 |     internal typealias CodingKeysType = CodingKeys
189 |
/host/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:205:1: warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
203 | }
204 |
205 | extension ServerDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
206 |     internal typealias CodingKeysType = CodingKeys
207 |
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:445:53: error: 'Predicate' is ambiguous for type lookup in this context
443 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
444 | // them with the "clean" function
445 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
446 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
447 |         let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 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>)
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:464:69: error: 'Predicate' is ambiguous for type lookup in this context
462 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
463 | // have the same key/value pairs in them
464 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
465 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
466 |         let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 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>)
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:556:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
554 |
555 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
556 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
557 |     public init(from decoder: Decoder) throws {
558 |         let container = try decoder.singleValueContainer()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:4:1: warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 2 | import MongoSwift
 3 |
 4 | extension MongoError.ConnectionError: Equatable {
   | |- warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public static func == (lhs: MongoError.ConnectionError, rhs: MongoError.ConnectionError) -> Bool {
 6 |         lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 8 | }
 9 |
10 | extension MongoError.CommandError: Equatable {
   | |- warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: MongoError.CommandError, rhs: MongoError.CommandError) -> Bool {
12 |         lhs.code == rhs.code && lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
14 | }
15 |
16 | extension MongoError.WriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: MongoError.WriteError, rhs: MongoError.WriteError) -> Bool {
18 |         lhs.writeFailure == rhs.writeFailure &&
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:24:1: warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
22 | }
23 |
24 | extension MongoError.BulkWriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
25 |     public static func == (lhs: MongoError.BulkWriteError, rhs: MongoError.BulkWriteError) -> Bool {
26 |         let cmp = { (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) in
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:37:1: warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
35 | }
36 |
37 | extension BulkWriteResult: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
38 |     public static func == (lhs: BulkWriteResult, rhs: BulkWriteResult) -> Bool {
39 |         lhs.insertedIDs == rhs.insertedIDs
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:48:1: warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
46 | }
47 |
48 | extension MongoError.WriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
49 |     public static func == (lhs: MongoError.WriteFailure, rhs: MongoError.WriteFailure) -> Bool {
50 |         lhs.code == rhs.code
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:54:1: warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
52 | }
53 |
54 | extension MongoError.BulkWriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public static func == (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) -> Bool {
56 |         lhs.code == rhs.code && lhs.index == rhs.index
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:60:1: warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
58 | }
59 |
60 | extension MongoError.WriteConcernFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
61 |     public static func == (lhs: MongoError.WriteConcernFailure, rhs: MongoError.WriteConcernFailure) -> Bool {
62 |         lhs.code == rhs.code
/host/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:66:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
64 | }
65 |
66 | extension DecodingError: Equatable {
   | |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
67 |     public static func == (lhs: DecodingError, rhs: DecodingError) -> Bool {
68 |         switch (lhs, rhs) {
[411/416] Compiling TestsCommon CommonTestUtils.swift
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:445:53: error: 'Predicate' is ambiguous for type lookup in this context
443 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
444 | // them with the "clean" function
445 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
446 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
447 |         let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 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>)
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:464:69: error: 'Predicate' is ambiguous for type lookup in this context
462 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
463 | // have the same key/value pairs in them
464 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
465 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
466 |         let actualValue = try actualExpression.evaluate()
/host/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
FoundationEssentials.Predicate:2:15: note: found this candidate
1 | @available(macOS 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>)
/host/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:556:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
554 |
555 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
556 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
557 |     public init(from decoder: Decoder) throws {
558 |         let container = try decoder.singleValueContainer()
BUILD FAILURE 6.1 linux