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 macOS (SPM) on 2 Nov 2024 07:23:02 UTC.

Swift 6 data race errors: 17

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

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 /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/Quick/Nimble
[1/833] Fetching swift-extras-base64
[110/1882] Fetching swift-extras-base64, swift-extras-json
[1883/21100] Fetching swift-extras-base64, swift-extras-json, nimble
[4574/92241] Fetching swift-extras-base64, swift-extras-json, nimble, swift-nio
Fetched https://github.com/swift-extras/swift-extras-json from cache (4.28s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (4.28s)
Fetched https://github.com/apple/swift-nio from cache (4.28s)
Fetched https://github.com/Quick/Nimble from cache (4.28s)
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.72s)
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.68s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.70s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.76.1 (0.75s)
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/1569] Fetching swift-atomics
[64/5470] Fetching swift-atomics, swift-system
[1527/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.09s)
[4830/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.25s)
Fetched https://github.com/apple/swift-system.git from cache (2.25s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.79s)
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.76.1
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/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-bson",
      "name": "swift-bson",
      "url": "https://github.com/mongodb/swift-bson.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-bson",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio",
          "version": "2.76.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-extras-json",
          "name": "swift-extras-json",
          "url": "https://github.com/swift-extras/swift-extras-json",
          "version": "0.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-extras-json",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-extras-base64",
          "name": "swift-extras-base64",
          "url": "https://github.com/swift-extras/swift-extras-base64",
          "version": "0.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-extras-base64",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/mongodb/swift-bson.git
[1/3384] Fetching swift-bson
Fetched https://github.com/mongodb/swift-bson.git from cache (1.14s)
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/swift-extras/swift-extras-base64 from cache
Fetching https://github.com/swift-extras/swift-extras-json from cache
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.71s)
Fetched https://github.com/apple/swift-nio from cache (0.71s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.71s)
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.02s)
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.02s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.54s)
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/mongodb/swift-bson.git
Working copy of https://github.com/mongodb/swift-bson.git resolved at main (de94473)
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
warning: '.resolve-product-dependencies': dependency 'swift-bson' is not used by any target
Found 3 product dependencies
  - swift-nio
  - swift-extras-json
  - swift-extras-base64
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/mongodb/swift-bson.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/20] Write sources
[9/20] Compiling CNIOWindows shim.c
[10/20] Compiling CNIOWASI CNIOWASI.c
[11/20] Write sources
[12/20] Compiling CNIOWindows WSAStartup.c
[13/20] Write swift-version--7754E27361AE5C74.txt
[14/20] Compiling CNIOLinux liburing_shims.c
[15/20] Compiling CNIOLinux shim.c
[16/50] Compiling _AtomicsShims.c
[17/80] Compiling CNIODarwin shim.c
[18/80] Compiling c-nioatomics.c
[19/80] Compiling c-atomics.c
[21/86] Compiling ExtrasBase64 DecodingError.swift
[22/86] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[23/87] Emitting module InternalCollectionsUtilities
[24/87] Compiling Atomics AtomicBool.swift
[25/87] Compiling Atomics IntegerConformances.swift
[26/87] Compiling ExtrasBase64 Chromium.swift
[27/87] Compiling ExtrasJSON DocumentReader.swift
[28/87] Compiling ExtrasJSON JSONValue.swift
[29/88] Compiling _NIOBase64 Base64.swift
[30/88] Emitting module _NIOBase64
[31/88] Compiling Atomics AtomicStorage.swift
[32/88] Compiling Atomics AtomicValue.swift
[33/88] Compiling Atomics AtomicMemoryOrderings.swift
[34/88] Compiling Atomics DoubleWord.swift
[35/88] Compiling Atomics PointerConformances.swift
[36/88] Compiling Atomics Primitives.native.swift
[37/88] Compiling Atomics ManagedAtomic.swift
[38/88] Compiling Atomics ManagedAtomicLazyReference.swift
[39/88] Compiling ExtrasJSON JSONError+DecodingError.swift
[40/88] Emitting module ExtrasBase64
[41/88] Compiling ExtrasBase64 Base64.swift
[42/88] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[43/88] Emitting module ExtrasJSON
[46/88] Compiling Atomics UnsafeAtomic.swift
[47/88] Compiling Atomics UnsafeAtomicLazyReference.swift
[48/89] Compiling Atomics Primitives.shims.swift
[49/90] Compiling Atomics AtomicInteger.swift
[50/90] Compiling Atomics OptionalRawRepresentable.swift
[51/90] Compiling Atomics RawRepresentable.swift
[52/90] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[53/90] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[54/90] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[61/90] Compiling Atomics AtomicOptionalWrappable.swift
[62/90] Compiling Atomics AtomicReference.swift
[67/106] Compiling Atomics IntegerOperations.swift
[68/106] Compiling Atomics Unmanaged extensions.swift
[69/106] Compiling _NIODataStructures PriorityQueue.swift
[70/106] Emitting module _NIODataStructures
[71/106] Compiling _NIODataStructures _TinyArray.swift
[72/106] Compiling _NIODataStructures Heap.swift
[73/106] Compiling DequeModule _DequeSlot.swift
[74/107] Compiling ExtrasJSON JSONParser.swift
[75/107] Compiling DequeModule _DequeBufferHeader.swift
[76/107] Compiling DequeModule _UnsafeWrappedBuffer.swift
[77/107] Compiling DequeModule _DequeBuffer.swift
[78/107] Compiling DequeModule Deque+Extras.swift
[79/107] Compiling DequeModule Deque+Hashable.swift
[80/107] Compiling DequeModule Deque._UnsafeHandle.swift
[81/107] Compiling DequeModule Deque.swift
[82/107] Compiling DequeModule Deque+CustomReflectable.swift
[83/107] Compiling DequeModule Deque+Descriptions.swift
[84/107] Compiling DequeModule Deque+Testing.swift
[85/107] Compiling DequeModule Deque._Storage.swift
[86/107] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[87/107] Compiling NIOConcurrencyHelpers lock.swift
[88/107] Emitting module NIOConcurrencyHelpers
[89/107] Compiling NIOConcurrencyHelpers atomics.swift
[90/107] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[91/107] Compiling NIOConcurrencyHelpers NIOLock.swift
[92/107] Compiling DequeModule Deque+Codable.swift
[93/107] Compiling DequeModule Deque+Collection.swift
[94/107] Compiling DequeModule Deque+Equatable.swift
[95/107] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[96/107] Emitting module DequeModule
[107/107] Emitting module Atomics
[108/169] Compiling NIOCore AddressedEnvelope.swift
[109/169] Compiling NIOCore AsyncAwaitSupport.swift
[110/169] Compiling NIOCore AsyncChannel.swift
[111/169] Compiling NIOCore AsyncChannelHandler.swift
[112/169] Compiling NIOCore AsyncChannelInboundStream.swift
[113/169] Compiling NIOCore AsyncChannelOutboundWriter.swift
[114/169] Compiling NIOCore NIOAsyncSequenceProducer.swift
[115/175] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[116/175] Compiling NIOCore EventLoopFuture+Deprecated.swift
[117/175] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[118/175] Compiling NIOCore EventLoopFuture.swift
[119/175] Compiling NIOCore FileDescriptor.swift
[120/175] Compiling NIOCore FileHandle.swift
[121/175] Compiling NIOCore FileRegion.swift
[122/175] Compiling NIOCore Codec.swift
[123/175] Compiling NIOCore ConvenienceOptionSupport.swift
[124/175] Compiling NIOCore DeadChannel.swift
[125/175] Compiling NIOCore DispatchQueue+WithFuture.swift
[126/175] Compiling NIOCore EventLoop+Deprecated.swift
[127/175] Compiling NIOCore EventLoop+SerialExecutor.swift
[128/175] Compiling NIOCore EventLoop.swift
[129/175] Compiling NIOCore SocketOptionProvider.swift
[130/175] Compiling NIOCore SystemCallHelpers.swift
[131/175] Compiling NIOCore TimeAmount+Duration.swift
[132/175] Compiling NIOCore TypeAssistedChannelHandler.swift
[133/175] Compiling NIOCore UniversalBootstrapSupport.swift
[134/175] Compiling NIOCore Utilities.swift
[135/175] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[136/175] Compiling NIOCore NIOAsyncWriter.swift
[137/175] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[138/175] Compiling NIOCore BSDSocketAPI.swift
[139/175] Compiling NIOCore ByteBuffer-aux.swift
[140/175] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[141/175] Compiling NIOCore ByteBuffer-conversions.swift
[142/175] Compiling NIOCore Linux.swift
[143/175] Compiling NIOCore MarkedCircularBuffer.swift
[144/175] Compiling NIOCore MulticastChannel.swift
[145/175] Compiling NIOCore NIOAny.swift
[146/175] Compiling NIOCore NIOCloseOnErrorHandler.swift
[147/175] Compiling NIOCore NIOLoopBound.swift
[148/175] Compiling NIOCore Channel.swift
[149/175] Compiling NIOCore ChannelHandler.swift
[150/175] Compiling NIOCore ChannelHandlers.swift
[151/175] Compiling NIOCore ChannelInvoker.swift
[152/175] Compiling NIOCore ChannelOption.swift
[153/175] Compiling NIOCore ChannelPipeline.swift
[154/175] Compiling NIOCore CircularBuffer.swift
[155/175] Compiling NIOCore NIOScheduledCallback.swift
[156/175] Compiling NIOCore NIOSendable.swift
[157/175] Compiling NIOCore PointerHelpers.swift
[158/175] Compiling NIOCore RecvByteBufferAllocator.swift
[159/175] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[160/175] Compiling NIOCore SocketAddresses.swift
[161/175] Compiling NIOCore GlobalSingletons.swift
[162/175] Compiling NIOCore IO.swift
[163/175] Compiling NIOCore IOData.swift
[164/175] Compiling NIOCore IPProtocol.swift
[165/175] Compiling NIOCore IntegerBitPacking.swift
[166/175] Compiling NIOCore IntegerTypes.swift
[167/175] Compiling NIOCore Interfaces.swift
[168/175] Emitting module NIOCore
[169/175] Compiling NIOCore ByteBuffer-core.swift
[170/175] Compiling NIOCore ByteBuffer-hex.swift
[171/175] Compiling NIOCore ByteBuffer-int.swift
[172/175] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[173/175] Compiling NIOCore ByteBuffer-multi-int.swift
[174/175] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[175/175] Compiling NIOCore ByteBuffer-views.swift
[176/203] Compiling SwiftBSON BSONRegularExpression.swift
[177/203] Compiling SwiftBSON BSONSymbol.swift
[178/203] Compiling SwiftBSON BSONTimestamp.swift
[179/203] Compiling SwiftBSON BSONCode.swift
[180/203] Compiling SwiftBSON BSONDBPointer.swift
[181/203] Compiling SwiftBSON BSONDecimal128.swift
[182/206] Compiling SwiftBSON CodableNumber.swift
/Users/admin/builder/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]
/Users/admin/builder/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]
[183/206] Compiling SwiftBSON CodingStrategies.swift
/Users/admin/builder/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]
/Users/admin/builder/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]
[184/206] Compiling SwiftBSON Date+BSONValue.swift
/Users/admin/builder/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]
/Users/admin/builder/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]
[185/206] Compiling SwiftBSON BSONValue.swift
[186/206] Compiling SwiftBSON Bool+BSONValue.swift
[187/206] Compiling SwiftBSON ByteBuffer+BSON.swift
[188/206] Compiling SwiftBSON BSONError.swift
/Users/admin/builder/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]
/Users/admin/builder/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
/Users/admin/builder/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 |
[189/206] Compiling SwiftBSON BSONNulls.swift
/Users/admin/builder/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]
/Users/admin/builder/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
/Users/admin/builder/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 |
[190/206] Compiling SwiftBSON BSONObjectID.swift
/Users/admin/builder/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]
/Users/admin/builder/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
/Users/admin/builder/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 |
[191/206] Compiling SwiftBSON Array+BSONValue.swift
/Users/admin/builder/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,
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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 |
[192/206] Compiling SwiftBSON BSON.swift
/Users/admin/builder/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,
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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 |
[193/206] Compiling SwiftBSON BSONBinary.swift
/Users/admin/builder/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,
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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 |
[194/206] Emitting module SwiftBSON
/Users/admin/builder/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,
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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)!
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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]
/Users/admin/builder/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
/Users/admin/builder/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]
/Users/admin/builder/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]
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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.
[195/206] Compiling SwiftBSON Double+BSONValue.swift
/Users/admin/builder/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]
/Users/admin/builder/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]
/Users/admin/builder/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 {
/Users/admin/builder/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,
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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.
[196/206] Compiling SwiftBSON ExtendedJSONDecoder.swift
/Users/admin/builder/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]
/Users/admin/builder/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]
/Users/admin/builder/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 {
/Users/admin/builder/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,
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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.
[197/206] Compiling SwiftBSON ExtendedJSONEncoder.swift
/Users/admin/builder/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]
/Users/admin/builder/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]
/Users/admin/builder/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 {
/Users/admin/builder/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,
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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.
[198/206] Compiling SwiftBSON BSONDecoder.swift
/Users/admin/builder/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
[199/206] Compiling SwiftBSON BSONDocument+Collection.swift
/Users/admin/builder/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
[200/206] Compiling SwiftBSON BSONDocument+Sequence.swift
/Users/admin/builder/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
[201/206] Compiling SwiftBSON BSONDocument.swift
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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)!
[202/206] Compiling SwiftBSON BSONDocumentIterator.swift
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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)!
[203/206] Compiling SwiftBSON BSONEncoder.swift
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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)!
[204/206] Compiling SwiftBSON Integers+BSONValue.swift
[205/206] Compiling SwiftBSON JSON.swift
[206/206] Compiling SwiftBSON String+BSONValue.swift
Build complete! (44.19s)
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" : "/Users/admin/builder/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"
}
Done.