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 6.0 for macOS (SPM) on 28 Apr 2025 13:35:17 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.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:             6.0
Building package at path:  $PWD
https://github.com/orlandos-nl/BSON.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/18] Write sources
[7/18] Compiling CNIOWindows WSAStartup.c
[7/18] Compiling CNIOWindows shim.c
[9/18] Write sources
[10/18] Compiling CNIOWASI CNIOWASI.c
[11/18] Write swift-version-5BDAB9E9C0126B9D.txt
[12/18] Compiling CNIOLinux shim.c
[13/18] Compiling CNIOLinux liburing_shims.c
[14/40] Compiling _AtomicsShims.c
[15/61] Compiling CNIODarwin shim.c
[17/61] Compiling Atomics Primitives.shims.swift
[18/61] Compiling Atomics AtomicInteger.swift
[19/61] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[20/61] Compiling Atomics ManagedAtomic.swift
[21/61] Compiling Atomics ManagedAtomicLazyReference.swift
[22/62] Compiling Atomics AtomicMemoryOrderings.swift
[23/62] Compiling Atomics DoubleWord.swift
[24/62] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[25/62] Emitting module _NIOBase64
[26/62] Compiling _NIOBase64 Base64.swift
[31/62] Compiling Atomics UnsafeAtomic.swift
[32/62] Compiling Atomics UnsafeAtomicLazyReference.swift
[33/64] Compiling Atomics AtomicBool.swift
[34/64] Compiling Atomics IntegerConformances.swift
[37/64] Compiling Atomics OptionalRawRepresentable.swift
[38/64] Compiling Atomics RawRepresentable.swift
[39/64] Compiling Atomics AtomicOptionalWrappable.swift
[40/64] Compiling Atomics AtomicReference.swift
[41/64] Compiling Atomics AtomicStorage.swift
[42/64] Compiling Atomics AtomicValue.swift
[43/64] Emitting module InternalCollectionsUtilities
[52/64] Compiling Atomics PointerConformances.swift
[53/64] Compiling Atomics Primitives.native.swift
[54/64] Compiling Atomics IntegerOperations.swift
[55/64] Compiling Atomics Unmanaged extensions.swift
[56/80] Compiling _NIODataStructures PriorityQueue.swift
[57/80] Compiling _NIODataStructures _TinyArray.swift
[58/80] Compiling DequeModule _DequeBufferHeader.swift
[59/80] Compiling DequeModule _DequeBuffer.swift
[60/80] Compiling DequeModule _DequeSlot.swift
[61/81] Compiling DequeModule Deque+Testing.swift
[62/81] Compiling DequeModule Deque._Storage.swift
[63/81] Emitting module Atomics
[64/81] Emitting module _NIODataStructures
[65/81] Compiling _NIODataStructures Heap.swift
[66/81] Compiling DequeModule _UnsafeWrappedBuffer.swift
[67/81] Compiling DequeModule Deque._UnsafeHandle.swift
[68/81] Compiling DequeModule Deque.swift
[71/81] Compiling DequeModule Deque+Equatable.swift
[72/81] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[73/81] Compiling DequeModule Deque+Codable.swift
[74/81] Compiling DequeModule Deque+Collection.swift
[75/81] Compiling DequeModule Deque+CustomReflectable.swift
[76/81] Compiling DequeModule Deque+Descriptions.swift
[77/81] Emitting module DequeModule
[78/81] Compiling DequeModule Deque+Extras.swift
[79/81] Compiling DequeModule Deque+Hashable.swift
[79/81] Compiling c-nioatomics.c
[80/81] Compiling c-atomics.c
[82/87] Compiling NIOConcurrencyHelpers lock.swift
[83/87] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[84/87] Emitting module NIOConcurrencyHelpers
[85/87] Compiling NIOConcurrencyHelpers NIOLock.swift
[86/87] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[87/87] Compiling NIOConcurrencyHelpers atomics.swift
[88/148] Compiling NIOCore GlobalSingletons.swift
[89/148] Compiling NIOCore IO.swift
[90/148] Compiling NIOCore IOData.swift
[91/148] Compiling NIOCore IPProtocol.swift
[92/148] Compiling NIOCore IntegerBitPacking.swift
[93/148] Compiling NIOCore IntegerTypes.swift
[94/148] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[95/148] Compiling NIOCore EventLoopFuture+Deprecated.swift
[96/148] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[97/148] Compiling NIOCore EventLoopFuture.swift
[98/148] Compiling NIOCore FileDescriptor.swift
[99/148] Compiling NIOCore FileHandle.swift
[100/148] Compiling NIOCore FileRegion.swift
[101/154] Compiling NIOCore AddressedEnvelope.swift
[102/154] Compiling NIOCore AsyncAwaitSupport.swift
[103/154] Compiling NIOCore AsyncChannel.swift
[104/154] Compiling NIOCore AsyncChannelHandler.swift
[105/154] Compiling NIOCore AsyncChannelInboundStream.swift
[106/154] Compiling NIOCore AsyncChannelOutboundWriter.swift
[107/154] Compiling NIOCore NIOAsyncSequenceProducer.swift
[108/154] Compiling NIOCore Codec.swift
[109/154] Compiling NIOCore ConvenienceOptionSupport.swift
[110/154] Compiling NIOCore DeadChannel.swift
[111/154] Compiling NIOCore DispatchQueue+WithFuture.swift
[112/154] Compiling NIOCore EventLoop+Deprecated.swift
[113/154] Compiling NIOCore EventLoop+SerialExecutor.swift
[114/154] Compiling NIOCore EventLoop.swift
[115/154] Compiling NIOCore NIOLoopBound.swift
[116/154] Compiling NIOCore NIOScheduledCallback.swift
[117/154] Compiling NIOCore NIOSendable.swift
[118/154] Compiling NIOCore RecvByteBufferAllocator.swift
[119/154] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[120/154] Compiling NIOCore SocketAddresses.swift
[121/154] Compiling NIOCore Channel.swift
[122/154] Compiling NIOCore ChannelHandler.swift
[123/154] Compiling NIOCore ChannelHandlers.swift
[124/154] Compiling NIOCore ChannelInvoker.swift
[125/154] Compiling NIOCore ChannelOption.swift
[126/154] Compiling NIOCore ChannelPipeline.swift
[127/154] Compiling NIOCore CircularBuffer.swift
[128/154] Compiling NIOCore Interfaces.swift
[129/154] Compiling NIOCore Linux.swift
[130/154] Compiling NIOCore MarkedCircularBuffer.swift
[131/154] Compiling NIOCore MulticastChannel.swift
[132/154] Compiling NIOCore NIOAny.swift
[133/154] Compiling NIOCore NIOCloseOnErrorHandler.swift
[134/154] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[135/154] Compiling NIOCore NIOAsyncWriter.swift
[136/154] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[137/154] Compiling NIOCore BSDSocketAPI.swift
[138/154] Compiling NIOCore ByteBuffer-aux.swift
[139/154] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[140/154] Compiling NIOCore ByteBuffer-conversions.swift
[141/154] Compiling NIOCore SocketOptionProvider.swift
[142/154] Compiling NIOCore SystemCallHelpers.swift
[143/154] Compiling NIOCore TimeAmount+Duration.swift
[144/154] Compiling NIOCore TypeAssistedChannelHandler.swift
[145/154] Compiling NIOCore UniversalBootstrapSupport.swift
[146/154] Compiling NIOCore Utilities.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 Optional.swift
[160/192] Compiling BSON PrimitiveConvertible.swift
[161/192] Compiling BSON Primitives.swift
[162/192] Compiling BSON KeyedBSONDecodingContainer.swift
[163/192] Compiling BSON PrimitiveDecoding.swift
[164/192] Compiling BSON SingleValueBSONDecodingContainer.swift
[165/192] Compiling BSON UnkeyedBSONDecodingContainer.swift
[166/192] Compiling BSON Document+Equatable.swift
[167/192] Compiling BSON Document+Helpers.swift
[168/192] Compiling BSON Document+Mutations.swift
[169/192] Compiling BSON Document+Serialization.swift
[170/192] Compiling BSON Codable.swift
[171/192] Compiling BSON BSONDecoder.swift
[172/192] Compiling BSON BSONDecoderSettings.swift
[173/192] Compiling BSON FastBSONDecoder.swift
[174/192] Compiling BSON Document+Subscripts.swift
[175/192] Compiling BSON Document+Validation.swift
[176/192] Compiling BSON Document.swift
[177/192] Compiling BSON DocumentSlice.swift
[178/192] Compiling BSON JavaScript.swift
[179/192] Compiling BSON Null.swift
[180/192] Compiling BSON ObjectId.swift
[181/192] Compiling BSON ByteBuffer+Helpers.swift
[182/192] Compiling BSON AnyPrimitive.swift
[183/192] Compiling BSON Binary.swift
[184/192] Compiling BSON Decimal128.swift
[185/192] Compiling BSON Document+Array.swift
[186/192] Compiling BSON Document+Cache.swift
[187/192] Compiling BSON Document+Collection.swift
[188/192] Compiling BSON Document+Dictionary.swift
[189/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
 82 |             case .document(let document):
 83 |                 document
 84 |             case .primitive(let primitive):
    |                                 `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it
 85 |                 nil
 86 |             case nil:
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused
172 |                 self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 |             } else {
174 |                 self.document?.removeValue(forKey: converted(key.stringValue))
    |                                `- warning: result of call to 'removeValue(forKey:)' is unused
175 |             }
176 |         }
[190/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
 82 |             case .document(let document):
 83 |                 document
 84 |             case .primitive(let primitive):
    |                                 `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it
 85 |                 nil
 86 |             case nil:
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused
172 |                 self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 |             } else {
174 |                 self.document?.removeValue(forKey: converted(key.stringValue))
    |                                `- warning: result of call to 'removeValue(forKey:)' is unused
175 |             }
176 |         }
[191/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
 82 |             case .document(let document):
 83 |                 document
 84 |             case .primitive(let primitive):
    |                                 `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it
 85 |                 nil
 86 |             case nil:
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused
172 |                 self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 |             } else {
174 |                 self.document?.removeValue(forKey: converted(key.stringValue))
    |                                `- warning: result of call to 'removeValue(forKey:)' is unused
175 |             }
176 |         }
[192/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
 82 |             case .document(let document):
 83 |                 document
 84 |             case .primitive(let primitive):
    |                                 `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it
 85 |                 nil
 86 |             case nil:
/Users/admin/builder/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused
172 |                 self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 |             } else {
174 |                 self.document?.removeValue(forKey: converted(key.stringValue))
    |                                `- warning: result of call to 'removeValue(forKey:)' is unused
175 |             }
176 |         }
Build complete! (22.41s)
Fetching https://github.com/apple/swift-nio.git
[1/75468] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (3.15s)
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/4353] Fetching swift-system
[393/6058] Fetching swift-system, swift-atomics
[568/22300] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.07s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.07s)
[2924/16242] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
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-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-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"
        ]
      }
    }
  ],
  "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" : "6.0"
}
Done.