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

Successful build of swift-bson, reference main (de9447), with Swift 6.0 for Linux on 2 Nov 2024 07:15:26 UTC.

Swift 6 data race errors: 17

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mongodb/swift-bson.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mongodb/swift-bson
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at de94473 update team members
Cloned https://github.com/mongodb/swift-bson.git
Revision (git rev-parse @):
de94473c2b872334937117af19c6c5f3e810e0ab
SUCCESS checkout https://github.com/mongodb/swift-bson.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mongodb/swift-bson.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/swift-extras/swift-extras-json
[1/1049] Fetching swift-extras-json
[1050/1882] Fetching swift-extras-json, swift-extras-base64
[1883/73023] Fetching swift-extras-json, swift-extras-base64, swift-nio
[18246/92241] Fetching swift-extras-json, swift-extras-base64, swift-nio, nimble
Fetched https://github.com/Quick/Nimble from cache (1.93s)
[49547/73023] Fetching swift-extras-json, swift-extras-base64, swift-nio
Fetched https://github.com/swift-extras/swift-extras-json from cache (4.04s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (4.04s)
Fetched https://github.com/apple/swift-nio from cache (4.13s)
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.42s)
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.43s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.42s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.76.1 (0.58s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/3901] Fetching swift-system
[782/5470] Fetching swift-system, swift-atomics
[5471/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.96s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.96s)
Fetched https://github.com/apple/swift-collections.git from cache (0.98s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.59s)
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/20] Write sources
[9/20] Compiling CNIOWindows WSAStartup.c
[10/20] Compiling CNIOWindows shim.c
[11/20] Compiling CNIODarwin shim.c
[12/20] Compiling CNIOWASI CNIOWASI.c
[13/20] Write sources
[14/20] Compiling CNIOLinux liburing_shims.c
[15/20] Compiling CNIOLinux shim.c
[16/20] Compiling _AtomicsShims.c
[17/20] Write swift-version-24593BA9C3E375BF.txt
[19/79] Emitting module _NIODataStructures
[19/79] Compiling c-nioatomics.c
[20/79] Compiling c-atomics.c
[22/85] Compiling ExtrasJSON ArrayKey.swift
[23/85] Compiling ExtrasJSON JSONDecoder.swift
[24/86] Compiling Atomics AtomicMemoryOrderings.swift
[25/86] Compiling Atomics DoubleWord.swift
[26/88] Compiling _NIODataStructures PriorityQueue.swift
[27/88] Compiling _NIODataStructures _TinyArray.swift
[30/88] Compiling ExtrasJSON JSONUnkeyedDecodingContainer.swift
[31/88] Emitting module Atomics
[32/88] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[33/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/88] Compiling Atomics UnsafeAtomic.swift
[35/88] Compiling Atomics UnsafeAtomicLazyReference.swift
[36/90] Compiling ExtrasJSON DocumentReader.swift
[37/90] Emitting module _NIOBase64
[38/90] Compiling _NIOBase64 Base64.swift
[39/91] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[40/91] Compiling ExtrasJSON JSONError+DecodingError.swift
[41/91] Compiling ExtrasJSON JSONEncoder.swift
[42/91] Compiling ExtrasJSON JSONKeyedDecodingContainer.swift
[43/91] Compiling ExtrasJSON JSONSingleValueDecodingContainer.swift
[45/91] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[46/91] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[53/91] Compiling ExtrasBase64 DecodingError.swift
[58/91] Emitting module ExtrasJSON
[60/91] Compiling Atomics AtomicStorage.swift
[61/91] Compiling Atomics AtomicValue.swift
[67/91] Emitting module InternalCollectionsUtilities
[74/91] Compiling ExtrasJSON JSONValue.swift
[80/92] Compiling Atomics IntegerOperations.swift
[81/92] Compiling Atomics Unmanaged extensions.swift
[83/93] Compiling ExtrasJSON JSONParser.swift
[85/109] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[86/109] Compiling NIOConcurrencyHelpers atomics.swift
[87/109] Compiling NIOConcurrencyHelpers lock.swift
[88/109] Compiling _NIODataStructures Heap.swift
[89/110] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[90/110] Compiling NIOConcurrencyHelpers NIOLock.swift
[91/110] Emitting module NIOConcurrencyHelpers
[92/111] Compiling DequeModule _DequeBuffer.swift
[93/111] Compiling DequeModule _DequeBufferHeader.swift
[96/113] Compiling DequeModule Deque+Testing.swift
[97/113] Compiling DequeModule Deque._Storage.swift
[98/113] Compiling DequeModule Deque+CustomReflectable.swift
[99/113] Compiling DequeModule Deque+Descriptions.swift
[100/113] Compiling DequeModule Deque+Extras.swift
[101/113] Compiling DequeModule Deque+Hashable.swift
[102/113] Compiling DequeModule Deque+Equatable.swift
[103/113] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[104/113] Compiling DequeModule Deque._UnsafeHandle.swift
[105/113] Compiling DequeModule Deque.swift
[106/113] Compiling DequeModule _DequeSlot.swift
[107/113] Compiling DequeModule _UnsafeWrappedBuffer.swift
[108/113] Compiling DequeModule Deque+Codable.swift
[109/113] Compiling DequeModule Deque+Collection.swift
[110/113] Emitting module DequeModule
[112/174] Compiling ExtrasBase64 Base64.swift
[113/174] Emitting module ExtrasBase64
[114/174] Compiling ExtrasBase64 Chromium.swift
[116/175] Compiling NIOCore MulticastChannel.swift
[117/175] Compiling NIOCore NIOAny.swift
[118/175] Compiling NIOCore NIOCloseOnErrorHandler.swift
[119/175] Compiling NIOCore NIOLoopBound.swift
[120/175] Compiling NIOCore NIOScheduledCallback.swift
[121/175] Compiling NIOCore NIOSendable.swift
[122/175] Compiling NIOCore PointerHelpers.swift
[123/175] Compiling NIOCore RecvByteBufferAllocator.swift
[124/183] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[125/183] Compiling NIOCore SocketAddresses.swift
[126/183] Compiling NIOCore SocketOptionProvider.swift
[127/183] Compiling NIOCore SystemCallHelpers.swift
[128/183] Compiling NIOCore TimeAmount+Duration.swift
[129/183] Compiling NIOCore TypeAssistedChannelHandler.swift
[130/183] Compiling NIOCore UniversalBootstrapSupport.swift
[131/183] Compiling NIOCore Utilities.swift
[132/183] Compiling NIOCore IO.swift
[133/183] Compiling NIOCore IOData.swift
[134/183] Compiling NIOCore IPProtocol.swift
[135/183] Compiling NIOCore IntegerBitPacking.swift
[136/183] Compiling NIOCore IntegerTypes.swift
[137/183] Compiling NIOCore Interfaces.swift
[138/183] Compiling NIOCore Linux.swift
[139/183] Compiling NIOCore MarkedCircularBuffer.swift
[140/183] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[141/183] Compiling NIOCore EventLoopFuture+Deprecated.swift
[142/183] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[143/183] Compiling NIOCore EventLoopFuture.swift
[144/183] Compiling NIOCore FileDescriptor.swift
[145/183] Compiling NIOCore FileHandle.swift
[146/183] Compiling NIOCore FileRegion.swift
[147/183] Compiling NIOCore GlobalSingletons.swift
[148/183] Compiling NIOCore CircularBuffer.swift
[149/183] Compiling NIOCore Codec.swift
[150/183] Compiling NIOCore ConvenienceOptionSupport.swift
[151/183] Compiling NIOCore DeadChannel.swift
[152/183] Compiling NIOCore DispatchQueue+WithFuture.swift
[153/183] Compiling NIOCore EventLoop+Deprecated.swift
[154/183] Compiling NIOCore EventLoop+SerialExecutor.swift
[155/183] Compiling NIOCore EventLoop.swift
[156/183] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[157/183] Compiling NIOCore BSDSocketAPI.swift
[158/183] Compiling NIOCore ByteBuffer-aux.swift
[159/183] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[160/183] Compiling NIOCore ByteBuffer-conversions.swift
[161/183] Compiling NIOCore ByteBuffer-core.swift
[162/183] Compiling NIOCore ByteBuffer-hex.swift
[163/183] Compiling NIOCore ByteBuffer-int.swift
[164/183] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[165/183] Compiling NIOCore AddressedEnvelope.swift
[166/183] Compiling NIOCore AsyncAwaitSupport.swift
[167/183] Compiling NIOCore AsyncChannel.swift
[168/183] Compiling NIOCore AsyncChannelHandler.swift
[169/183] Compiling NIOCore AsyncChannelInboundStream.swift
[170/183] Compiling NIOCore AsyncChannelOutboundWriter.swift
[171/183] Compiling NIOCore NIOAsyncSequenceProducer.swift
[172/183] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[173/183] Compiling NIOCore NIOAsyncWriter.swift
[174/183] Compiling NIOCore ByteBuffer-multi-int.swift
[175/183] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[176/183] Compiling NIOCore ByteBuffer-views.swift
[177/183] Compiling NIOCore Channel.swift
[178/183] Compiling NIOCore ChannelHandler.swift
[179/183] Compiling NIOCore ChannelHandlers.swift
[180/183] Compiling NIOCore ChannelInvoker.swift
[181/183] Compiling NIOCore ChannelOption.swift
[182/183] Compiling NIOCore ChannelPipeline.swift
[183/183] Emitting module NIOCore
[185/212] Compiling SwiftBSON BSONSymbol.swift
[186/212] Compiling SwiftBSON BSONTimestamp.swift
[187/212] Compiling SwiftBSON BSONValue.swift
[188/212] Compiling SwiftBSON Bool+BSONValue.swift
[189/215] Emitting module SwiftBSON
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
    |                           |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'function' 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
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 20 |         public static let function = Subtype(rawValue: 0x01)!
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
    |                           |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'binaryDeprecated' 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
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
    |                           |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuidDeprecated' 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
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
    |                           |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuid' 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 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
 27 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
    |                           |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'md5' 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
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
    |                           |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'encryptedValue' 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
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
    |                           |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'column' 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
 33 |         // swiftlint:enable force_unwrapping
 34 |
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |     internal let oid: [UInt8]
 27 |
 28 |     internal static let generator = ObjectIDGenerator()
    |                         |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: annotate 'generator' 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
 29 |
 30 |     /// Initializes a new `BSONObjectID`.
    :
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
    |                `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 |     /// Random value is 5 bytes of the ObjectID
158 |     private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 |     /// Increment counter is only 3 bytes of the ObjectID
161 |     internal var counter: NIOAtomic<UInt32>
    |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 |     private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
  6 | public class ExtendedJSONDecoder {
  7 |     internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterSeconds' 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 |         let formatter = ISO8601DateFormatter()
  9 |         formatter.formatOptions = [.withInternetDateTime]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     }()
 12 |
 13 |     internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterMilliseconds' 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
 14 |         let formatter = ISO8601DateFormatter()
 15 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:21:24: warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     /// A set of all the possible extendedJSON wrapper keys.
 20 |     /// This does not include the legacy extended JSON wrapper keys.
 21 |     private static var wrapperKeySet: Set<String> = {
    |                        |- warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'wrapperKeySet' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'wrapperKeySet' 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
 22 |         var keys: Set<String> = []
 23 |         for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:37:24: warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     /// `BSONCode` and `BSONCodeWithScope`). Attempt to decode each of the types returned from the map until one works
 36 |     /// to find the proper decoding.
 37 |     private static var wrapperKeyMap: [String: [BSONValue.Type]] = {
    |                        |- warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'wrapperKeyMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'wrapperKeyMap' 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
 38 |         var map: [String: [BSONValue.Type]] = [:]
 39 |         for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
12 |         public static let canonical = Format(.canonical)
   |                           |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'canonical' 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
13 |
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:16:27: warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
   :
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
15 |         /// at the expense of type preservation.
16 |         public static let relaxed = Format(.relaxed)
   |                           |- warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'relaxed' 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 |         /// Internal representation of extJSON format.
[190/215] Compiling SwiftBSON Integers+BSONValue.swift
[191/215] Compiling SwiftBSON JSON.swift
[192/215] Compiling SwiftBSON String+BSONValue.swift
[193/215] Compiling SwiftBSON ByteBuffer+BSON.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     }()
 12 |
 13 |     internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterMilliseconds' 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
 14 |         let formatter = ISO8601DateFormatter()
 15 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
  6 | public class ExtendedJSONDecoder {
  7 |     internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterSeconds' 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 |         let formatter = ISO8601DateFormatter()
  9 |         formatter.formatOptions = [.withInternetDateTime]
[194/215] Compiling SwiftBSON CodableNumber.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     }()
 12 |
 13 |     internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterMilliseconds' 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
 14 |         let formatter = ISO8601DateFormatter()
 15 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
  6 | public class ExtendedJSONDecoder {
  7 |     internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterSeconds' 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 |         let formatter = ISO8601DateFormatter()
  9 |         formatter.formatOptions = [.withInternetDateTime]
[195/215] Compiling SwiftBSON CodingStrategies.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     }()
 12 |
 13 |     internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterMilliseconds' 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
 14 |         let formatter = ISO8601DateFormatter()
 15 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
  6 | public class ExtendedJSONDecoder {
  7 |     internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterSeconds' 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 |         let formatter = ISO8601DateFormatter()
  9 |         formatter.formatOptions = [.withInternetDateTime]
[196/215] Compiling SwiftBSON Date+BSONValue.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     }()
 12 |
 13 |     internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterMilliseconds' 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
 14 |         let formatter = ISO8601DateFormatter()
 15 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
  6 | public class ExtendedJSONDecoder {
  7 |     internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterSeconds' 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 |         let formatter = ISO8601DateFormatter()
  9 |         formatter.formatOptions = [.withInternetDateTime]
[197/215] Compiling SwiftBSON Array+BSONValue.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
    |                           |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'function' 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
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 20 |         public static let function = Subtype(rawValue: 0x01)!
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
    |                           |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'binaryDeprecated' 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
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
    |                           |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuidDeprecated' 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
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
    |                           |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuid' 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 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
 27 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
    |                           |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'md5' 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
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
    |                           |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'encryptedValue' 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
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
    |                           |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'column' 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
 33 |         // swiftlint:enable force_unwrapping
 34 |
[198/215] Compiling SwiftBSON BSON.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
    |                           |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'function' 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
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 20 |         public static let function = Subtype(rawValue: 0x01)!
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
    |                           |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'binaryDeprecated' 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
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
    |                           |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuidDeprecated' 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
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
    |                           |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuid' 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 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
 27 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
    |                           |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'md5' 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
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
    |                           |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'encryptedValue' 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
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
    |                           |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'column' 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
 33 |         // swiftlint:enable force_unwrapping
 34 |
[199/215] Compiling SwiftBSON BSONBinary.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
    |                           |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'function' 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
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 20 |         public static let function = Subtype(rawValue: 0x01)!
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
    |                           |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'binaryDeprecated' 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
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
    |                           |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuidDeprecated' 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
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
    |                           |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuid' 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 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
 27 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
    |                           |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'md5' 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
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
    |                           |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'encryptedValue' 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
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
    |                           |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'column' 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
 33 |         // swiftlint:enable force_unwrapping
 34 |
[200/215] Compiling SwiftBSON BSONCode.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:20:27: warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
    |                           |- warning: static property 'function' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'function' 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
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:22:27: warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 20 |         public static let function = Subtype(rawValue: 0x01)!
 21 |         /// Binary (old)
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
    |                           |- warning: static property 'binaryDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'binaryDeprecated' 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
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:24:27: warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 22 |         public static let binaryDeprecated = Subtype(rawValue: 0x02)!
 23 |         /// UUID (old)
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
    |                           |- warning: static property 'uuidDeprecated' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuidDeprecated' 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
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:26:27: warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 24 |         public static let uuidDeprecated = Subtype(rawValue: 0x03)!
 25 |         /// UUID (RFC 4122)
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
    |                           |- warning: static property 'uuid' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'uuid' 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 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:28:27: warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 26 |         public static let uuid = Subtype(rawValue: 0x04)!
 27 |         /// MD5
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
    |                           |- warning: static property 'md5' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'md5' 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
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:30:27: warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 28 |         public static let md5 = Subtype(rawValue: 0x05)!
 29 |         /// Encrypted BSON value
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
    |                           |- warning: static property 'encryptedValue' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'encryptedValue' 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
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:32:27: warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
    :
 30 |         public static let encryptedValue = Subtype(rawValue: 0x06)!
 31 |         /// Column
 32 |         public static let column = Subtype(rawValue: 0x07)!
    |                           |- warning: static property 'column' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'column' 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
 33 |         // swiftlint:enable force_unwrapping
 34 |
[201/215] Compiling SwiftBSON BSONError.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |     internal let oid: [UInt8]
 27 |
 28 |     internal static let generator = ObjectIDGenerator()
    |                         |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: annotate 'generator' 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
 29 |
 30 |     /// Initializes a new `BSONObjectID`.
    :
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
    |                `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 |     /// Random value is 5 bytes of the ObjectID
158 |     private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 |     /// Increment counter is only 3 bytes of the ObjectID
161 |     internal var counter: NIOAtomic<UInt32>
    |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 |     private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
170 |         )[0..<5])
171 |         // 3 byte counter started randomly per process
172 |         self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
    |                        `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
173 |     }
174 |
[202/215] Compiling SwiftBSON BSONNulls.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |     internal let oid: [UInt8]
 27 |
 28 |     internal static let generator = ObjectIDGenerator()
    |                         |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: annotate 'generator' 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
 29 |
 30 |     /// Initializes a new `BSONObjectID`.
    :
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
    |                `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 |     /// Random value is 5 bytes of the ObjectID
158 |     private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 |     /// Increment counter is only 3 bytes of the ObjectID
161 |     internal var counter: NIOAtomic<UInt32>
    |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 |     private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
170 |         )[0..<5])
171 |         // 3 byte counter started randomly per process
172 |         self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
    |                        `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
173 |     }
174 |
[203/215] Compiling SwiftBSON BSONObjectID.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |     internal let oid: [UInt8]
 27 |
 28 |     internal static let generator = ObjectIDGenerator()
    |                         |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: annotate 'generator' 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
 29 |
 30 |     /// Initializes a new `BSONObjectID`.
    :
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
    |                `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 |     /// Random value is 5 bytes of the ObjectID
158 |     private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 |     /// Increment counter is only 3 bytes of the ObjectID
161 |     internal var counter: NIOAtomic<UInt32>
    |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 |     private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
170 |         )[0..<5])
171 |         // 3 byte counter started randomly per process
172 |         self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
    |                        `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
173 |     }
174 |
[204/215] Compiling SwiftBSON BSONRegularExpression.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:28:25: warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
 26 |     internal let oid: [UInt8]
 27 |
 28 |     internal static let generator = ObjectIDGenerator()
    |                         |- warning: static property 'generator' is not concurrency-safe because non-'Sendable' type 'ObjectIDGenerator' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: annotate 'generator' 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
 29 |
 30 |     /// Initializes a new `BSONObjectID`.
    :
154 | /// A class responsible for generating ObjectIDs for a given instance of this library
155 | /// An ObjectID consists of a random number for this process, a timestamp, and a counter
156 | internal class ObjectIDGenerator {
    |                `- note: class 'ObjectIDGenerator' does not conform to the 'Sendable' protocol
157 |     /// Random value is 5 bytes of the ObjectID
158 |     private let randomNumber: [UInt8]
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
159 |
160 |     /// Increment counter is only 3 bytes of the ObjectID
161 |     internal var counter: NIOAtomic<UInt32>
    |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
162 |
163 |     private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
170 |         )[0..<5])
171 |         // 3 byte counter started randomly per process
172 |         self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
    |                        `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
173 |     }
174 |
[205/215] Compiling SwiftBSON BSONDocument+Sequence.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
12 |         public static let canonical = Format(.canonical)
   |                           |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'canonical' 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
13 |
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
[206/215] Compiling SwiftBSON BSONDocument.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
12 |         public static let canonical = Format(.canonical)
   |                           |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'canonical' 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
13 |
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
[207/215] Compiling SwiftBSON BSONDocumentIterator.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
12 |         public static let canonical = Format(.canonical)
   |                           |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'canonical' 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
13 |
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
[208/215] Compiling SwiftBSON BSONEncoder.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
12 |         public static let canonical = Format(.canonical)
   |                           |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'canonical' 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
13 |
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
/host/spi-builder-workspace/Sources/SwiftBSON/BSONBinary.swift:18:27: warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 |     /// Subtypes for BSON Binary values.
 15 |     public struct Subtype: Equatable, Hashable, RawRepresentable, Codable {
    |                   `- note: consider making struct 'Subtype' conform to the 'Sendable' protocol
 16 |         // swiftlint:disable force_unwrapping
 17 |         /// Generic binary subtype
 18 |         public static let generic = Subtype(rawValue: 0x00)!
    |                           |- warning: static property 'generic' is not concurrency-safe because non-'Sendable' type 'BSONBinary.Subtype' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'generic' 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
 19 |         /// A function
 20 |         public static let function = Subtype(rawValue: 0x01)!
[209/215] Compiling SwiftBSON Double+BSONValue.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
  6 | public class ExtendedJSONDecoder {
  7 |     internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterSeconds' 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 |         let formatter = ISO8601DateFormatter()
  9 |         formatter.formatOptions = [.withInternetDateTime]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     }()
 12 |
 13 |     internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterMilliseconds' 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
 14 |         let formatter = ISO8601DateFormatter()
 15 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:21:24: warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     /// A set of all the possible extendedJSON wrapper keys.
 20 |     /// This does not include the legacy extended JSON wrapper keys.
 21 |     private static var wrapperKeySet: Set<String> = {
    |                        |- warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'wrapperKeySet' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'wrapperKeySet' 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
 22 |         var keys: Set<String> = []
 23 |         for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:37:24: warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     /// `BSONCode` and `BSONCodeWithScope`). Attempt to decode each of the types returned from the map until one works
 36 |     /// to find the proper decoding.
 37 |     private static var wrapperKeyMap: [String: [BSONValue.Type]] = {
    |                        |- warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'wrapperKeyMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'wrapperKeyMap' 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
 38 |         var map: [String: [BSONValue.Type]] = [:]
 39 |         for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
12 |         public static let canonical = Format(.canonical)
   |                           |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'canonical' 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
13 |
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:16:27: warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
   :
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
15 |         /// at the expense of type preservation.
16 |         public static let relaxed = Format(.relaxed)
   |                           |- warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'relaxed' 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 |         /// Internal representation of extJSON format.
[210/215] Compiling SwiftBSON ExtendedJSONDecoder.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
  6 | public class ExtendedJSONDecoder {
  7 |     internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterSeconds' 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 |         let formatter = ISO8601DateFormatter()
  9 |         formatter.formatOptions = [.withInternetDateTime]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     }()
 12 |
 13 |     internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterMilliseconds' 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
 14 |         let formatter = ISO8601DateFormatter()
 15 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:21:24: warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     /// A set of all the possible extendedJSON wrapper keys.
 20 |     /// This does not include the legacy extended JSON wrapper keys.
 21 |     private static var wrapperKeySet: Set<String> = {
    |                        |- warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'wrapperKeySet' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'wrapperKeySet' 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
 22 |         var keys: Set<String> = []
 23 |         for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:37:24: warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     /// `BSONCode` and `BSONCodeWithScope`). Attempt to decode each of the types returned from the map until one works
 36 |     /// to find the proper decoding.
 37 |     private static var wrapperKeyMap: [String: [BSONValue.Type]] = {
    |                        |- warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'wrapperKeyMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'wrapperKeyMap' 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
 38 |         var map: [String: [BSONValue.Type]] = [:]
 39 |         for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
12 |         public static let canonical = Format(.canonical)
   |                           |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'canonical' 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
13 |
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:16:27: warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
   :
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
15 |         /// at the expense of type preservation.
16 |         public static let relaxed = Format(.relaxed)
   |                           |- warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'relaxed' 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 |         /// Internal representation of extJSON format.
[211/215] Compiling SwiftBSON ExtendedJSONEncoder.swift
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:7:25: warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  5 | /// `ExtendedJSONDecoder` facilitates the decoding of ExtendedJSON into `Decodable` values.
  6 | public class ExtendedJSONDecoder {
  7 |     internal static var extJSONDateFormatterSeconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterSeconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterSeconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterSeconds' 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 |         let formatter = ISO8601DateFormatter()
  9 |         formatter.formatOptions = [.withInternetDateTime]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:13:25: warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |     }()
 12 |
 13 |     internal static var extJSONDateFormatterMilliseconds: ISO8601DateFormatter = {
    |                         |- warning: static property 'extJSONDateFormatterMilliseconds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'extJSONDateFormatterMilliseconds' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'extJSONDateFormatterMilliseconds' 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
 14 |         let formatter = ISO8601DateFormatter()
 15 |         formatter.formatOptions = [.withInternetDateTime, .withFractionalSeconds]
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:21:24: warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |     /// A set of all the possible extendedJSON wrapper keys.
 20 |     /// This does not include the legacy extended JSON wrapper keys.
 21 |     private static var wrapperKeySet: Set<String> = {
    |                        |- warning: static property 'wrapperKeySet' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'wrapperKeySet' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'wrapperKeySet' 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
 22 |         var keys: Set<String> = []
 23 |         for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/BSON.swift:358:25: warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
356 | extension BSON {
357 |     /// List of all BSONValue types. Can be used to exhaustively check each one at runtime.
358 |     internal static var allBSONTypes: [BSONType: BSONValue.Type] = [
    |                         |- warning: static property 'allBSONTypes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'allBSONTypes' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'allBSONTypes' 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
359 |         .document: BSONDocument.self,
360 |         .int32: Int32.self,
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONDecoder.swift:37:24: warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 35 |     /// `BSONCode` and `BSONCodeWithScope`). Attempt to decode each of the types returned from the map until one works
 36 |     /// to find the proper decoding.
 37 |     private static var wrapperKeyMap: [String: [BSONValue.Type]] = {
    |                        |- warning: static property 'wrapperKeyMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'wrapperKeyMap' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'wrapperKeyMap' 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
 38 |         var map: [String: [BSONValue.Type]] = [:]
 39 |         for t in BSON.allBSONTypes.values {
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:12:27: warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
12 |         public static let canonical = Format(.canonical)
   |                           |- warning: static property 'canonical' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'canonical' 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
13 |
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
/host/spi-builder-workspace/Sources/SwiftBSON/ExtendedJSONEncoder.swift:16:27: warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |     /// A struct representing the supported string formats based on the JSON standard that describe how to represent
 8 |     /// BSON documents in JSON using standard JSON types and/or type wrapper objects.
 9 |     public struct Format {
   |                   `- note: consider making struct 'Format' conform to the 'Sendable' protocol
10 |         /// Canonical Extended JSON Format: Emphasizes type preservation
11 |         /// at the expense of readability and interoperability.
   :
14 |         /// Relaxed Extended JSON Format: Emphasizes readability and interoperability
15 |         /// at the expense of type preservation.
16 |         public static let relaxed = Format(.relaxed)
   |                           |- warning: static property 'relaxed' is not concurrency-safe because non-'Sendable' type 'ExtendedJSONEncoder.Format' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'relaxed' 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 |         /// Internal representation of extJSON format.
[212/215] Compiling SwiftBSON BSONDBPointer.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
[213/215] Compiling SwiftBSON BSONDecimal128.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
[214/215] Compiling SwiftBSON BSONDecoder.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
[215/215] Compiling SwiftBSON BSONDocument+Collection.swift
/host/spi-builder-workspace/Sources/SwiftBSON/BSONDecoder.swift:5:25: warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 | /// `BSONDecoder` facilitates the decoding of BSON into semantic `Decodable` types.
  4 | public class BSONDecoder {
  5 |     internal static var iso8601Formatter: ISO8601DateFormatter = {
    |                         |- warning: static property 'iso8601Formatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'iso8601Formatter' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: annotate 'iso8601Formatter' 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 |         let formatter = ISO8601DateFormatter()
  7 |         formatter.formatOptions = .withInternetDateTime
Build complete! (44.86s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.32.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio"
    },
    {
      "identity" : "swift-extras-json",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "0.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-extras/swift-extras-json"
    },
    {
      "identity" : "swift-extras-base64",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "0.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-extras/swift-extras-base64"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    }
  ],
  "manifest_display_name" : "swift-bson",
  "name" : "swift-bson",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftBSON",
      "targets" : [
        "SwiftBSON"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBSONTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBSONTests",
      "path" : "Tests/SwiftBSONTests",
      "product_dependencies" : [
        "Nimble",
        "ExtrasJSON"
      ],
      "sources" : [
        "BSONCorpusTests.swift",
        "BSONDocument+CollectionTests.swift",
        "BSONDocument+SequenceTests.swift",
        "BSONDocumentIteratorTests.swift",
        "BSONObjectIDTests.swift",
        "BSONTests.swift",
        "BSONValueTests.swift",
        "CodecTests.swift",
        "CommonTestUtils.swift",
        "DocumentTests.swift",
        "ExtendedJSONConversionTests.swift",
        "JSONTests.swift",
        "LeakCheckTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBSON",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBSON",
      "path" : "Sources/SwiftBSON",
      "product_dependencies" : [
        "NIOCore",
        "NIOConcurrencyHelpers",
        "ExtrasJSON",
        "ExtrasBase64"
      ],
      "product_memberships" : [
        "SwiftBSON"
      ],
      "sources" : [
        "Array+BSONValue.swift",
        "BSON.swift",
        "BSONBinary.swift",
        "BSONCode.swift",
        "BSONDBPointer.swift",
        "BSONDecimal128.swift",
        "BSONDecoder.swift",
        "BSONDocument+Collection.swift",
        "BSONDocument+Sequence.swift",
        "BSONDocument.swift",
        "BSONDocumentIterator.swift",
        "BSONEncoder.swift",
        "BSONError.swift",
        "BSONNulls.swift",
        "BSONObjectID.swift",
        "BSONRegularExpression.swift",
        "BSONSymbol.swift",
        "BSONTimestamp.swift",
        "BSONValue.swift",
        "Bool+BSONValue.swift",
        "ByteBuffer+BSON.swift",
        "CodableNumber.swift",
        "CodingStrategies.swift",
        "Date+BSONValue.swift",
        "Double+BSONValue.swift",
        "ExtendedJSONDecoder.swift",
        "ExtendedJSONEncoder.swift",
        "Integers+BSONValue.swift",
        "JSON.swift",
        "String+BSONValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.