This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

/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/MongoCursor.swift:282:23: warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
283 |                 wrappedCursor.kill()
284 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:259:14: note: class 'MongoClient' does not conform to the 'Sendable' protocol
 257 | // sourcery: skipSyncExport
 258 | /// A MongoDB Client providing an asynchronous, SwiftNIO-based API.
 259 | public class MongoClient {
     |              `- note: class 'MongoClient' does not conform to the 'Sendable' protocol
 260 |     /// The pool of connections backing this client.
 261 |     internal let connectionPool: ConnectionPool
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+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/MongoCursor.swift:282:23: warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
283 |                 wrappedCursor.kill()
284 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:259:14: note: class 'MongoClient' does not conform to the 'Sendable' protocol
 257 | // sourcery: skipSyncExport
 258 | /// A MongoDB Client providing an asynchronous, SwiftNIO-based API.
 259 | public class MongoClient {
     |              `- note: class 'MongoClient' does not conform to the 'Sendable' protocol
 260 |     /// The pool of connections backing this client.
 261 |     internal let connectionPool: ConnectionPool
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+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/MongoCursor.swift:282:23: warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
283 |                 wrappedCursor.kill()
284 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:259:14: note: class 'MongoClient' does not conform to the 'Sendable' protocol
 257 | // sourcery: skipSyncExport
 258 | /// A MongoDB Client providing an asynchronous, SwiftNIO-based API.
 259 | public class MongoClient {
     |              `- note: class 'MongoClient' does not conform to the 'Sendable' protocol
 260 |     /// The pool of connections backing this client.
 261 |     internal let connectionPool: ConnectionPool
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+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/MongoCursor.swift:282:23: warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
283 |                 wrappedCursor.kill()
284 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:259:14: note: class 'MongoClient' does not conform to the 'Sendable' protocol
 257 | // sourcery: skipSyncExport
 258 | /// A MongoDB Client providing an asynchronous, SwiftNIO-based API.
 259 | public class MongoClient {
     |              `- note: class 'MongoClient' does not conform to the 'Sendable' protocol
 260 |     /// The pool of connections backing this client.
 261 |     internal let connectionPool: ConnectionPool
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+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/MongoCursor.swift:282:23: warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
283 |                 wrappedCursor.kill()
284 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:259:14: note: class 'MongoClient' does not conform to the 'Sendable' protocol
 257 | // sourcery: skipSyncExport
 258 | /// A MongoDB Client providing an asynchronous, SwiftNIO-based API.
 259 | public class MongoClient {
     |              `- note: class 'MongoClient' does not conform to the 'Sendable' protocol
 260 |     /// The pool of connections backing this client.
 261 |     internal let connectionPool: ConnectionPool
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCollection+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/MongoCursor.swift:282:23: warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
280 |         let wrappedCursor = self.wrappedCursor
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
    |                       `- warning: capture of 'client' with non-sendable type 'MongoClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
283 |                 wrappedCursor.kill()
284 |             }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:259:14: note: class 'MongoClient' does not conform to the 'Sendable' protocol
 257 | // sourcery: skipSyncExport
 258 | /// A MongoDB Client providing an asynchronous, SwiftNIO-based API.
 259 | public class MongoClient {
     |              `- note: class 'MongoClient' does not conform to the 'Sendable' protocol
 260 |     /// The pool of connections backing this client.
 261 |     internal let connectionPool: ConnectionPool
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoCursor.swift:283:17: warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
281 |         Task {
282 |             try await client.operationExecutor.execute(on: el) {
283 |                 wrappedCursor.kill()
    |                 `- warning: capture of 'wrappedCursor' with non-sendable type 'Cursor<MongocCursor>' in an isolated closure; this is an error in the Swift 6 language mode
284 |             }
285 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/CursorCommon.swift:96:16: note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 94 |
 95 | /// Internal type representing a MongoDB cursor.
 96 | internal class Cursor<CursorKind: MongocCursorWrapper> {
    |                `- note: generic class 'Cursor' does not conform to the 'Sendable' protocol
 97 |     private enum State {
 98 |         /// Indicates that the cursor is still open. Stores a `MongocCursorWrapper`, along with the source
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// 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/ReadPreference.swift:74:23: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// directed to.
  5 | /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-preference/
  6 | public struct ReadPreference: Equatable {
    |               `- note: consider making struct 'ReadPreference' conform to the 'Sendable' protocol
  7 |     /// An enumeration of possible read preference modes.
  8 |     /// - SeeAlso: https://docs.mongodb.com/manual/core/read-preference/#read-preference-modes
    :
 72 |     /// A `ReadPreference` with mode `primary`. This is the default mode. With this mode, all operations read from the
 73 |     /// current replica set primary.
 74 |     public static let primary = ReadPreference(.primary)
    |                       |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'primary' 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
 75 |     /// A `ReadPreference` with mode `primaryPreferred`. With this mode, in most situations operations read from the
 76 |     /// primary, but if it is unavailable, operations read from secondary members.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// 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/ReadPreference.swift:74:23: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// directed to.
  5 | /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-preference/
  6 | public struct ReadPreference: Equatable {
    |               `- note: consider making struct 'ReadPreference' conform to the 'Sendable' protocol
  7 |     /// An enumeration of possible read preference modes.
  8 |     /// - SeeAlso: https://docs.mongodb.com/manual/core/read-preference/#read-preference-modes
    :
 72 |     /// A `ReadPreference` with mode `primary`. This is the default mode. With this mode, all operations read from the
 73 |     /// current replica set primary.
 74 |     public static let primary = ReadPreference(.primary)
    |                       |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'primary' 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
 75 |     /// A `ReadPreference` with mode `primaryPreferred`. With this mode, in most situations operations read from the
 76 |     /// primary, but if it is unavailable, operations read from secondary members.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// 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/ReadPreference.swift:74:23: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// directed to.
  5 | /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-preference/
  6 | public struct ReadPreference: Equatable {
    |               `- note: consider making struct 'ReadPreference' conform to the 'Sendable' protocol
  7 |     /// An enumeration of possible read preference modes.
  8 |     /// - SeeAlso: https://docs.mongodb.com/manual/core/read-preference/#read-preference-modes
    :
 72 |     /// A `ReadPreference` with mode `primary`. This is the default mode. With this mode, all operations read from the
 73 |     /// current replica set primary.
 74 |     public static let primary = ReadPreference(.primary)
    |                       |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'primary' 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
 75 |     /// A `ReadPreference` with mode `primaryPreferred`. With this mode, in most situations operations read from the
 76 |     /// primary, but if it is unavailable, operations read from secondary members.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// 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/ReadPreference.swift:74:23: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// directed to.
  5 | /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-preference/
  6 | public struct ReadPreference: Equatable {
    |               `- note: consider making struct 'ReadPreference' conform to the 'Sendable' protocol
  7 |     /// An enumeration of possible read preference modes.
  8 |     /// - SeeAlso: https://docs.mongodb.com/manual/core/read-preference/#read-preference-modes
    :
 72 |     /// A `ReadPreference` with mode `primary`. This is the default mode. With this mode, all operations read from the
 73 |     /// current replica set primary.
 74 |     public static let primary = ReadPreference(.primary)
    |                       |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'primary' 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
 75 |     /// A `ReadPreference` with mode `primaryPreferred`. With this mode, in most situations operations read from the
 76 |     /// primary, but if it is unavailable, operations read from secondary members.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// 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/ReadPreference.swift:74:23: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// directed to.
  5 | /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-preference/
  6 | public struct ReadPreference: Equatable {
    |               `- note: consider making struct 'ReadPreference' conform to the 'Sendable' protocol
  7 |     /// An enumeration of possible read preference modes.
  8 |     /// - SeeAlso: https://docs.mongodb.com/manual/core/read-preference/#read-preference-modes
    :
 72 |     /// A `ReadPreference` with mode `primary`. This is the default mode. With this mode, all operations read from the
 73 |     /// current replica set primary.
 74 |     public static let primary = ReadPreference(.primary)
    |                       |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'primary' 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
 75 |     /// A `ReadPreference` with mode `primaryPreferred`. With this mode, in most situations operations read from the
 76 |     /// primary, but if it is unavailable, operations read from secondary members.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// 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/ReadPreference.swift:74:23: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// directed to.
  5 | /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-preference/
  6 | public struct ReadPreference: Equatable {
    |               `- note: consider making struct 'ReadPreference' conform to the 'Sendable' protocol
  7 |     /// An enumeration of possible read preference modes.
  8 |     /// - SeeAlso: https://docs.mongodb.com/manual/core/read-preference/#read-preference-modes
    :
 72 |     /// A `ReadPreference` with mode `primary`. This is the default mode. With this mode, all operations read from the
 73 |     /// current replica set primary.
 74 |     public static let primary = ReadPreference(.primary)
    |                       |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'primary' 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
 75 |     /// A `ReadPreference` with mode `primaryPreferred`. With this mode, in most situations operations read from the
 76 |     /// primary, but if it is unavailable, operations read from secondary members.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// 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/ReadPreference.swift:74:23: warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | /// directed to.
  5 | /// - SeeAlso: https://docs.mongodb.com/manual/reference/read-preference/
  6 | public struct ReadPreference: Equatable {
    |               `- note: consider making struct 'ReadPreference' conform to the 'Sendable' protocol
  7 |     /// An enumeration of possible read preference modes.
  8 |     /// - SeeAlso: https://docs.mongodb.com/manual/core/read-preference/#read-preference-modes
    :
 72 |     /// A `ReadPreference` with mode `primary`. This is the default mode. With this mode, all operations read from the
 73 |     /// current replica set primary.
 74 |     public static let primary = ReadPreference(.primary)
    |                       |- warning: static property 'primary' is not concurrency-safe because non-'Sendable' type 'ReadPreference' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'primary' 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
 75 |     /// A `ReadPreference` with mode `primaryPreferred`. With this mode, in most situations operations read from the
 76 |     /// primary, but if it is unavailable, operations read from secondary members.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/MongoClient.swift:290:45: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 288 |
 289 |     /// Counter for generating client _ids.
 290 |     internal static var clientIDGenerator = NIOAtomic<Int>.makeAtomic(value: 0)
     |                                             `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 291 |
 292 |     /// A unique identifier for this client. Sets _id to the generator's current value and increments the generator.
[544/567] Compiling MongoSwiftSync MongoCollection+Indexes.swift
[545/567] Compiling MongoSwiftSync MongoCollection+FindAndModify.swift
[546/567] Compiling MongoSwiftSync MongoCollection+Read.swift
[547/568] Compiling MongoSwiftSync MongoCollection+Write.swift
[548/568] Compiling MongoSwiftSync MongoCollection.swift
[549/568] Compiling MongoSwiftSync MongoCursor.swift
[550/568] Compiling MongoSwiftSync CursorCommon.swift
[551/568] Compiling MongoSwiftSync Exports.swift
[552/568] Compiling MongoSwiftSync MongoClient.swift
[553/568] Compiling MongoSwiftSync MongoCollection+ChangeStreams.swift
[554/568] Compiling MongoSwiftSync ChangeStream.swift
[555/568] Compiling MongoSwiftSync ClientSession.swift
[556/568] Emitting module MongoSwiftSync
[557/568] Compiling MongoSwiftSync MongoDatabase.swift
[558/570] Compiling AtlasConnectivity main.swift
[559/570] Emitting module AtlasConnectivity
[559/570] Write Objects.LinkFileList
[561/570] 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
[562/570] Compiling TestsCommon Failpoint.swift
[563/570] Compiling TestsCommon SpecTestUtils.swift
[564/570] 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) {
[565/570] Compiling TestsCommon CommonTestUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:269: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
267 |     private let auth: Bool?
268 |
269 |     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
270 |         TestRequirement(
271 |             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:280: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
278 |     ]
279 |
280 |     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
281 |         TestRequirement(
282 |             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:286: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
284 |     ]
285 |
286 |     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
287 |         acceptableTopologies: [.replicaSet, .sharded, .shardedReplicaSet, .loadBalanced]
288 |     )
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:290: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
288 |     )
289 |
290 |     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
291 |         minServerVersion: ServerVersion(major: 4, minor: 0, patch: 0),
292 |         acceptableTopologies: [.replicaSet, .sharded, .shardedReplicaSet, .loadBalanced]
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:295: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
293 |     )
294 |
295 |     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
296 |         TestRequirement(
297 |             minServerVersion: ServerVersion(major: 4, minor: 0, patch: 0),
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:447:53: error: 'Predicate' is ambiguous for type lookup in this context
445 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
446 | // them with the "clean" function
447 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
448 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
449 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:466:69: error: 'Predicate' is ambiguous for type lookup in this context
464 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
465 | // have the same key/value pairs in them
466 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
467 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
468 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:558:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
556 |
557 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
558 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
559 |     public init(from decoder: Decoder) throws {
560 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/SDAM.swift:337:27: warning: static property 'sharded' is not concurrency-safe because non-'Sendable' type 'TopologyDescription.TopologyType' may have shared mutable state; this is an error in the Swift 6 language mode
324 | public struct TopologyDescription: Equatable {
325 |     /// The possible types for a topology.
326 |     public struct TopologyType: RawRepresentable, Equatable, CustomStringConvertible, Decodable {
    |                   `- note: consider making struct 'TopologyType' conform to the 'Sendable' protocol
327 |         /// A single mongod server.
328 |         public static let single = TopologyType(.single)
    :
335 |
336 |         /// Sharded topology.
337 |         public static let sharded = TopologyType(.sharded)
    |                           |- warning: static property 'sharded' is not concurrency-safe because non-'Sendable' type 'TopologyDescription.TopologyType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'sharded' 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
338 |
339 |         /// A topology whose type is not yet known.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/SDAM.swift:343:27: warning: static property 'loadBalanced' is not concurrency-safe because non-'Sendable' type 'TopologyDescription.TopologyType' may have shared mutable state; this is an error in the Swift 6 language mode
324 | public struct TopologyDescription: Equatable {
325 |     /// The possible types for a topology.
326 |     public struct TopologyType: RawRepresentable, Equatable, CustomStringConvertible, Decodable {
    |                   `- note: consider making struct 'TopologyType' conform to the 'Sendable' protocol
327 |         /// A single mongod server.
328 |         public static let single = TopologyType(.single)
    :
341 |
342 |         /// A topology with a load balancer in front.
343 |         public static let loadBalanced = TopologyType(.loadBalanced)
    |                           |- warning: static property 'loadBalanced' is not concurrency-safe because non-'Sendable' type 'TopologyDescription.TopologyType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'loadBalanced' 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
344 |
345 |         /// Internal representation of topology type. If enums could be marked non-exhaustive in Swift, this would be
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/SDAM.swift:328:27: warning: static property 'single' is not concurrency-safe because non-'Sendable' type 'TopologyDescription.TopologyType' may have shared mutable state; this is an error in the Swift 6 language mode
324 | public struct TopologyDescription: Equatable {
325 |     /// The possible types for a topology.
326 |     public struct TopologyType: RawRepresentable, Equatable, CustomStringConvertible, Decodable {
    |                   `- note: consider making struct 'TopologyType' conform to the 'Sendable' protocol
327 |         /// A single mongod server.
328 |         public static let single = TopologyType(.single)
    |                           |- warning: static property 'single' is not concurrency-safe because non-'Sendable' type 'TopologyDescription.TopologyType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'single' 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
329 |
330 |         /// A replica set with no primary.
/Users/admin/builder/spi-builder-workspace/Sources/MongoSwift/SDAM.swift:334:27: warning: static property 'replicaSetWithPrimary' is not concurrency-safe because non-'Sendable' type 'TopologyDescription.TopologyType' may have shared mutable state; this is an error in the Swift 6 language mode
324 | public struct TopologyDescription: Equatable {
325 |     /// The possible types for a topology.
326 |     public struct TopologyType: RawRepresentable, Equatable, CustomStringConvertible, Decodable {
    |                   `- note: consider making struct 'TopologyType' conform to the 'Sendable' protocol
327 |         /// A single mongod server.
328 |         public static let single = TopologyType(.single)
    :
332 |
333 |         /// A replica set with a primary.
334 |         public static let replicaSetWithPrimary = TopologyType(.replicaSetWithPrimary)
    |                           |- warning: static property 'replicaSetWithPrimary' is not concurrency-safe because non-'Sendable' type 'TopologyDescription.TopologyType' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'replicaSetWithPrimary' 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
335 |
336 |         /// Sharded topology.
/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[566/570] 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 |
[567/570] 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 |
[568/570] 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:269: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
267 |     private let auth: Bool?
268 |
269 |     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
270 |         TestRequirement(
271 |             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:280: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
278 |     ]
279 |
280 |     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
281 |         TestRequirement(
282 |             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:286: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
284 |     ]
285 |
286 |     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
287 |         acceptableTopologies: [.replicaSet, .sharded, .shardedReplicaSet, .loadBalanced]
288 |     )
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:290: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
288 |     )
289 |
290 |     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
291 |         minServerVersion: ServerVersion(major: 4, minor: 0, patch: 0),
292 |         acceptableTopologies: [.replicaSet, .sharded, .shardedReplicaSet, .loadBalanced]
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:295: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
237 |
238 | /// Struct representing conditions that a deployment must meet in order for a test file to be run.
239 | public struct TestRequirement: Decodable {
    |               `- note: consider making struct 'TestRequirement' conform to the 'Sendable' protocol
240 |     public enum ServerlessRequirement: String, Decodable {
241 |         case require
    :
293 |     )
294 |
295 |     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
296 |         TestRequirement(
297 |             minServerVersion: ServerVersion(major: 4, minor: 0, patch: 0),
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:447:53: error: 'Predicate' is ambiguous for type lookup in this context
445 | // Adds a custom "cleanEqual" predicate that compares two JSON strings for equality after normalizing
446 | // them with the "clean" function
447 | public func cleanEqual(_ expectedValue: String?) -> Predicate<String> {
    |                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
448 |     Predicate.define("cleanEqual <\(stringify(expectedValue))>") { actualExpression, msg in
449 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:466:69: error: 'Predicate' is ambiguous for type lookup in this context
464 | // Adds a custom "sortedEqual" predicate that compares two `Document`s and returns true if they
465 | // have the same key/value pairs in them
466 | public func sortedEqual<T: SortedEquatable>(_ expectedValue: T?) -> Predicate<T> {
    |                                                                     `- error: 'Predicate' is ambiguous for type lookup in this context
467 |     Predicate.define("sortedEqual <\(stringify(expectedValue))>") { actualExpression, msg in
468 |         let actualValue = try actualExpression.evaluate()
Foundation.Predicate:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Predicate<each Input> : Sendable {
  |               `- note: found this candidate
3 |     public let expression: any StandardPredicateExpression<Bool>
4 |     public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/Matchers/Predicate.swift:20:15: note: found this candidate
 18 | /// predicates are simple wrappers around closures to provide static type information and
 19 | /// allow composition and wrapping of existing behaviors.
 20 | public struct Predicate<T> {
    |               `- note: found this candidate
 21 |     fileprivate var matcher: (Expression<T>) throws -> PredicateResult
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/CommonTestUtils.swift:558:1: warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
556 |
557 | /// Makes `ServerAddress` `Decodable` for the sake of constructing it from spec test files.
558 | extension ServerAddress: Decodable {
    | |- warning: extension declares a conformance of imported type 'ServerAddress' to imported protocol 'Decodable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
559 |     public init(from decoder: Decoder) throws {
560 |         let container = try decoder.singleValueContainer()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:4:1: warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 2 | import MongoSwift
 3 |
 4 | extension MongoError.ConnectionError: Equatable {
   | |- warning: extension declares a conformance of imported type 'ConnectionError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 5 |     public static func == (lhs: MongoError.ConnectionError, rhs: MongoError.ConnectionError) -> Bool {
 6 |         lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:10:1: warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
 8 | }
 9 |
10 | extension MongoError.CommandError: Equatable {
   | |- warning: extension declares a conformance of imported type 'CommandError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: MongoError.CommandError, rhs: MongoError.CommandError) -> Bool {
12 |         lhs.code == rhs.code && lhs.errorLabels?.sorted() == rhs.errorLabels?.sorted()
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:16:1: warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
14 | }
15 |
16 | extension MongoError.WriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: MongoError.WriteError, rhs: MongoError.WriteError) -> Bool {
18 |         lhs.writeFailure == rhs.writeFailure &&
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:24:1: warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
22 | }
23 |
24 | extension MongoError.BulkWriteError: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
25 |     public static func == (lhs: MongoError.BulkWriteError, rhs: MongoError.BulkWriteError) -> Bool {
26 |         let cmp = { (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) in
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:37:1: warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
35 | }
36 |
37 | extension BulkWriteResult: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteResult' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
38 |     public static func == (lhs: BulkWriteResult, rhs: BulkWriteResult) -> Bool {
39 |         lhs.insertedIDs == rhs.insertedIDs
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:48:1: warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
46 | }
47 |
48 | extension MongoError.WriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
49 |     public static func == (lhs: MongoError.WriteFailure, rhs: MongoError.WriteFailure) -> Bool {
50 |         lhs.code == rhs.code
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:54:1: warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
52 | }
53 |
54 | extension MongoError.BulkWriteFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'BulkWriteFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
55 |     public static func == (lhs: MongoError.BulkWriteFailure, rhs: MongoError.BulkWriteFailure) -> Bool {
56 |         lhs.code == rhs.code && lhs.index == rhs.index
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:60:1: warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
58 | }
59 |
60 | extension MongoError.WriteConcernFailure: Equatable {
   | |- warning: extension declares a conformance of imported type 'WriteConcernFailure' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MongoSwift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
61 |     public static func == (lhs: MongoError.WriteConcernFailure, rhs: MongoError.WriteConcernFailure) -> Bool {
62 |         lhs.code == rhs.code
/Users/admin/builder/spi-builder-workspace/Sources/TestsCommon/MongoError+Equatable.swift:66:1: warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
64 | }
65 |
66 | extension DecodingError: Equatable {
   | |- warning: extension declares a conformance of imported type 'DecodingError' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
67 |     public static func == (lhs: DecodingError, rhs: DecodingError) -> Bool {
68 |         switch (lhs, rhs) {
[568/570] Linking AtlasConnectivity
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/mongodb/swift-bson
Fetching https://github.com/apple/swift-atomics
[1/3384] Fetching swift-bson
[69/4947] Fetching swift-bson, swift-atomics
[4948/70554] Fetching swift-bson, swift-atomics, swift-nio
[7573/89194] Fetching swift-bson, swift-atomics, swift-nio, nimble
Fetched https://github.com/apple/swift-nio from cache (9.58s)
Fetched https://github.com/Quick/Nimble from cache (9.58s)
Fetched https://github.com/apple/swift-atomics from cache (9.58s)
Fetched https://github.com/mongodb/swift-bson from cache (9.58s)
Computing version for https://github.com/mongodb/swift-bson
Computed https://github.com/mongodb/swift-bson at 3.1.0 (0.70s)
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/1049] Fetching swift-extras-json
[75/1882] Fetching swift-extras-json, swift-extras-base64
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.95s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.95s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (0.67s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.67s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.2.0 (0.55s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.68s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.65.0 (0.66s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/3518] Fetching swift-system
[248/17533] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.81s)
Fetched https://github.com/apple/swift-system.git from cache (1.81s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.84s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.0
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.65.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
Creating working copy for https://github.com/mongodb/swift-bson
Working copy of https://github.com/mongodb/swift-bson resolved at 3.1.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.