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 v3.1.0 (d18d97), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 07:23:25 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: v3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mongodb/swift-bson
 * tag               v3.1.0     -> FETCH_HEAD
HEAD is now at d18d979 Update README for 3.1.0
Cloned https://github.com/mongodb/swift-bson.git
Revision (git rev-parse @):
d18d9798987b737a7162ce6678da18561b5c629a
SUCCESS checkout https://github.com/mongodb/swift-bson.git at v3.1.0
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/swift-extras/swift-extras-json
[1/833] Fetching swift-extras-base64
[110/1882] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.87s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.87s)
[1/19218] Fetching nimble
[1731/90359] Fetching nimble, swift-nio
Fetched https://github.com/Quick/Nimble.git from cache (11.88s)
Fetched https://github.com/apple/swift-nio from cache (11.88s)
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.64s)
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.60s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.68s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.76.1 (0.71s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/3901] Fetching swift-system
[80/5470] Fetching swift-system, swift-atomics
[1931/20945] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.05s)
[4830/19376] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Fetched https://github.com/apple/swift-system.git from cache (1.76s)
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.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.83s)
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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/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.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
========================================
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": [
          ]
        },
        {
          "identity": "nimble",
          "name": "Nimble",
          "url": "https://github.com/Quick/Nimble.git",
          "version": "8.1.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
          "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.16s)
Fetching https://github.com/swift-extras/swift-extras-json from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/apple/swift-nio from cache
Fetching https://github.com/swift-extras/swift-extras-base64 from cache
Fetched https://github.com/swift-extras/swift-extras-json from cache (0.47s)
Fetched https://github.com/apple/swift-nio from cache (0.72s)
Fetched https://github.com/Quick/Nimble.git from cache (0.73s)
Fetched https://github.com/swift-extras/swift-extras-base64 from cache (0.73s)
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.03s)
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/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.04s)
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-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.55s)
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
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.04s)
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/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/mongodb/swift-bson.git
Working copy of https://github.com/mongodb/swift-bson.git resolved at v3.1.0 (d18d979)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
warning: '.resolve-product-dependencies': dependency 'swift-bson' is not used by any target
Found 4 product dependencies
  - swift-nio
  - swift-extras-json
  - swift-extras-base64
  - Nimble
========================================
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/24] Write sources
[12/24] Copying PrivacyInfo.xcprivacy
[13/24] Compiling CNIOWASI CNIOWASI.c
[14/24] Compiling CNIOWindows shim.c
[15/24] Compiling CNIOWindows WSAStartup.c
[16/24] Write sources
[17/24] Write swift-version--7754E27361AE5C74.txt
[18/24] Compiling CNIOLinux liburing_shims.c
[19/24] Compiling CNIOLinux shim.c
[20/40] Compiling _AtomicsShims.c
[21/84] Compiling CNIODarwin shim.c
[22/84] Compiling c-nioatomics.c
[23/84] Compiling c-atomics.c
[25/90] Emitting module ExtrasJSON
[26/91] Compiling ExtrasBase64 Chromium.swift
[27/91] Compiling Atomics AtomicOptionalWrappable.swift
[28/91] Compiling Atomics AtomicReference.swift
[29/92] Compiling Atomics PointerConformances.swift
[30/92] Compiling Atomics Primitives.native.swift
[31/92] Compiling Atomics AtomicBool.swift
[32/92] Compiling Atomics IntegerConformances.swift
[33/92] Compiling ExtrasBase64 DecodingError.swift
[34/92] Emitting module InternalCollectionsUtilities
[35/92] Compiling Atomics OptionalRawRepresentable.swift
[36/92] Compiling Atomics RawRepresentable.swift
[37/92] Emitting module ExtrasBase64
[38/92] Compiling ExtrasBase64 Base64.swift
[39/92] Emitting module _NIOBase64
[40/92] Compiling _NIOBase64 Base64.swift
[41/92] Compiling Atomics UnsafeAtomic.swift
[42/92] Compiling Atomics UnsafeAtomicLazyReference.swift
[43/92] Compiling ExtrasJSON JSONUnkeyedEncodingContainer.swift
[44/92] Compiling ExtrasJSON JSONError+DecodingError.swift
[45/92] Compiling ExtrasJSON JSONValue.swift
[46/92] Compiling Atomics AtomicMemoryOrderings.swift
[47/92] Compiling Atomics DoubleWord.swift
[48/92] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[49/92] Compiling ExtrasJSON JSONSingleValueEncodingContainer.swift
[50/92] Compiling ExtrasJSON JSONKeyedEncodingContainer.swift
[51/92] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[52/92] Compiling ExtrasJSON DocumentReader.swift
[59/92] Compiling Atomics ManagedAtomic.swift
[60/92] Compiling Atomics ManagedAtomicLazyReference.swift
[65/94] Compiling Atomics Primitives.shims.swift
[66/94] Compiling Atomics AtomicInteger.swift
[67/94] Compiling Atomics AtomicStorage.swift
[68/94] Compiling Atomics AtomicValue.swift
[69/110] Compiling Atomics IntegerOperations.swift
[70/110] Compiling Atomics Unmanaged extensions.swift
[71/110] Compiling ExtrasJSON JSONParser.swift
[72/110] Compiling DequeModule _DequeSlot.swift
[73/110] Compiling DequeModule _DequeBufferHeader.swift
[74/111] Compiling DequeModule Deque._UnsafeHandle.swift
[75/111] Compiling DequeModule Deque.swift
[76/111] Compiling DequeModule Deque+Testing.swift
[77/111] Compiling DequeModule Deque._Storage.swift
[78/111] Compiling _NIODataStructures _TinyArray.swift
[79/111] Emitting module _NIODataStructures
[80/111] Compiling _NIODataStructures PriorityQueue.swift
[81/111] Compiling _NIODataStructures Heap.swift
[82/111] Compiling DequeModule _UnsafeWrappedBuffer.swift
[83/111] Compiling DequeModule Deque+Extras.swift
[84/111] Compiling DequeModule Deque+Hashable.swift
[87/111] Compiling DequeModule Deque+CustomReflectable.swift
[88/111] Compiling DequeModule Deque+Descriptions.swift
[89/111] Compiling DequeModule Deque+Codable.swift
[90/111] Compiling DequeModule Deque+Collection.swift
[93/111] Compiling DequeModule _DequeBuffer.swift
[94/111] Compiling NIOConcurrencyHelpers lock.swift
[95/111] Compiling NIOConcurrencyHelpers NIOLock.swift
[96/111] Compiling NIOConcurrencyHelpers atomics.swift
[97/111] Emitting module NIOConcurrencyHelpers
[98/111] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[99/111] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[100/111] Compiling DequeModule Deque+Equatable.swift
[101/111] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[102/111] Emitting module DequeModule
[107/111] Emitting module Atomics
[112/173] Compiling NIOCore NIOScheduledCallback.swift
[113/173] Compiling NIOCore NIOSendable.swift
[114/173] Compiling NIOCore PointerHelpers.swift
[115/173] Compiling NIOCore RecvByteBufferAllocator.swift
[116/173] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[117/173] Compiling NIOCore SocketAddresses.swift
[118/179] Compiling NIOCore AddressedEnvelope.swift
[119/179] Compiling NIOCore AsyncAwaitSupport.swift
[120/179] Compiling NIOCore AsyncChannel.swift
[121/179] Compiling NIOCore AsyncChannelHandler.swift
[122/179] Compiling NIOCore AsyncChannelInboundStream.swift
[123/179] Compiling NIOCore AsyncChannelOutboundWriter.swift
[124/179] Compiling NIOCore NIOAsyncSequenceProducer.swift
[125/179] Compiling NIOCore SocketOptionProvider.swift
[126/179] Compiling NIOCore SystemCallHelpers.swift
[127/179] Compiling NIOCore TimeAmount+Duration.swift
[128/179] Compiling NIOCore TypeAssistedChannelHandler.swift
[129/179] Compiling NIOCore UniversalBootstrapSupport.swift
[130/179] Compiling NIOCore Utilities.swift
[131/179] Compiling NIOCore Codec.swift
[132/179] Compiling NIOCore ConvenienceOptionSupport.swift
[133/179] Compiling NIOCore DeadChannel.swift
[134/179] Compiling NIOCore DispatchQueue+WithFuture.swift
[135/179] Compiling NIOCore EventLoop+Deprecated.swift
[136/179] Compiling NIOCore EventLoop+SerialExecutor.swift
[137/179] Compiling NIOCore EventLoop.swift
[138/179] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[139/179] Compiling NIOCore NIOAsyncWriter.swift
[140/179] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[141/179] Compiling NIOCore BSDSocketAPI.swift
[142/179] Compiling NIOCore ByteBuffer-aux.swift
[143/179] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[144/179] Compiling NIOCore ByteBuffer-conversions.swift
[145/179] Compiling NIOCore Linux.swift
[146/179] Compiling NIOCore MarkedCircularBuffer.swift
[147/179] Compiling NIOCore MulticastChannel.swift
[148/179] Compiling NIOCore NIOAny.swift
[149/179] Compiling NIOCore NIOCloseOnErrorHandler.swift
[150/179] Compiling NIOCore NIOLoopBound.swift
[151/179] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[152/179] Compiling NIOCore EventLoopFuture+Deprecated.swift
[153/179] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[154/179] Compiling NIOCore EventLoopFuture.swift
[155/179] Compiling NIOCore FileDescriptor.swift
[156/179] Compiling NIOCore FileHandle.swift
[157/179] Compiling NIOCore FileRegion.swift
[158/179] Compiling NIOCore Channel.swift
[159/179] Compiling NIOCore ChannelHandler.swift
[160/179] Compiling NIOCore ChannelHandlers.swift
[161/179] Compiling NIOCore ChannelInvoker.swift
[162/179] Compiling NIOCore ChannelOption.swift
[163/179] Compiling NIOCore ChannelPipeline.swift
[164/179] Compiling NIOCore CircularBuffer.swift
[165/179] Compiling NIOCore GlobalSingletons.swift
[166/179] Compiling NIOCore IO.swift
[167/179] Compiling NIOCore IOData.swift
[168/179] Compiling NIOCore IPProtocol.swift
[169/179] Compiling NIOCore IntegerBitPacking.swift
[170/179] Compiling NIOCore IntegerTypes.swift
[171/179] Compiling NIOCore Interfaces.swift
[172/179] Compiling NIOCore ByteBuffer-core.swift
[173/179] Compiling NIOCore ByteBuffer-hex.swift
[174/179] Compiling NIOCore ByteBuffer-int.swift
[175/179] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[176/179] Compiling NIOCore ByteBuffer-multi-int.swift
[177/179] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[178/179] Compiling NIOCore ByteBuffer-views.swift
[179/179] Emitting module NIOCore
[180/233] Emitting module NIOEmbedded
[181/233] Compiling NIOEmbedded AsyncTestingChannel.swift
[182/233] Compiling NIOEmbedded Embedded.swift
[183/233] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[184/233] Compiling NIOPosix BSDSocketAPICommon.swift
[185/233] Compiling NIOPosix BSDSocketAPIPosix.swift
[186/233] Compiling NIOPosix BSDSocketAPIWindows.swift
[187/233] Compiling NIOPosix BaseSocket.swift
[188/233] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[189/233] Compiling NIOPosix BaseSocketChannel.swift
[190/238] Compiling NIOPosix SocketProtocols.swift
[191/238] Compiling NIOPosix System.swift
[192/238] Compiling NIOPosix Thread.swift
[193/238] Compiling NIOPosix ThreadPosix.swift
[194/238] Compiling NIOPosix ThreadWindows.swift
[195/238] Compiling NIOPosix PendingWritesManager.swift
[196/238] Compiling NIOPosix PipeChannel.swift
[197/238] Compiling NIOPosix PipePair.swift
[198/238] Compiling NIOPosix PointerHelpers.swift
[199/238] Compiling NIOPosix Pool.swift
[200/238] Compiling NIOPosix SelectorKqueue.swift
[201/238] Compiling NIOPosix SelectorUring.swift
[202/238] Compiling NIOPosix ServerSocket.swift
[203/238] Compiling NIOPosix Socket.swift
[204/238] Compiling NIOPosix SocketChannel.swift
[205/238] Compiling NIOPosix BaseStreamSocketChannel.swift
[206/238] Compiling NIOPosix Bootstrap.swift
[207/238] Compiling NIOPosix ControlMessage.swift
[208/238] Compiling NIOPosix DatagramVectorReadManager.swift
[209/238] Compiling NIOPosix Errors+Any.swift
[210/238] Compiling NIOPosix FileDescriptor.swift
[211/238] Compiling NIOPosix Selectable.swift
[212/238] Compiling NIOPosix SelectableChannel.swift
[213/238] Compiling NIOPosix SelectableEventLoop.swift
[214/238] Compiling NIOPosix SelectorEpoll.swift
[215/238] Compiling NIOPosix SelectorGeneric.swift
[216/238] Compiling NIOPosix LinuxCPUSet.swift
[217/238] Compiling NIOPosix LinuxUring.swift
[218/238] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[219/238] Compiling NIOPosix NIOThreadPool.swift
[220/238] Compiling NIOPosix NonBlockingFileIO.swift
[221/238] Compiling NIOPosix PendingDatagramWritesManager.swift
[222/238] Compiling NIOPosix PooledRecvBufferAllocator.swift
[223/238] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[224/238] Compiling NIOPosix PosixSingletons.swift
[225/238] Compiling NIOPosix RawSocketBootstrap.swift
[226/238] Compiling NIOPosix Resolver.swift
[227/238] Compiling NIOPosix GetaddrinfoResolver.swift
[228/238] Compiling NIOPosix HappyEyeballs.swift
[229/238] Compiling NIOPosix IO.swift
[230/238] Compiling NIOPosix IntegerBitPacking.swift
[231/238] Compiling NIOPosix IntegerTypes.swift
[232/238] Compiling NIOPosix Linux.swift
[233/238] Emitting module NIOPosix
[234/238] Compiling NIOPosix UnsafeTransfer.swift
[235/238] Compiling NIOPosix Utilities.swift
[236/238] Compiling NIOPosix VsockAddress.swift
[237/238] Compiling NIOPosix VsockChannelEvents.swift
[238/238] Compiling NIOPosix resource_bundle_accessor.swift
[239/240] Compiling NIO Exports.swift
[240/240] Emitting module NIO
[241/268] 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.
[242/268] 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.
[243/268] 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.
[244/268] Compiling SwiftBSON BSONValue.swift
[245/268] Compiling SwiftBSON Bool+BSONValue.swift
[246/268] Compiling SwiftBSON ByteBuffer+BSON.swift
[247/271] Compiling SwiftBSON BSONRegularExpression.swift
[248/271] Compiling SwiftBSON BSONSymbol.swift
[249/271] Compiling SwiftBSON BSONTimestamp.swift
[250/271] 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
[251/271] 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
[252/271] 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
[253/271] 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 |
[254/271] 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 |
[255/271] 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 |
[256/271] 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]
[257/271] 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]
[258/271] 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]
[259/271] 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 |
[260/271] 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 |
[261/271] 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 |
[262/271] Compiling SwiftBSON BSONCode.swift
[263/271] Compiling SwiftBSON BSONDBPointer.swift
[264/271] Compiling SwiftBSON BSONDecimal128.swift
[265/271] 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.
[266/271] Compiling SwiftBSON Integers+BSONValue.swift
[267/271] Compiling SwiftBSON JSON.swift
[268/271] Compiling SwiftBSON String+BSONValue.swift
[269/271] 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)!
[270/271] 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)!
[271/271] 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)!
Build complete! (45.26s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.16.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.git"
    }
  ],
  "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" : [
        "NIO",
        "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.1"
}
Done.