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 main (4240cf), with Swift 5.10 for macOS (SPM) on 28 Apr 2025 13:23:51 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/BSON
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/orlandos-nl/BSON.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[6/18] Write swift-version-33747A42983211AE.txt
[7/18] Write sources
[8/18] Compiling CNIOWindows WSAStartup.c
[9/18] Compiling CNIOWindows shim.c
[9/18] Compiling CNIOWASI CNIOWASI.c
[11/18] Write sources
[12/18] Compiling CNIOLinux shim.c
[13/18] Compiling CNIOLinux liburing_shims.c
[14/42] Compiling _AtomicsShims.c
[15/42] Compiling CNIODarwin shim.c
[17/42] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/43] Compiling InternalCollectionsUtilities Debugging.swift
[19/43] Compiling InternalCollectionsUtilities Descriptions.swift
[20/43] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/43] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/43] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[23/43] Compiling InternalCollectionsUtilities Specialize.swift
[24/43] Compiling InternalCollectionsUtilities _SortedCollection.swift
[25/43] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[26/62] Compiling Atomics UnsafeAtomic.swift
[27/62] Compiling Atomics UnsafeAtomicLazyReference.swift
[28/62] Compiling Atomics OptionalRawRepresentable.swift
[29/62] Compiling Atomics RawRepresentable.swift
[30/62] Compiling Atomics AtomicBool.swift
[31/62] Compiling Atomics IntegerConformances.swift
[32/62] Compiling Atomics AtomicMemoryOrderings.swift
[33/62] Compiling Atomics DoubleWord.swift
[34/62] Emitting module InternalCollectionsUtilities
[35/62] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/62] Compiling _NIOBase64 Base64.swift
[37/62] Emitting module _NIOBase64
[38/78] Compiling DequeModule _DequeBufferHeader.swift
[39/78] Compiling DequeModule _DequeSlot.swift
[40/79] Compiling DequeModule _DequeBuffer.swift
[41/79] Compiling _NIODataStructures _TinyArray.swift
[42/79] Compiling DequeModule _UnsafeWrappedBuffer.swift
[43/79] Compiling _NIODataStructures PriorityQueue.swift
[44/79] Emitting module _NIODataStructures
[45/79] Compiling _NIODataStructures Heap.swift
[46/79] Compiling DequeModule Deque+Extras.swift
[47/79] Compiling DequeModule Deque+Hashable.swift
[48/79] Compiling DequeModule Deque+Testing.swift
[49/79] Compiling DequeModule Deque._Storage.swift
[50/79] Compiling DequeModule Deque+CustomReflectable.swift
[51/79] Compiling DequeModule Deque+Descriptions.swift
[52/79] Compiling DequeModule Deque+Equatable.swift
[53/79] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[54/79] Compiling DequeModule Deque._UnsafeHandle.swift
[55/79] Compiling DequeModule Deque.swift
[56/79] Compiling DequeModule Deque+Codable.swift
[57/79] Compiling DequeModule Deque+Collection.swift
[58/79] Emitting module DequeModule
[67/79] Compiling Atomics AtomicOptionalWrappable.swift
[68/79] Compiling Atomics AtomicReference.swift
[69/81] Compiling Atomics IntegerOperations.swift
[70/81] Compiling Atomics Unmanaged extensions.swift
[70/81] Compiling c-nioatomics.c
[72/81] Compiling Atomics Primitives.shims.swift
[73/81] Compiling Atomics AtomicInteger.swift
[78/81] Emitting module Atomics
[79/81] Compiling Atomics PointerConformances.swift
[80/81] Compiling Atomics Primitives.native.swift
[80/81] Compiling c-atomics.c
[82/87] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[83/87] Compiling NIOConcurrencyHelpers NIOLock.swift
[84/87] Compiling NIOConcurrencyHelpers lock.swift
[85/87] Emitting module NIOConcurrencyHelpers
[86/87] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[87/87] Compiling NIOConcurrencyHelpers atomics.swift
[88/148] Compiling NIOCore Interfaces.swift
[89/148] Compiling NIOCore Linux.swift
[90/148] Compiling NIOCore MarkedCircularBuffer.swift
[91/148] Compiling NIOCore MulticastChannel.swift
[92/148] Compiling NIOCore NIOAny.swift
[93/148] Compiling NIOCore NIOCloseOnErrorHandler.swift
[94/154] Compiling NIOCore SocketOptionProvider.swift
[95/154] Compiling NIOCore SystemCallHelpers.swift
[96/154] Compiling NIOCore TimeAmount+Duration.swift
[97/154] Compiling NIOCore TypeAssistedChannelHandler.swift
[98/154] Compiling NIOCore UniversalBootstrapSupport.swift
[99/154] Compiling NIOCore Utilities.swift
[100/154] Compiling NIOCore NIOLoopBound.swift
[101/154] Compiling NIOCore NIOScheduledCallback.swift
[102/154] Compiling NIOCore NIOSendable.swift
[103/154] Compiling NIOCore RecvByteBufferAllocator.swift
[104/154] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[105/154] Compiling NIOCore SocketAddresses.swift
[106/154] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[107/154] Compiling NIOCore EventLoopFuture+Deprecated.swift
[108/154] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[109/154] Compiling NIOCore EventLoopFuture.swift
[110/154] Compiling NIOCore FileDescriptor.swift
[111/154] Compiling NIOCore FileHandle.swift
[112/154] Compiling NIOCore FileRegion.swift
[113/154] Compiling NIOCore Codec.swift
[114/154] Compiling NIOCore ConvenienceOptionSupport.swift
[115/154] Compiling NIOCore DeadChannel.swift
[116/154] Compiling NIOCore DispatchQueue+WithFuture.swift
[117/154] Compiling NIOCore EventLoop+Deprecated.swift
[118/154] Compiling NIOCore EventLoop+SerialExecutor.swift
[119/154] Compiling NIOCore EventLoop.swift
[120/154] Compiling NIOCore Channel.swift
[121/154] Compiling NIOCore ChannelHandler.swift
[122/154] Compiling NIOCore ChannelHandlers.swift
[123/154] Compiling NIOCore ChannelInvoker.swift
[124/154] Compiling NIOCore ChannelOption.swift
[125/154] Compiling NIOCore ChannelPipeline.swift
[126/154] Compiling NIOCore CircularBuffer.swift
[127/154] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[128/154] Compiling NIOCore NIOAsyncWriter.swift
[129/154] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[130/154] Compiling NIOCore BSDSocketAPI.swift
[131/154] Compiling NIOCore ByteBuffer-aux.swift
[132/154] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[133/154] Compiling NIOCore ByteBuffer-conversions.swift
[134/154] Compiling NIOCore AddressedEnvelope.swift
[135/154] Compiling NIOCore AsyncAwaitSupport.swift
[136/154] Compiling NIOCore AsyncChannel.swift
[137/154] Compiling NIOCore AsyncChannelHandler.swift
[138/154] Compiling NIOCore AsyncChannelInboundStream.swift
[139/154] Compiling NIOCore AsyncChannelOutboundWriter.swift
[140/154] Compiling NIOCore NIOAsyncSequenceProducer.swift
[141/154] Compiling NIOCore GlobalSingletons.swift
[142/154] Compiling NIOCore IO.swift
[143/154] Compiling NIOCore IOData.swift
[144/154] Compiling NIOCore IPProtocol.swift
[145/154] Compiling NIOCore IntegerBitPacking.swift
[146/154] Compiling NIOCore IntegerTypes.swift
[147/154] Compiling NIOCore ByteBuffer-core.swift
[148/154] Compiling NIOCore ByteBuffer-hex.swift
[149/154] Compiling NIOCore ByteBuffer-int.swift
[150/154] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[151/154] Compiling NIOCore ByteBuffer-multi-int.swift
[152/154] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[153/154] Compiling NIOCore ByteBuffer-views.swift
[154/154] Emitting module NIOCore
[155/189] Emitting module BSON
[156/192] Compiling BSON RegularExpression.swift
[157/192] Compiling BSON Timestamp.swift
[158/192] Compiling BSON TypeIdentifier.swift
[159/192] Compiling BSON Document+Subscripts.swift
[160/192] Compiling BSON Document+Validation.swift
[161/192] Compiling BSON Document.swift
[162/192] Compiling BSON DocumentSlice.swift
[163/192] Compiling BSON Document+Equatable.swift
[164/192] Compiling BSON Document+Helpers.swift
[165/192] Compiling BSON Document+Mutations.swift
[166/192] Compiling BSON Document+Serialization.swift
[167/192] Compiling BSON JavaScript.swift
[168/192] Compiling BSON Null.swift
[169/192] Compiling BSON ObjectId.swift
[170/192] Compiling BSON ByteBuffer+Helpers.swift
[171/192] Compiling BSON AnyPrimitive.swift
[172/192] Compiling BSON Binary.swift
[173/192] Compiling BSON Decimal128.swift
[174/192] Compiling BSON Optional.swift
[175/192] Compiling BSON PrimitiveConvertible.swift
[176/192] Compiling BSON Primitives.swift
[177/192] Compiling BSON Document+Array.swift
[178/192] Compiling BSON Document+Cache.swift
[179/192] Compiling BSON Document+Collection.swift
[180/192] Compiling BSON Document+Dictionary.swift
[181/192] 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))
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[182/192] 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))
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[183/192] 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))
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[184/192] 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))
                               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[185/192] Compiling BSON KeyedBSONDecodingContainer.swift
[186/192] Compiling BSON PrimitiveDecoding.swift
[187/192] Compiling BSON SingleValueBSONDecodingContainer.swift
[188/192] Compiling BSON UnkeyedBSONDecodingContainer.swift
[189/192] Compiling BSON Codable.swift
[190/192] Compiling BSON BSONDecoder.swift
[191/192] Compiling BSON BSONDecoderSettings.swift
[192/192] Compiling BSON FastBSONDecoder.swift
Build complete! (20.68s)
Fetching https://github.com/apple/swift-nio.git
[1/75468] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.96s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (2.67s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[53/6058] Fetching swift-atomics, swift-system
[813/22300] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.84s)
Fetched https://github.com/apple/swift-collections.git from cache (1.84s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.35s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.34s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.57s)
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
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
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.