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.0 for macOS (SPM) on 28 Nov 2024 16:51:18 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- note: closure captures non-Sendable 'client'
283 |                 wrappedCursor.kill()
    |                 `- note: closure captures non-Sendable 'wrappedCursor'
284 |             }
285 |         }
[542/549] Compiling MongoSwift MongoCollection+Write.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:70: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ReadConcern.swift:26:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct to represent a MongoDB read concern.
 4 | public struct ReadConcern: Codable {
   |               `- note: consider making struct 'ReadConcern' conform to the 'Sendable' protocol
 5 |     /// Local ReadConcern.
 6 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-concern-local/
   :
24 |
25 |     /// Server default ReadConcern.
26 |     public static let serverDefault = ReadConcern(nil)
   |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// For an unknown ReadConcern.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/WriteConcern.swift:27:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class to represent a MongoDB write concern.
  5 | public struct WriteConcern: Codable {
    |               `- note: consider making struct 'WriteConcern' conform to the 'Sendable' protocol
  6 |     /// Majority WriteConcern with journal and wtimeoutMS unset.
  7 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/write-concern/#writeconcern._dq_majority_dq_
    :
 25 |
 26 |     /// Server default WriteConcern.
 27 |     public static let serverDefault = WriteConcern()
    |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     /// An option to request acknowledgement that the write operation has propagated to specified mongod instances.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:65:27: warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
     |                           |- warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'mongodb' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:68:27: warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
  68 |         public static let srv = Scheme(.srv)
     |                           |- warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'srv' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  69 |
  70 |         /// Internal representation of a scheme.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Compressor.swift:16:23: warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Specifies a library to use for network compression.
 2 | public struct Compressor: CustomStringConvertible, Equatable {
   |               `- note: consider making struct 'Compressor' conform to the 'Sendable' protocol
 3 |     internal enum _Compressor: Equatable {
 4 |         case zlib(level: Int32?)
   :
14 |     /// Use zlib for data compression.
15 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/glossary/#term-zlib
16 |     public static let zlib = Compressor(.zlib(level: nil))
   |                       |- warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zlib' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     /// Use zlib for data compression, with the specified compression level.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:64:27: warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
 64 |         public static let gssAPI = Mechanism(.gssAPI)
    |                           |- warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'gssAPI' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |         /// X509 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:68:27: warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 66 |         /// X509 authentication.
 67 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-x.509/#security-auth-x509
 68 |         public static let mongodbX509 = Mechanism(.mongodbX509)
    |                           |- warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'mongodbX509' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         /// PLAIN authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:72:27: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 70 |         /// PLAIN authentication.
 71 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-ldap/
 72 |         public static let plain = Mechanism(.plain)
    |                           |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |         /// SCRAM-SHA-1 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:76:27: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 74 |         /// SCRAM-SHA-1 authentication.
 75 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 76 |         public static let scramSHA1 = Mechanism(.scramSHA1)
    |                           |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA1' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         /// SCRAM-SHA-256 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:80:27: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 78 |         /// SCRAM-SHA-256 authentication.
 79 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 80 |         public static let scramSHA256 = Mechanism(.scramSHA256)
    |                           |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA256' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |
 82 |         private enum _Mechanism: String {
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:281:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |         let el = self.eventLoop
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- note: closure captures non-Sendable 'client'
283 |                 wrappedCursor.kill()
    |                 `- note: closure captures non-Sendable 'wrappedCursor'
284 |             }
285 |         }
[543/549] Compiling MongoSwift MongoCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:70: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ReadConcern.swift:26:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct to represent a MongoDB read concern.
 4 | public struct ReadConcern: Codable {
   |               `- note: consider making struct 'ReadConcern' conform to the 'Sendable' protocol
 5 |     /// Local ReadConcern.
 6 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-concern-local/
   :
24 |
25 |     /// Server default ReadConcern.
26 |     public static let serverDefault = ReadConcern(nil)
   |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// For an unknown ReadConcern.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/WriteConcern.swift:27:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class to represent a MongoDB write concern.
  5 | public struct WriteConcern: Codable {
    |               `- note: consider making struct 'WriteConcern' conform to the 'Sendable' protocol
  6 |     /// Majority WriteConcern with journal and wtimeoutMS unset.
  7 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/write-concern/#writeconcern._dq_majority_dq_
    :
 25 |
 26 |     /// Server default WriteConcern.
 27 |     public static let serverDefault = WriteConcern()
    |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     /// An option to request acknowledgement that the write operation has propagated to specified mongod instances.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:65:27: warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
     |                           |- warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'mongodb' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:68:27: warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
  68 |         public static let srv = Scheme(.srv)
     |                           |- warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'srv' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  69 |
  70 |         /// Internal representation of a scheme.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Compressor.swift:16:23: warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Specifies a library to use for network compression.
 2 | public struct Compressor: CustomStringConvertible, Equatable {
   |               `- note: consider making struct 'Compressor' conform to the 'Sendable' protocol
 3 |     internal enum _Compressor: Equatable {
 4 |         case zlib(level: Int32?)
   :
14 |     /// Use zlib for data compression.
15 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/glossary/#term-zlib
16 |     public static let zlib = Compressor(.zlib(level: nil))
   |                       |- warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zlib' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     /// Use zlib for data compression, with the specified compression level.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:64:27: warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
 64 |         public static let gssAPI = Mechanism(.gssAPI)
    |                           |- warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'gssAPI' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |         /// X509 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:68:27: warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 66 |         /// X509 authentication.
 67 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-x.509/#security-auth-x509
 68 |         public static let mongodbX509 = Mechanism(.mongodbX509)
    |                           |- warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'mongodbX509' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         /// PLAIN authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:72:27: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 70 |         /// PLAIN authentication.
 71 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-ldap/
 72 |         public static let plain = Mechanism(.plain)
    |                           |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |         /// SCRAM-SHA-1 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:76:27: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 74 |         /// SCRAM-SHA-1 authentication.
 75 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 76 |         public static let scramSHA1 = Mechanism(.scramSHA1)
    |                           |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA1' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         /// SCRAM-SHA-256 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:80:27: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 78 |         /// SCRAM-SHA-256 authentication.
 79 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 80 |         public static let scramSHA256 = Mechanism(.scramSHA256)
    |                           |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA256' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |
 82 |         private enum _Mechanism: String {
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:281:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |         let el = self.eventLoop
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- note: closure captures non-Sendable 'client'
283 |                 wrappedCursor.kill()
    |                 `- note: closure captures non-Sendable 'wrappedCursor'
284 |             }
285 |         }
[544/549] Compiling MongoSwift MongoConnectionString.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:70: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ReadConcern.swift:26:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct to represent a MongoDB read concern.
 4 | public struct ReadConcern: Codable {
   |               `- note: consider making struct 'ReadConcern' conform to the 'Sendable' protocol
 5 |     /// Local ReadConcern.
 6 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-concern-local/
   :
24 |
25 |     /// Server default ReadConcern.
26 |     public static let serverDefault = ReadConcern(nil)
   |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// For an unknown ReadConcern.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/WriteConcern.swift:27:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class to represent a MongoDB write concern.
  5 | public struct WriteConcern: Codable {
    |               `- note: consider making struct 'WriteConcern' conform to the 'Sendable' protocol
  6 |     /// Majority WriteConcern with journal and wtimeoutMS unset.
  7 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/write-concern/#writeconcern._dq_majority_dq_
    :
 25 |
 26 |     /// Server default WriteConcern.
 27 |     public static let serverDefault = WriteConcern()
    |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     /// An option to request acknowledgement that the write operation has propagated to specified mongod instances.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:65:27: warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
     |                           |- warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'mongodb' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:68:27: warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
  68 |         public static let srv = Scheme(.srv)
     |                           |- warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'srv' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  69 |
  70 |         /// Internal representation of a scheme.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Compressor.swift:16:23: warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Specifies a library to use for network compression.
 2 | public struct Compressor: CustomStringConvertible, Equatable {
   |               `- note: consider making struct 'Compressor' conform to the 'Sendable' protocol
 3 |     internal enum _Compressor: Equatable {
 4 |         case zlib(level: Int32?)
   :
14 |     /// Use zlib for data compression.
15 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/glossary/#term-zlib
16 |     public static let zlib = Compressor(.zlib(level: nil))
   |                       |- warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zlib' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     /// Use zlib for data compression, with the specified compression level.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:64:27: warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
 64 |         public static let gssAPI = Mechanism(.gssAPI)
    |                           |- warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'gssAPI' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |         /// X509 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:68:27: warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 66 |         /// X509 authentication.
 67 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-x.509/#security-auth-x509
 68 |         public static let mongodbX509 = Mechanism(.mongodbX509)
    |                           |- warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'mongodbX509' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         /// PLAIN authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:72:27: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 70 |         /// PLAIN authentication.
 71 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-ldap/
 72 |         public static let plain = Mechanism(.plain)
    |                           |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |         /// SCRAM-SHA-1 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:76:27: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 74 |         /// SCRAM-SHA-1 authentication.
 75 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 76 |         public static let scramSHA1 = Mechanism(.scramSHA1)
    |                           |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA1' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         /// SCRAM-SHA-256 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:80:27: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 78 |         /// SCRAM-SHA-256 authentication.
 79 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 80 |         public static let scramSHA256 = Mechanism(.scramSHA256)
    |                           |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA256' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |
 82 |         private enum _Mechanism: String {
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:281:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |         let el = self.eventLoop
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- note: closure captures non-Sendable 'client'
283 |                 wrappedCursor.kill()
    |                 `- note: closure captures non-Sendable 'wrappedCursor'
284 |             }
285 |         }
[545/549] Compiling MongoSwift MongoCredential.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:70: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ReadConcern.swift:26:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct to represent a MongoDB read concern.
 4 | public struct ReadConcern: Codable {
   |               `- note: consider making struct 'ReadConcern' conform to the 'Sendable' protocol
 5 |     /// Local ReadConcern.
 6 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-concern-local/
   :
24 |
25 |     /// Server default ReadConcern.
26 |     public static let serverDefault = ReadConcern(nil)
   |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// For an unknown ReadConcern.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/WriteConcern.swift:27:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class to represent a MongoDB write concern.
  5 | public struct WriteConcern: Codable {
    |               `- note: consider making struct 'WriteConcern' conform to the 'Sendable' protocol
  6 |     /// Majority WriteConcern with journal and wtimeoutMS unset.
  7 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/write-concern/#writeconcern._dq_majority_dq_
    :
 25 |
 26 |     /// Server default WriteConcern.
 27 |     public static let serverDefault = WriteConcern()
    |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     /// An option to request acknowledgement that the write operation has propagated to specified mongod instances.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:65:27: warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
     |                           |- warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'mongodb' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:68:27: warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
  68 |         public static let srv = Scheme(.srv)
     |                           |- warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'srv' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  69 |
  70 |         /// Internal representation of a scheme.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Compressor.swift:16:23: warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Specifies a library to use for network compression.
 2 | public struct Compressor: CustomStringConvertible, Equatable {
   |               `- note: consider making struct 'Compressor' conform to the 'Sendable' protocol
 3 |     internal enum _Compressor: Equatable {
 4 |         case zlib(level: Int32?)
   :
14 |     /// Use zlib for data compression.
15 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/glossary/#term-zlib
16 |     public static let zlib = Compressor(.zlib(level: nil))
   |                       |- warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zlib' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     /// Use zlib for data compression, with the specified compression level.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:64:27: warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
 64 |         public static let gssAPI = Mechanism(.gssAPI)
    |                           |- warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'gssAPI' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |         /// X509 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:68:27: warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 66 |         /// X509 authentication.
 67 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-x.509/#security-auth-x509
 68 |         public static let mongodbX509 = Mechanism(.mongodbX509)
    |                           |- warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'mongodbX509' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         /// PLAIN authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:72:27: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 70 |         /// PLAIN authentication.
 71 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-ldap/
 72 |         public static let plain = Mechanism(.plain)
    |                           |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |         /// SCRAM-SHA-1 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:76:27: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 74 |         /// SCRAM-SHA-1 authentication.
 75 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 76 |         public static let scramSHA1 = Mechanism(.scramSHA1)
    |                           |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA1' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         /// SCRAM-SHA-256 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:80:27: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 78 |         /// SCRAM-SHA-256 authentication.
 79 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 80 |         public static let scramSHA256 = Mechanism(.scramSHA256)
    |                           |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA256' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |
 82 |         private enum _Mechanism: String {
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:281:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |         let el = self.eventLoop
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- note: closure captures non-Sendable 'client'
283 |                 wrappedCursor.kill()
    |                 `- note: closure captures non-Sendable 'wrappedCursor'
284 |             }
285 |         }
[546/549] Compiling MongoSwift MongoCursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:65:70: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 63 |     ) -> EventLoopFuture<T?> {
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
    |                                                                      `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 66 |             cursor.next().always { _ in _ = cursor.kill() }
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Read.swift:66:45: warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 64 |         let options = options.map { FindOptions(from: $0) }
 65 |         return self.find(filter, options: options, session: session).flatMap { cursor in
 66 |             cursor.next().always { _ in _ = cursor.kill() }
    |                                             `- warning: capture of 'cursor' with non-sendable type 'MongoCursor<T>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 67 |         }
 68 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:175:40: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |                               `- note: 'T' previously declared here
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
    :
173 |     /// `MongoCollection`, and uses it to execute the given closure. The `mongoc_collection_t` is only valid for the
174 |     /// body of the closure. The caller is *not responsible* for cleaning up the `mongoc_collection_t`.
175 |     internal func withMongocCollection<T>(
    |                                        `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
176 |         from connection: Connection,
177 |         body: (OpaquePointer) throws -> T
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ReadConcern.swift:26:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct to represent a MongoDB read concern.
 4 | public struct ReadConcern: Codable {
   |               `- note: consider making struct 'ReadConcern' conform to the 'Sendable' protocol
 5 |     /// Local ReadConcern.
 6 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-concern-local/
   :
24 |
25 |     /// Server default ReadConcern.
26 |     public static let serverDefault = ReadConcern(nil)
   |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'ReadConcern' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 |     /// For an unknown ReadConcern.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/WriteConcern.swift:27:23: warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | /// A class to represent a MongoDB write concern.
  5 | public struct WriteConcern: Codable {
    |               `- note: consider making struct 'WriteConcern' conform to the 'Sendable' protocol
  6 |     /// Majority WriteConcern with journal and wtimeoutMS unset.
  7 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/write-concern/#writeconcern._dq_majority_dq_
    :
 25 |
 26 |     /// Server default WriteConcern.
 27 |     public static let serverDefault = WriteConcern()
    |                       |- warning: static property 'serverDefault' is not concurrency-safe because non-'Sendable' type 'WriteConcern' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'serverDefault' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 |     /// An option to request acknowledgement that the write operation has propagated to specified mongod instances.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:65:27: warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
     |                           |- warning: static property 'mongodb' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'mongodb' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoConnectionString.swift:68:27: warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
  61 |
  62 |     /// Represents a connection string scheme.
  63 |     public struct Scheme: LosslessStringConvertible, Equatable {
     |                   `- note: consider making struct 'Scheme' conform to the 'Sendable' protocol
  64 |         /// Indicates that this connection string uses the scheme `mongodb`.
  65 |         public static let mongodb = Scheme(.mongodb)
  66 |
  67 |         /// Indicates that this connection string uses the scheme `mongodb+srv`.
  68 |         public static let srv = Scheme(.srv)
     |                           |- warning: static property 'srv' is not concurrency-safe because non-'Sendable' type 'MongoConnectionString.Scheme' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'srv' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  69 |
  70 |         /// Internal representation of a scheme.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Compressor.swift:16:23: warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Specifies a library to use for network compression.
 2 | public struct Compressor: CustomStringConvertible, Equatable {
   |               `- note: consider making struct 'Compressor' conform to the 'Sendable' protocol
 3 |     internal enum _Compressor: Equatable {
 4 |         case zlib(level: Int32?)
   :
14 |     /// Use zlib for data compression.
15 |     /// - SeeAlso: https://docs.mongodb.com/manual/reference/glossary/#term-zlib
16 |     public static let zlib = Compressor(.zlib(level: nil))
   |                       |- warning: static property 'zlib' is not concurrency-safe because non-'Sendable' type 'Compressor' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'zlib' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 |     /// Use zlib for data compression, with the specified compression level.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:64:27: warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
 64 |         public static let gssAPI = Mechanism(.gssAPI)
    |                           |- warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'gssAPI' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |
 66 |         /// X509 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:68:27: warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 66 |         /// X509 authentication.
 67 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-x.509/#security-auth-x509
 68 |         public static let mongodbX509 = Mechanism(.mongodbX509)
    |                           |- warning: static property 'mongodbX509' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'mongodbX509' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |         /// PLAIN authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:72:27: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 70 |         /// PLAIN authentication.
 71 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-ldap/
 72 |         public static let plain = Mechanism(.plain)
    |                           |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |
 74 |         /// SCRAM-SHA-1 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:76:27: warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 74 |         /// SCRAM-SHA-1 authentication.
 75 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 76 |         public static let scramSHA1 = Mechanism(.scramSHA1)
    |                           |- warning: static property 'scramSHA1' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA1' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         /// SCRAM-SHA-256 authentication.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCredential.swift:80:27: warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     /// Possible authentication mechanisms.
 61 |     public struct Mechanism: Decodable, Equatable, CustomStringConvertible {
    |                   `- note: consider making struct 'Mechanism' conform to the 'Sendable' protocol
 62 |         /// GSSAPI authentication.
 63 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/kerberos/
    :
 78 |         /// SCRAM-SHA-256 authentication.
 79 |         /// - SeeAlso: https://docs.mongodb.com/manual/core/security-scram/#authentication-scram
 80 |         public static let scramSHA256 = Mechanism(.scramSHA256)
    |                           |- warning: static property 'scramSHA256' is not concurrency-safe because non-'Sendable' type 'MongoCredential.Mechanism' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'scramSHA256' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 81 |
 82 |         private enum _Mechanism: String {
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:287:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
285 |
286 |     /// Counter for generating client _ids.
287 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
    |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
288 |
289 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:281:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
279 |         let el = self.eventLoop
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- note: closure captures non-Sendable 'client'
283 |                 wrappedCursor.kill()
    |                 `- note: closure captures non-Sendable 'wrappedCursor'
284 |             }
285 |         }
[547/569] Compiling MongoSwiftSync MongoCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection.swift:100:10: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 98 |             session: session?.asyncSession
 99 |         )
100 |         .wait()
    |          `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
101 |         return MongoCollection(client: self.client, asyncCollection: newAsyncColl)
102 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: generic struct 'MongoCollection' does not conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: generic struct 'MongoCollection' does not conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 |
  3 | /// A MongoDB collection.
[548/569] Compiling MongoSwiftSync MongoCursor.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCursor.swift:68:48: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 10 |  * It is safe to `kill(...)` a `MongoCursor` from another thread while it is blocked waiting on results, however.
 11 |  */
 12 | public class MongoCursor<T: Codable>: CursorProtocol {
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 13 |     private let asyncCursor: MongoSwift.MongoCursor<T>
 14 |     private let client: MongoClient
    :
 66 |     public func next() -> Result<T, Error>? {
 67 |         do {
 68 |             return try self.asyncCursor.next().wait().map { .success($0) }
    |                                                `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 69 |         } catch {
 70 |             return .failure(error)
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCursor.swift:95:51: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 10 |  * It is safe to `kill(...)` a `MongoCursor` from another thread while it is blocked waiting on results, however.
 11 |  */
 12 | public class MongoCursor<T: Codable>: CursorProtocol {
    |                          `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 13 |     private let asyncCursor: MongoSwift.MongoCursor<T>
 14 |     private let client: MongoClient
    :
 93 |     public func tryNext() -> Result<T, Error>? {
 94 |         do {
 95 |             return try self.asyncCursor.tryNext().wait().map { .success($0) }
    |                                                   `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 96 |         } catch {
 97 |             return .failure(error)
[549/570] Compiling MongoSwiftSync MongoCollection+Read.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Read.swift:24:109: warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 22 |         session: ClientSession? = nil
 23 |     ) throws -> MongoCursor<CollectionType> {
 24 |         let asyncCursor = try self.asyncColl.find(filter, options: options, session: session?.asyncSession).wait()
    |                                                                                                             `- warning: type 'MongoCursor<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 25 |         return MongoCursor(wrapping: asyncCursor, client: self.client)
 26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Read.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 |
  3 | extension MongoCollection {
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Read.swift:48:94: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |         session: ClientSession? = nil
 47 |     ) throws -> T? {
 48 |         try self.asyncColl.findOne(filter, options: options, session: session?.asyncSession).wait()
    |                                                                                              `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 49 |     }
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection.swift:4:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  2 |
  3 | /// A MongoDB collection.
  4 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  5 |     /// Encoder used by this collection for BSON conversions. (e.g. converting `CollectionType`s, indexes, and options
  6 |     /// to documents).
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Read.swift:102:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 |             session: session?.asyncSession,
101 |             withOutputType: OutputType.self
102 |         ).wait()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
103 |         return MongoCursor(wrapping: asyncCursor, client: self.client)
104 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Read.swift:168:10: warning: type 'BSON' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
166 |             session: session?.asyncSession
167 |         )
168 |         .wait()
    |          `- warning: type 'BSON' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
169 |     }
170 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSON.swift:6:13: note: enum 'BSON' does not conform to the 'Sendable' protocol
  4 | /// Enum representing a BSON value.
  5 | /// - SeeAlso: bsonspec.org
  6 | public enum BSON {
    |             `- note: enum 'BSON' does not conform to the 'Sendable' protocol
  7 |     /// A BSON document.
  8 |     case document(BSONDocument)
[550/570] Compiling MongoSwiftSync MongoCollection+Indexes.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Indexes.swift:191:90: warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
189 |      */
190 |     public func listIndexes(session: ClientSession? = nil) throws -> MongoCursor<IndexModel> {
191 |         let asyncCursor = try self.asyncColl.listIndexes(session: session?.asyncSession).wait()
    |                                                                                          `- warning: type 'MongoCursor<IndexModel>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
192 |         return MongoCursor(wrapping: asyncCursor, client: self.client)
193 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Indexes.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 |
  3 | /// An extension of `MongoCollection` encapsulating index management capabilities.
[551/570] Compiling MongoSwiftSync MongoCollection+FindAndModify.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+FindAndModify.swift:28:103: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 26 |         session: ClientSession? = nil
 27 |     ) throws -> CollectionType? {
 28 |         try self.asyncColl.findOneAndDelete(filter, options: options, session: session?.asyncSession).wait()
    |                                                                                                       `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 29 |     }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection.swift:4:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  2 |
  3 | /// A MongoDB collection.
  4 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  5 |     /// Encoder used by this collection for BSON conversions. (e.g. converting `CollectionType`s, indexes, and options
  6 |     /// to documents).
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+FindAndModify.swift:64:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 62 |             session: session?.asyncSession
 63 |         )
 64 |         .wait()
    |          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 65 |     }
 66 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection.swift:4:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  2 |
  3 | /// A MongoDB collection.
  4 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  5 |     /// Encoder used by this collection for BSON conversions. (e.g. converting `CollectionType`s, indexes, and options
  6 |     /// to documents).
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+FindAndModify.swift:99:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 97 |             session: session?.asyncSession
 98 |         )
 99 |         .wait()
    |          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 |     }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection.swift:4:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  2 |
  3 | /// A MongoDB collection.
  4 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  5 |     /// Encoder used by this collection for BSON conversions. (e.g. converting `CollectionType`s, indexes, and options
  6 |     /// to documents).
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+FindAndModify.swift:134:10: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
132 |             session: session?.asyncSession
133 |         )
134 |         .wait()
    |          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
135 |     }
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection.swift:4:31: note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  2 |
  3 | /// A MongoDB collection.
  4 | public struct MongoCollection<T: Codable> {
    |                               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  5 |     /// Encoder used by this collection for BSON conversions. (e.g. converting `CollectionType`s, indexes, and options
  6 |     /// to documents).
[552/570] Compiling MongoSwiftSync MongoCollection+Write.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:30:95: warning: type 'InsertOneResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 28 |         session: ClientSession? = nil
 29 |     ) throws -> InsertOneResult? {
 30 |         try self.asyncColl.insertOne(value, options: options, session: session?.asyncSession).wait()
    |                                                                                               `- warning: type 'InsertOneResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 31 |     }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:452:15: note: struct 'InsertOneResult' does not conform to the 'Sendable' protocol
450 |
451 | /// The result of an `insertOne` command on a `MongoCollection`.
452 | public struct InsertOneResult: Codable {
    |               `- note: struct 'InsertOneResult' does not conform to the 'Sendable' protocol
453 |     /// The identifier that was inserted. If the document doesn't have an identifier, this value
454 |     /// will be generated and added to the document before insertion.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 |
  3 | /// An extension of `MongoCollection` encapsulating write operations.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:57:97: warning: type 'InsertManyResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 55 |         session: ClientSession? = nil
 56 |     ) throws -> InsertManyResult? {
 57 |         try self.asyncColl.insertMany(values, options: options, session: session?.asyncSession).wait()
    |                                                                                                 `- warning: type 'InsertManyResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 58 |     }
 59 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:473:15: note: struct 'InsertManyResult' does not conform to the 'Sendable' protocol
471 |
472 | /// The result of a multi-document insert operation on a `MongoCollection`.
473 | public struct InsertManyResult: Codable {
    |               `- note: struct 'InsertManyResult' does not conform to the 'Sendable' protocol
474 |     /// Number of documents inserted.
475 |     public let insertedCount: Int
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:92:10: warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 90 |             session: session?.asyncSession
 91 |         )
 92 |         .wait()
    |          `- warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 93 |     }
 94 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:508:15: note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
506 |
507 | /// The result of an `update` operation on a `MongoCollection`.
508 | public struct UpdateResult: Codable {
    |               `- note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
509 |     /// The number of documents that matched the filter.
510 |     public let matchedCount: Int
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:127:10: warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
125 |             session: session?.asyncSession
126 |         )
127 |         .wait()
    |          `- warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
128 |     }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:508:15: note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
506 |
507 | /// The result of an `update` operation on a `MongoCollection`.
508 | public struct UpdateResult: Codable {
    |               `- note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
509 |     /// The number of documents that matched the filter.
510 |     public let matchedCount: Int
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:162:10: warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 |             session: session?.asyncSession
161 |         )
162 |         .wait()
    |          `- warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
163 |     }
164 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:508:15: note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
506 |
507 | /// The result of an `update` operation on a `MongoCollection`.
508 | public struct UpdateResult: Codable {
    |               `- note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
509 |     /// The number of documents that matched the filter.
510 |     public let matchedCount: Int
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:197:10: warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
195 |             session: session?.asyncSession
196 |         )
197 |         .wait()
    |          `- warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
198 |     }
199 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:508:15: note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
506 |
507 | /// The result of an `update` operation on a `MongoCollection`.
508 | public struct UpdateResult: Codable {
    |               `- note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
509 |     /// The number of documents that matched the filter.
510 |     public let matchedCount: Int
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:232:10: warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 |             session: session?.asyncSession
231 |         )
232 |         .wait()
    |          `- warning: type 'UpdateResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 |     }
234 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:508:15: note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
506 |
507 | /// The result of an `update` operation on a `MongoCollection`.
508 | public struct UpdateResult: Codable {
    |               `- note: struct 'UpdateResult' does not conform to the 'Sendable' protocol
509 |     /// The number of documents that matched the filter.
510 |     public let matchedCount: Int
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:259:96: warning: type 'DeleteResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 |         session: ClientSession? = nil
258 |     ) throws -> DeleteResult? {
259 |         try self.asyncColl.deleteOne(filter, options: options, session: session?.asyncSession).wait()
    |                                                                                                `- warning: type 'DeleteResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 |     }
261 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:495:15: note: struct 'DeleteResult' does not conform to the 'Sendable' protocol
493 |
494 | /// The result of a `delete` command on a `MongoCollection`.
495 | public struct DeleteResult: Codable {
    |               `- note: struct 'DeleteResult' does not conform to the 'Sendable' protocol
496 |     /// The number of documents that were deleted.
497 |     public let deletedCount: Int
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:286:97: warning: type 'DeleteResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
284 |         session: ClientSession? = nil
285 |     ) throws -> DeleteResult? {
286 |         try self.asyncColl.deleteMany(filter, options: options, session: session?.asyncSession).wait()
    |                                                                                                 `- warning: type 'DeleteResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
287 |     }
288 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+Write.swift:495:15: note: struct 'DeleteResult' does not conform to the 'Sendable' protocol
493 |
494 | /// The result of a `delete` command on a `MongoCollection`.
495 | public struct DeleteResult: Codable {
    |               `- note: struct 'DeleteResult' does not conform to the 'Sendable' protocol
496 |     /// The number of documents that were deleted.
497 |     public let deletedCount: Int
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+Write.swift:312:98: warning: type 'BulkWriteResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
310 |         session: ClientSession? = nil
311 |     ) throws -> BulkWriteResult? {
312 |         try self.asyncColl.bulkWrite(requests, options: options, session: session?.asyncSession).wait()
    |                                                                                                  `- warning: type 'BulkWriteResult' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
313 |     }
314 | }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+BulkWrite.swift:354:15: note: struct 'BulkWriteResult' does not conform to the 'Sendable' protocol
352 |
353 | /// The result of a bulk write operation on a `MongoCollection`.
354 | public struct BulkWriteResult: Codable {
    |               `- note: struct 'BulkWriteResult' does not conform to the 'Sendable' protocol
355 |     /// Number of documents deleted.
356 |     public let deletedCount: Int
[553/570] Compiling MongoSwiftSync CursorCommon.swift
[554/570] Compiling MongoSwiftSync Exports.swift
[555/570] Compiling MongoSwiftSync ChangeStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/ChangeStream.swift:69:66: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  3 | /// A MongoDB change stream.
  4 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
  5 | public class ChangeStream<T: Codable>: CursorProtocol {
    |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  6 |     private let asyncChangeStream: MongoSwift.ChangeStream<T>
  7 |
    :
 67 |     public func next() -> Result<T, Error>? {
 68 |         do {
 69 |             guard let result = try self.asyncChangeStream.next().wait() else {
    |                                                                  `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 70 |                 return nil
 71 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/ChangeStream.swift:99:69: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  3 | /// A MongoDB change stream.
  4 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
  5 | public class ChangeStream<T: Codable>: CursorProtocol {
    |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  6 |     private let asyncChangeStream: MongoSwift.ChangeStream<T>
  7 |
    :
 97 |     public func tryNext() -> Result<T, Error>? {
 98 |         do {
 99 |             guard let result = try self.asyncChangeStream.tryNext().wait() else {
    |                                                                     `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 |                 return nil
101 |             }
[556/570] Compiling MongoSwiftSync ClientSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/ChangeStream.swift:69:66: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  3 | /// A MongoDB change stream.
  4 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
  5 | public class ChangeStream<T: Codable>: CursorProtocol {
    |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  6 |     private let asyncChangeStream: MongoSwift.ChangeStream<T>
  7 |
    :
 67 |     public func next() -> Result<T, Error>? {
 68 |         do {
 69 |             guard let result = try self.asyncChangeStream.next().wait() else {
    |                                                                  `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 70 |                 return nil
 71 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/ChangeStream.swift:99:69: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  3 | /// A MongoDB change stream.
  4 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
  5 | public class ChangeStream<T: Codable>: CursorProtocol {
    |                           `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
  6 |     private let asyncChangeStream: MongoSwift.ChangeStream<T>
  7 |
    :
 97 |     public func tryNext() -> Result<T, Error>? {
 98 |         do {
 99 |             guard let result = try self.asyncChangeStream.tryNext().wait() else {
    |                                                                     `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
100 |                 return nil
101 |             }
[557/570] Emitting module MongoSwiftSync
[558/570] Compiling MongoSwiftSync MongoClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoClient.swift:154:102: warning: type 'DatabaseSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
152 |         session: ClientSession? = nil
153 |     ) throws -> [DatabaseSpecification] {
154 |         try self.asyncClient.listDatabases(filter, options: options, session: session?.asyncSession).wait()
    |                                                                                                      `- warning: type 'DatabaseSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
155 |     }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/ListDatabasesOperation.swift:4:15: note: struct 'DatabaseSpecification' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A struct modeling the information returned from the `listDatabases` command about a single database.
 4 | public struct DatabaseSpecification: Codable {
   |               `- note: struct 'DatabaseSpecification' does not conform to the 'Sendable' protocol
 5 |     /// The name of the database.
 6 |     public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoClient.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 | import NIO
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoClient.swift:336:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
334 |             session: session?.asyncSession,
335 |             withEventType: EventType.self
336 |         ).wait()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
337 |
338 |         return ChangeStream(wrapping: asyncStream, client: self)
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+ChangeStreams.swift:114:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 |             session: session?.asyncSession,
113 |             withEventType: EventType.self
114 |         ).wait()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 |         return ChangeStream(wrapping: asyncStream, client: self.client)
116 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+ChangeStreams.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 |
  3 | extension MongoCollection {
[559/570] Compiling MongoSwiftSync MongoCollection+ChangeStreams.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoClient.swift:154:102: warning: type 'DatabaseSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
152 |         session: ClientSession? = nil
153 |     ) throws -> [DatabaseSpecification] {
154 |         try self.asyncClient.listDatabases(filter, options: options, session: session?.asyncSession).wait()
    |                                                                                                      `- warning: type 'DatabaseSpecification' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
155 |     }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/Operations/ListDatabasesOperation.swift:4:15: note: struct 'DatabaseSpecification' does not conform to the 'Sendable' protocol
 2 |
 3 | /// A struct modeling the information returned from the `listDatabases` command about a single database.
 4 | public struct DatabaseSpecification: Codable {
   |               `- note: struct 'DatabaseSpecification' does not conform to the 'Sendable' protocol
 5 |     /// The name of the database.
 6 |     public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoClient.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 | import NIO
  3 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoClient.swift:336:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
334 |             session: session?.asyncSession,
335 |             withEventType: EventType.self
336 |         ).wait()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
337 |
338 |         return ChangeStream(wrapping: asyncStream, client: self)
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+ChangeStreams.swift:114:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
112 |             session: session?.asyncSession,
113 |             withEventType: EventType.self
114 |         ).wait()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 |         return ChangeStream(wrapping: asyncStream, client: self.client)
116 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoCollection+ChangeStreams.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 |
  3 | extension MongoCollection {
[560/570] Compiling MongoSwiftSync MongoDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoDatabase.swift:144:10: warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
142 |             session: session?.asyncSession
143 |         )
144 |         .wait()
    |          `- warning: type 'MongoCollection<T>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 |         return MongoCollection(client: self.client, asyncCollection: asyncColl)
146 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection.swift:17:15: note: generic struct 'MongoCollection' does not conform to the 'Sendable' protocol
 15 | // sourcery: skipSyncExport
 16 | /// A MongoDB collection.
 17 | public struct MongoCollection<T: Codable> {
    |               `- note: generic struct 'MongoCollection' does not conform to the 'Sendable' protocol
 18 |     /// The client which this collection was derived from.
 19 |     internal let _client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoDatabase.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  1 | import MongoSwift
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MongoSwift'
  2 |
  3 | /// A MongoDB Database.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoDatabase.swift:168:104: warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
166 |     ) throws -> MongoCursor<CollectionSpecification> {
167 |         let asyncCursor =
168 |             try self.asyncDB.listCollections(filter, options: options, session: session?.asyncSession).wait()
    |                                                                                                        `- warning: type 'MongoCursor<CollectionSpecification>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
169 |         return MongoCursor(wrapping: asyncCursor, client: self.client)
170 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoDatabase.swift:244:96: warning: type 'BSONDocument' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
242 |         session: ClientSession? = nil
243 |     ) throws -> BSONDocument {
244 |         try self.asyncDB.runCommand(command, options: options, session: session?.asyncSession).wait()
    |                                                                                                `- warning: type 'BSONDocument' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
245 |     }
246 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-bson/Sources/SwiftBSON/BSONDocument.swift:14:15: note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 12 | /// A struct representing the BSON document type.
 13 | @dynamicMemberLookup
 14 | public struct BSONDocument {
    |               `- note: struct 'BSONDocument' does not conform to the 'Sendable' protocol
 15 |     /// The element type of a document: a tuple containing an individual key-value pair.
 16 |     public typealias KeyValuePair = (key: String, value: BSON)
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoDatabase.swift:361:11: warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
359 |             session: session?.asyncSession,
360 |             withEventType: EventType.self
361 |         ).wait()
    |           `- warning: type 'ChangeStream<EventType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
362 |         return ChangeStream(wrapping: asyncStream, client: self.client)
363 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/ChangeStream.swift:63:14: note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 61 | /// A MongoDB change stream.
 62 | /// - SeeAlso: https://docs.mongodb.com/manual/changeStreams/
 63 | public class ChangeStream<T: Codable>: CursorProtocol {
    |              `- note: generic class 'ChangeStream' does not conform to the 'Sendable' protocol
 64 |     public typealias Element = T
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwiftSync/MongoDatabase.swift:429:11: warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
427 |             session: session?.asyncSession,
428 |             withOutputType: withOutputType
429 |         ).wait()
    |           `- warning: type 'MongoCursor<OutputType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
430 |         return MongoCursor(wrapping: asyncCursor, client: self.client)
431 |     }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:35:14: note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 33 | // sourcery: skipSyncExport
 34 | /// A MongoDB cursor.
 35 | public class MongoCursor<T: Codable>: CursorProtocol {
    |              `- note: generic class 'MongoCursor' does not conform to the 'Sendable' protocol
 36 |     /// The client this cursor descended from.
 37 |     private let client: MongoClient
[561/572] Emitting module AtlasConnectivity
[562/572] Compiling AtlasConnectivity main.swift
[562/572] Write Objects.LinkFileList
[563/572] Linking AtlasConnectivity
[564/572] Applying AtlasConnectivity
[566/572] Compiling TestsCommon SpecTestUtils.swift
[567/572] Compiling TestsCommon ServerVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:5:23: warning: static property 'mongodFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
   |                       |- warning: static property 'mongodFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongodFailCommandSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:6:23: warning: static property 'mongosFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
   |                       |- warning: static property 'mongosFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongosFailCommandSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:7:23: warning: static property 'mongodBlockTimeSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
   |                       |- warning: static property 'mongodBlockTimeSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongodBlockTimeSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |     let major: Int
[568/572] Compiling TestsCommon MongoError+Equatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:4:1: warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 2 | import MongoSwift
 3 |
 4 | extension MongoError.ConnectionError: Equatable {
   | |- warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public static func == (lhs: MongoError.ConnectionError, rhs: MongoError.ConnectionError) -> Bool {
 6 |         lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 8 | }
 9 |
10 | extension MongoError.CommandError: Equatable {
   | |- warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: MongoError.CommandError, rhs: MongoError.CommandError) -> Bool {
12 |         lhs.code == rhs.code && lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
14 | }
15 |
16 | extension MongoError.WriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: MongoError.WriteError, rhs: MongoError.WriteError) -> Bool {
18 |         lhs.writeFailure == rhs.writeFailure &&
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:24:1: warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
22 | }
23 |
24 | extension MongoError.BulkWriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
25 |     public static func == (lhs: MongoError.BulkWriteError, rhs: MongoError.BulkWriteError) -> Bool {
26 |         let cmp = { (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) in
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:37:1: warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
35 | }
36 |
37 | extension BulkWriteResult: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
38 |     public static func == (lhs: BulkWriteResult, rhs: BulkWriteResult) -> Bool {
39 |         lhs.insertedIDs == rhs.insertedIDs
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:48:1: warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
46 | }
47 |
48 | extension MongoError.WriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
49 |     public static func == (lhs: MongoError.WriteFailure, rhs: MongoError.WriteFailure) -> Bool {
50 |         lhs.code == rhs.code
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:54:1: warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
52 | }
53 |
54 | extension MongoError.BulkWriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public static func == (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) -> Bool {
56 |         lhs.code == rhs.code && lhs.index == rhs.index
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:60:1: warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
58 | }
59 |
60 | extension MongoError.WriteConcernFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
61 |     public static func == (lhs: MongoError.WriteConcernFailure, rhs: MongoError.WriteConcernFailure) -> Bool {
62 |         lhs.code == rhs.code
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:66:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
64 | }
65 |
66 | extension DecodingError: Equatable {
   | |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
67 |     public static func == (lhs: DecodingError, rhs: DecodingError) -> Bool {
68 |         switch (lhs, rhs) {
[569/572] Compiling TestsCommon APMUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:16:21: warning: 'Lock' is deprecated: renamed to 'NIOLock'
 14 |         self.events = []
 15 |         self.monitoring = false
 16 |         self.lock = Lock()
    |                     |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                     `- note: use 'NIOLock' instead
 17 |     }
 18 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[570/572] Compiling TestsCommon CodableExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:27:1: warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 25 | }
 26 |
 27 | extension MongoDatabaseOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 28 |     internal typealias CodingKeysType = CodingKeys
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:45:1: warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 43 | }
 44 |
 45 | extension MongoCollectionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 46 |     internal typealias CodingKeysType = CodingKeys
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:63:1: warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 61 | }
 62 |
 63 | extension ClientSessionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 64 |     internal typealias CodingKeysType = CodingKeys
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:88:1: warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 86 | }
 87 |
 88 | extension TransactionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 89 |     internal typealias CodingKeysType = CodingKeys
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:112:1: warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
110 | }
111 |
112 | extension MongoClientOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
113 |     internal typealias CodingKeysType = CodingKeys
114 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:144:1: warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
142 | }
143 |
144 | extension ReadPreference: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |     internal typealias CodingKeysType = CodingKeys
146 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:171:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
169 | }
170 |
171 | extension ReadPreference.Mode: Decodable {
    | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
172 |     public init(from decoder: Decoder) throws {
173 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:187:1: warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
185 | }
186 |
187 | extension TopologyDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
188 |     internal typealias CodingKeysType = CodingKeys
189 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:205:1: warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
203 | }
204 |
205 | extension ServerDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
206 |     internal typealias CodingKeysType = CodingKeys
207 |
[571/572] Emitting module TestsCommon
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/APMUtils.swift:11:23: warning: 'Lock' is deprecated: renamed to 'NIOLock'
  9 |     private var events: [CommandEvent]
 10 |     // Lock over monitoring and events.
 11 |     private var lock: Lock
    |                       |- warning: 'Lock' is deprecated: renamed to 'NIOLock'
    |                       `- note: use 'NIOLock' instead
 12 |
 13 |     public init() {
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:27:1: warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 25 | }
 26 |
 27 | extension MongoDatabaseOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoDatabaseOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 28 |     internal typealias CodingKeysType = CodingKeys
 29 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:45:1: warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 43 | }
 44 |
 45 | extension MongoCollectionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoCollectionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 46 |     internal typealias CodingKeysType = CodingKeys
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:63:1: warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 61 | }
 62 |
 63 | extension ClientSessionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ClientSessionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 64 |     internal typealias CodingKeysType = CodingKeys
 65 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:88:1: warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 86 | }
 87 |
 88 | extension TransactionOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TransactionOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 89 |     internal typealias CodingKeysType = CodingKeys
 90 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:112:1: warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
110 | }
111 |
112 | extension MongoClientOptions: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'MongoClientOptions' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
113 |     internal typealias CodingKeysType = CodingKeys
114 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:144:1: warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
142 | }
143 |
144 | extension ReadPreference: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ReadPreference' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |     internal typealias CodingKeysType = CodingKeys
146 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:171:1: warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
169 | }
170 |
171 | extension ReadPreference.Mode: Decodable {
    | |- warning: extension declares a conformance of imported type 'Mode' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
172 |     public init(from decoder: Decoder) throws {
173 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:187:1: warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
185 | }
186 |
187 | extension TopologyDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'TopologyDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
188 |     internal typealias CodingKeysType = CodingKeys
189 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CodableExtensions.swift:205:1: warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
203 | }
204 |
205 | extension ServerDescription: StrictDecodable {
    | |- warning: extension declares a conformance of imported type 'ServerDescription' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
206 |     internal typealias CodingKeysType = CodingKeys
207 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:267:23: warning: static property 'failCommandSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
265 |     private let auth: Bool?
266 |
267 |     public static let failCommandSupport: [TestRequirement] = [
    |                       |- warning: static property 'failCommandSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'failCommandSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 |         TestRequirement(
269 |             minServerVersion: ServerVersion.mongodFailCommandSupport,
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:5:23: warning: static property 'mongodFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
   |                       |- warning: static property 'mongodFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongodFailCommandSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:6:23: warning: static property 'mongosFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
   |                       |- warning: static property 'mongosFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongosFailCommandSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:278:23: warning: static property 'blockTimeSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
276 |     ]
277 |
278 |     public static let blockTimeSupport: [TestRequirement] = [
    |                       |- warning: static property 'blockTimeSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'blockTimeSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |         TestRequirement(
280 |             minServerVersion: ServerVersion.mongodBlockTimeSupport
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:7:23: warning: static property 'mongodBlockTimeSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
   |                       |- warning: static property 'mongodBlockTimeSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongodBlockTimeSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |     let major: Int
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:284:23: warning: static property 'changeStreamOnCollectionSupport' is not concurrency-safe because non-'Sendable' type 'TestRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
282 |     ]
283 |
284 |     public static let changeStreamOnCollectionSupport = TestRequirement(
    |                       |- warning: static property 'changeStreamOnCollectionSupport' is not concurrency-safe because non-'Sendable' type 'TestRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'changeStreamOnCollectionSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
285 |         acceptableTopologies: [.replicaSet, .sharded, .shardedReplicaSet, .loadBalanced]
286 |     )
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:288:23: warning: static property 'changeStreamOnDBOrClientSupport' is not concurrency-safe because non-'Sendable' type 'TestRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
286 |     )
287 |
288 |     public static let changeStreamOnDBOrClientSupport = TestRequirement(
    |                       |- warning: static property 'changeStreamOnDBOrClientSupport' is not concurrency-safe because non-'Sendable' type 'TestRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'changeStreamOnDBOrClientSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |         minServerVersion: ServerVersion(major: 4, minor: 0, patch: 0),
290 |         acceptableTopologies: [.replicaSet, .sharded, .shardedReplicaSet, .loadBalanced]
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:293:23: warning: static property 'transactionsSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
291 |     )
292 |
293 |     public static let transactionsSupport = [
    |                       |- warning: static property 'transactionsSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'transactionsSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 |         TestRequirement(
295 |             minServerVersion: ServerVersion(major: 4, minor: 0, patch: 0),
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:445:53: error: 'Predicate' is ambiguous for type lookup in this context
443 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
444 | // them with the "clean" function
445 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
446 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
447 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:464:69: error: 'Predicate' is ambiguous for type lookup in this context
462 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
463 | // have the same key/value pairs in them
464 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
465 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
466 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:556:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
554 |
555 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
556 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
557 |     public init(from decoder: Decoder) throws {
558 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:4:1: warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 2 | import MongoSwift
 3 |
 4 | extension MongoError.ConnectionError: Equatable {
   | |- warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public static func == (lhs: MongoError.ConnectionError, rhs: MongoError.ConnectionError) -> Bool {
 6 |         lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 8 | }
 9 |
10 | extension MongoError.CommandError: Equatable {
   | |- warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: MongoError.CommandError, rhs: MongoError.CommandError) -> Bool {
12 |         lhs.code == rhs.code && lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
14 | }
15 |
16 | extension MongoError.WriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: MongoError.WriteError, rhs: MongoError.WriteError) -> Bool {
18 |         lhs.writeFailure == rhs.writeFailure &&
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:24:1: warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
22 | }
23 |
24 | extension MongoError.BulkWriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
25 |     public static func == (lhs: MongoError.BulkWriteError, rhs: MongoError.BulkWriteError) -> Bool {
26 |         let cmp = { (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) in
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:37:1: warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
35 | }
36 |
37 | extension BulkWriteResult: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
38 |     public static func == (lhs: BulkWriteResult, rhs: BulkWriteResult) -> Bool {
39 |         lhs.insertedIDs == rhs.insertedIDs
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:48:1: warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
46 | }
47 |
48 | extension MongoError.WriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
49 |     public static func == (lhs: MongoError.WriteFailure, rhs: MongoError.WriteFailure) -> Bool {
50 |         lhs.code == rhs.code
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:54:1: warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
52 | }
53 |
54 | extension MongoError.BulkWriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public static func == (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) -> Bool {
56 |         lhs.code == rhs.code && lhs.index == rhs.index
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:60:1: warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
58 | }
59 |
60 | extension MongoError.WriteConcernFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
61 |     public static func == (lhs: MongoError.WriteConcernFailure, rhs: MongoError.WriteConcernFailure) -> Bool {
62 |         lhs.code == rhs.code
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:66:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
64 | }
65 |
66 | extension DecodingError: Equatable {
   | |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
67 |     public static func == (lhs: DecodingError, rhs: DecodingError) -> Bool {
68 |         switch (lhs, rhs) {
[572/572] Compiling TestsCommon CommonTestUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:267:23: warning: static property 'failCommandSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
265 |     private let auth: Bool?
266 |
267 |     public static let failCommandSupport: [TestRequirement] = [
    |                       |- warning: static property 'failCommandSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'failCommandSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 |         TestRequirement(
269 |             minServerVersion: ServerVersion.mongodFailCommandSupport,
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:5:23: warning: static property 'mongodFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
   |                       |- warning: static property 'mongodFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongodFailCommandSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:6:23: warning: static property 'mongosFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
   |                       |- warning: static property 'mongosFailCommandSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongosFailCommandSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:278:23: warning: static property 'blockTimeSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
276 |     ]
277 |
278 |     public static let blockTimeSupport: [TestRequirement] = [
    |                       |- warning: static property 'blockTimeSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'blockTimeSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |         TestRequirement(
280 |             minServerVersion: ServerVersion.mongodBlockTimeSupport
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/ServerVersion.swift:7:23: warning: static property 'mongodBlockTimeSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A struct representing a server version.
 4 | public struct ServerVersion: Comparable, Decodable, CustomStringConvertible {
   |               `- note: consider making struct 'ServerVersion' conform to the 'Sendable' protocol
 5 |     public static let mongodFailCommandSupport = ServerVersion(major: 4, minor: 0)
 6 |     public static let mongosFailCommandSupport = ServerVersion(major: 4, minor: 1, patch: 5)
 7 |     public static let mongodBlockTimeSupport = ServerVersion(major: 4, minor: 2, patch: 9)
   |                       |- warning: static property 'mongodBlockTimeSupport' is not concurrency-safe because non-'Sendable' type 'ServerVersion' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'mongodBlockTimeSupport' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 8 |
 9 |     let major: Int
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:284:23: warning: static property 'changeStreamOnCollectionSupport' is not concurrency-safe because non-'Sendable' type 'TestRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
282 |     ]
283 |
284 |     public static let changeStreamOnCollectionSupport = TestRequirement(
    |                       |- warning: static property 'changeStreamOnCollectionSupport' is not concurrency-safe because non-'Sendable' type 'TestRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'changeStreamOnCollectionSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
285 |         acceptableTopologies: [.replicaSet, .sharded, .shardedReplicaSet, .loadBalanced]
286 |     )
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:288:23: warning: static property 'changeStreamOnDBOrClientSupport' is not concurrency-safe because non-'Sendable' type 'TestRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
286 |     )
287 |
288 |     public static let changeStreamOnDBOrClientSupport = TestRequirement(
    |                       |- warning: static property 'changeStreamOnDBOrClientSupport' is not concurrency-safe because non-'Sendable' type 'TestRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'changeStreamOnDBOrClientSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |         minServerVersion: ServerVersion(major: 4, minor: 0, patch: 0),
290 |         acceptableTopologies: [.replicaSet, .sharded, .shardedReplicaSet, .loadBalanced]
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:293:23: warning: static property 'transactionsSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
235 |
236 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
237 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
238 |     public enum ServerlessRequirement: String, Decodable {
239 |         case require
    :
291 |     )
292 |
293 |     public static let transactionsSupport = [
    |                       |- warning: static property 'transactionsSupport' is not concurrency-safe because non-'Sendable' type '[TestRequirement]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'transactionsSupport' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 |         TestRequirement(
295 |             minServerVersion: ServerVersion(major: 4, minor: 0, patch: 0),
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:445:53: error: 'Predicate' is ambiguous for type lookup in this context
443 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
444 | // them with the "clean" function
445 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
446 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
447 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:464:69: error: 'Predicate' is ambiguous for type lookup in this context
462 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
463 | // have the same key/value pairs in them
464 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
465 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
466 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:556:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
554 |
555 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
556 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
557 |     public init(from decoder: Decoder) throws {
558 |         let container = try decoder.singleValueContainer()
BUILD FAILURE 6.0 macosSpm