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 BSON, reference 8.2.0 (4240cf), with Swift 5.9 for macOS (SPM) on 28 Apr 2025 13:24:47 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/BSON.git
Reference: 8.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/BSON
 * tag               8.2.0      -> FETCH_HEAD
HEAD is now at 4240cf6 Merge pull request #87 from orlandos-nl/jo/expose-type-identifier
Cloned https://github.com/orlandos-nl/BSON.git
Revision (git rev-parse @):
4240cf68b5d161434034a493741f0ae08cbef017
SUCCESS checkout https://github.com/orlandos-nl/BSON.git at 8.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/orlandos-nl/BSON.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Compiling CNIOWASI CNIOWASI.c
[1/9] Compiling CNIOWindows shim.c
[1/9] Compiling CNIOWindows WSAStartup.c
[3/9] Compiling CNIOLinux shim.c
[3/9] Compiling CNIOLinux liburing_shims.c
[5/33] Compiling _AtomicsShims.c
[6/33] Compiling CNIODarwin shim.c
[8/52] Compiling Atomics UnsafeAtomic.swift
[9/52] Compiling Atomics UnsafeAtomicLazyReference.swift
[10/52] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[11/53] Compiling Atomics AtomicStorage.swift
[12/53] Compiling Atomics AtomicValue.swift
[13/53] Compiling Atomics ManagedAtomic.swift
[14/53] Compiling Atomics ManagedAtomicLazyReference.swift
[15/53] Compiling Atomics AtomicOptionalWrappable.swift
[16/53] Compiling Atomics AtomicReference.swift
[17/53] Compiling Atomics Primitives.shims.swift
[18/53] Compiling Atomics AtomicInteger.swift
[19/53] Compiling Atomics AtomicBool.swift
[20/53] Compiling Atomics IntegerConformances.swift
[21/53] Emitting module InternalCollectionsUtilities
[22/53] Compiling Atomics PointerConformances.swift
[23/53] Compiling Atomics Primitives.native.swift
[24/53] Compiling Atomics OptionalRawRepresentable.swift
[25/53] Compiling Atomics RawRepresentable.swift
[26/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[27/53] Emitting module _NIOBase64
[28/53] Compiling _NIOBase64 Base64.swift
[29/69] Compiling DequeModule _DequeBufferHeader.swift
[30/69] Compiling DequeModule _DequeSlot.swift
[31/69] Compiling DequeModule _DequeBuffer.swift
[32/70] Compiling DequeModule Deque+Equatable.swift
[33/70] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[34/70] Compiling DequeModule _UnsafeWrappedBuffer.swift
[35/70] Compiling DequeModule Deque+Testing.swift
[36/70] Compiling DequeModule Deque._Storage.swift
[37/70] Compiling DequeModule Deque+Extras.swift
[38/70] Compiling DequeModule Deque+Hashable.swift
[39/70] Compiling DequeModule Deque._UnsafeHandle.swift
[40/70] Compiling DequeModule Deque.swift
[41/70] Compiling DequeModule Deque+CustomReflectable.swift
[42/70] Compiling DequeModule Deque+Descriptions.swift
[43/70] Compiling DequeModule Deque+Codable.swift
[44/70] Compiling DequeModule Deque+Collection.swift
[45/70] Emitting module DequeModule
[46/70] Compiling _NIODataStructures Heap.swift
[47/70] Emitting module _NIODataStructures
[48/70] Compiling _NIODataStructures PriorityQueue.swift
[49/70] Compiling _NIODataStructures _TinyArray.swift
[52/72] Compiling Atomics IntegerOperations.swift
[53/72] Compiling Atomics Unmanaged extensions.swift
[58/72] Compiling Atomics AtomicMemoryOrderings.swift
[59/72] Compiling Atomics DoubleWord.swift
[59/72] Compiling c-nioatomics.c
[71/72] Emitting module Atomics
[71/72] Compiling c-atomics.c
[73/78] Compiling NIOConcurrencyHelpers lock.swift
[74/78] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[75/78] Emitting module NIOConcurrencyHelpers
[76/78] Compiling NIOConcurrencyHelpers NIOLock.swift
[77/78] Compiling NIOConcurrencyHelpers atomics.swift
[78/78] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[79/139] Compiling NIOCore NIOLoopBound.swift
[80/139] Compiling NIOCore NIOScheduledCallback.swift
[81/139] Compiling NIOCore NIOSendable.swift
[82/139] Compiling NIOCore RecvByteBufferAllocator.swift
[83/139] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[84/139] Compiling NIOCore SocketAddresses.swift
[85/145] Compiling NIOCore AddressedEnvelope.swift
[86/145] Compiling NIOCore AsyncAwaitSupport.swift
[87/145] Compiling NIOCore AsyncChannel.swift
[88/145] Compiling NIOCore AsyncChannelHandler.swift
[89/145] Compiling NIOCore AsyncChannelInboundStream.swift
[90/145] Compiling NIOCore AsyncChannelOutboundWriter.swift
[91/145] Compiling NIOCore NIOAsyncSequenceProducer.swift
[92/145] Compiling NIOCore SocketOptionProvider.swift
[93/145] Compiling NIOCore SystemCallHelpers.swift
[94/145] Compiling NIOCore TimeAmount+Duration.swift
[95/145] Compiling NIOCore TypeAssistedChannelHandler.swift
[96/145] Compiling NIOCore UniversalBootstrapSupport.swift
[97/145] Compiling NIOCore Utilities.swift
[98/145] Compiling NIOCore Codec.swift
[99/145] Compiling NIOCore ConvenienceOptionSupport.swift
[100/145] Compiling NIOCore DeadChannel.swift
[101/145] Compiling NIOCore DispatchQueue+WithFuture.swift
[102/145] Compiling NIOCore EventLoop+Deprecated.swift
[103/145] Compiling NIOCore EventLoop+SerialExecutor.swift
[104/145] Compiling NIOCore EventLoop.swift
[105/145] Compiling NIOCore Interfaces.swift
[106/145] Compiling NIOCore Linux.swift
[107/145] Compiling NIOCore MarkedCircularBuffer.swift
[108/145] Compiling NIOCore MulticastChannel.swift
[109/145] Compiling NIOCore NIOAny.swift
[110/145] Compiling NIOCore NIOCloseOnErrorHandler.swift
[111/145] Compiling NIOCore Channel.swift
[112/145] Compiling NIOCore ChannelHandler.swift
[113/145] Compiling NIOCore ChannelHandlers.swift
[114/145] Compiling NIOCore ChannelInvoker.swift
[115/145] Compiling NIOCore ChannelOption.swift
[116/145] Compiling NIOCore ChannelPipeline.swift
[117/145] Compiling NIOCore CircularBuffer.swift
[118/145] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[119/145] Compiling NIOCore NIOAsyncWriter.swift
[120/145] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[121/145] Compiling NIOCore BSDSocketAPI.swift
[122/145] Compiling NIOCore ByteBuffer-aux.swift
[123/145] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[124/145] Compiling NIOCore ByteBuffer-conversions.swift
[125/145] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[126/145] Compiling NIOCore EventLoopFuture+Deprecated.swift
[127/145] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[128/145] Compiling NIOCore EventLoopFuture.swift
[129/145] Compiling NIOCore FileDescriptor.swift
[130/145] Compiling NIOCore FileHandle.swift
[131/145] Compiling NIOCore FileRegion.swift
[132/145] Compiling NIOCore ByteBuffer-core.swift
[133/145] Compiling NIOCore ByteBuffer-hex.swift
[134/145] Compiling NIOCore ByteBuffer-int.swift
[135/145] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[136/145] Compiling NIOCore ByteBuffer-multi-int.swift
[137/145] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[138/145] Compiling NIOCore ByteBuffer-views.swift
[139/145] Compiling NIOCore GlobalSingletons.swift
[140/145] Compiling NIOCore IO.swift
[141/145] Compiling NIOCore IOData.swift
[142/145] Compiling NIOCore IPProtocol.swift
[143/145] Compiling NIOCore IntegerBitPacking.swift
[144/145] Compiling NIOCore IntegerTypes.swift
[145/145] Emitting module NIOCore
[146/180] Emitting module BSON
[147/183] Compiling BSON RegularExpression.swift
[148/183] Compiling BSON Timestamp.swift
[149/183] Compiling BSON TypeIdentifier.swift
[150/183] Compiling BSON Optional.swift
[151/183] Compiling BSON PrimitiveConvertible.swift
[152/183] Compiling BSON Primitives.swift
[153/183] Compiling BSON Document+Subscripts.swift
[154/183] Compiling BSON Document+Validation.swift
[155/183] Compiling BSON Document.swift
[156/183] Compiling BSON DocumentSlice.swift
[157/183] Compiling BSON JavaScript.swift
[158/183] Compiling BSON Null.swift
[159/183] Compiling BSON ObjectId.swift
[160/183] Compiling BSON ByteBuffer+Helpers.swift
[161/183] Compiling BSON AnyPrimitive.swift
[162/183] Compiling BSON Binary.swift
[163/183] Compiling BSON Decimal128.swift
[164/183] Compiling BSON Codable.swift
[165/183] Compiling BSON BSONDecoder.swift
[166/183] Compiling BSON BSONDecoderSettings.swift
[167/183] Compiling BSON FastBSONDecoder.swift
[168/183] Compiling BSON KeyedBSONDecodingContainer.swift
[169/183] Compiling BSON PrimitiveDecoding.swift
[170/183] Compiling BSON SingleValueBSONDecodingContainer.swift
[171/183] Compiling BSON UnkeyedBSONDecodingContainer.swift
[172/183] Compiling BSON Document+Equatable.swift
[173/183] Compiling BSON Document+Helpers.swift
[174/183] Compiling BSON Document+Mutations.swift
[175/183] Compiling BSON Document+Serialization.swift
[176/183] Compiling BSON BSONEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it
            case .primitive(let primitive):
                            ~~~~^~~~~~~~~
                            _
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused
                self.document?.removeValue(forKey: converted(key.stringValue))
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[177/183] Compiling BSON BSONEncoderStrategies.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it
            case .primitive(let primitive):
                            ~~~~^~~~~~~~~
                            _
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused
                self.document?.removeValue(forKey: converted(key.stringValue))
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[178/183] Compiling BSON PrimitiveEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it
            case .primitive(let primitive):
                            ~~~~^~~~~~~~~
                            _
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused
                self.document?.removeValue(forKey: converted(key.stringValue))
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[179/183] Compiling BSON CustomDebugStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it
            case .primitive(let primitive):
                            ~~~~^~~~~~~~~
                            _
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused
                self.document?.removeValue(forKey: converted(key.stringValue))
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[180/183] Compiling BSON Document+Array.swift
[181/183] Compiling BSON Document+Cache.swift
[182/183] Compiling BSON Document+Collection.swift
[183/183] Compiling BSON Document+Dictionary.swift
Build complete! (27.02s)
Fetching https://github.com/apple/swift-nio.git
[1/75468] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (6.29s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (3.21s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[394/17947] Fetching swift-atomics, swift-collections
[17948/22300] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git (3.29s)
Fetched https://github.com/apple/swift-system.git (3.29s)
Fetched https://github.com/apple/swift-collections.git (3.29s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.52s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/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.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.46.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "BSON",
  "name" : "BSON",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "BSON",
      "targets" : [
        "BSON"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4.2"
  ],
  "targets" : [
    {
      "c99name" : "BSONTests",
      "module_type" : "SwiftTarget",
      "name" : "BSONTests",
      "path" : "Tests/BSONTests",
      "sources" : [
        "BSONCorpusTests.swift",
        "BSONDateDecodingTests.swift",
        "BSONEncoderTests.swift",
        "BSONPublicTests.swift",
        "ObjectIdTests.swift"
      ],
      "target_dependencies" : [
        "BSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BSON",
      "module_type" : "SwiftTarget",
      "name" : "BSON",
      "path" : "Sources/BSON",
      "product_dependencies" : [
        "NIOCore"
      ],
      "product_memberships" : [
        "BSON"
      ],
      "sources" : [
        "Codable/Codable.swift",
        "Codable/Decoding/BSONDecoder.swift",
        "Codable/Decoding/BSONDecoderSettings.swift",
        "Codable/Decoding/Fast/FastBSONDecoder.swift",
        "Codable/Decoding/KeyedBSONDecodingContainer.swift",
        "Codable/Decoding/PrimitiveDecoding.swift",
        "Codable/Decoding/SingleValueBSONDecodingContainer.swift",
        "Codable/Decoding/UnkeyedBSONDecodingContainer.swift",
        "Codable/Encoding/BSONEncoder.swift",
        "Codable/Encoding/BSONEncoderStrategies.swift",
        "Codable/Encoding/PrimitiveEncoding.swift",
        "Debugging/CustomDebugStringConvertible.swift",
        "Document/Document+Array.swift",
        "Document/Document+Cache.swift",
        "Document/Document+Collection.swift",
        "Document/Document+Dictionary.swift",
        "Document/Document+Equatable.swift",
        "Document/Document+Helpers.swift",
        "Document/Document+Mutations.swift",
        "Document/Document+Serialization.swift",
        "Document/Document+Subscripts.swift",
        "Document/Document+Validation.swift",
        "Document/Document.swift",
        "Document/DocumentSlice.swift",
        "Helpers/ByteBuffer+Helpers.swift",
        "Types/AnyPrimitive.swift",
        "Types/Binary.swift",
        "Types/Decimal128.swift",
        "Types/JavaScript.swift",
        "Types/Null.swift",
        "Types/ObjectId.swift",
        "Types/Optional.swift",
        "Types/PrimitiveConvertible.swift",
        "Types/Primitives.swift",
        "Types/RegularExpression.swift",
        "Types/Timestamp.swift",
        "Types/TypeIdentifier.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.