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.1.2 (d918a5), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 18:33:24 UTC.

Swift 6 data race errors: 0

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/orlandos-nl/BSON.git
Reference: 8.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/BSON
 * tag               8.1.2      -> FETCH_HEAD
HEAD is now at d918a5c Enable Swift 6 support
Cloned https://github.com/orlandos-nl/BSON.git
Revision (git rev-parse @):
d918a5c24d875deeb6bcc9082a68bd097ac24d92
SUCCESS checkout https://github.com/orlandos-nl/BSON.git at 8.1.2
Fetching https://github.com/apple/swift-nio.git
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (15.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (3.32s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[49/5470] Fetching swift-atomics, swift-system
[1628/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.08s)
Fetched https://github.com/apple/swift-system.git from cache (1.08s)
[774/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (11.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.73s)
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-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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
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
========================================
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": "bson",
      "name": "BSON",
      "url": "https://github.com/orlandos-nl/BSON.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BSON",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "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": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/orlandos-nl/BSON.git
[1/5948] Fetching bson
Fetched https://github.com/orlandos-nl/BSON.git from cache (1.18s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.85s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.54s)
Fetched https://github.com/apple/swift-collections.git from cache (0.61s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.61s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/apple/swift-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/orlandos-nl/BSON.git
Working copy of https://github.com/orlandos-nl/BSON.git resolved at 8.1.2 (d918a5c)
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
warning: '.resolve-product-dependencies': dependency 'bson' is not used by any target
Found 1 product dependencies
  - swift-nio
========================================
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.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/18] Write sources
[6/18] Compiling CNIOWindows WSAStartup.c
[7/18] Compiling CNIOWASI CNIOWASI.c
[8/18] Compiling CNIOWindows shim.c
[9/18] Write sources
[11/18] Write swift-version--7754E27361AE5C74.txt
[12/18] Compiling CNIOLinux shim.c
[12/18] Compiling CNIOLinux liburing_shims.c
[14/38] Compiling _AtomicsShims.c
[15/61] Compiling CNIODarwin shim.c
[16/61] Compiling c-nioatomics.c
[17/61] Compiling c-atomics.c
[19/67] Compiling Atomics PointerConformances.swift
[20/67] Compiling Atomics Primitives.native.swift
[21/68] Compiling _NIOBase64 Base64.swift
[22/68] Emitting module _NIOBase64
[23/68] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/68] Compiling Atomics UnsafeAtomic.swift
[25/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[26/68] Compiling Atomics AtomicStorage.swift
[27/68] Compiling Atomics AtomicValue.swift
[30/70] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[31/70] Compiling Atomics ManagedAtomic.swift
[32/70] Compiling Atomics ManagedAtomicLazyReference.swift
[33/70] Compiling Atomics AtomicMemoryOrderings.swift
[34/70] Compiling Atomics DoubleWord.swift
[39/70] Compiling Atomics OptionalRawRepresentable.swift
[40/70] Compiling Atomics RawRepresentable.swift
[41/70] Compiling Atomics Primitives.shims.swift
[42/70] Compiling Atomics AtomicInteger.swift
[45/70] Emitting module InternalCollectionsUtilities
[46/70] Compiling Atomics AtomicOptionalWrappable.swift
[47/70] Compiling Atomics AtomicReference.swift
[48/70] Compiling Atomics IntegerOperations.swift
[49/70] Compiling Atomics Unmanaged extensions.swift
[50/86] Compiling DequeModule _DequeBufferHeader.swift
[51/86] Compiling DequeModule _DequeBuffer.swift
[52/86] Compiling DequeModule _DequeSlot.swift
[53/87] Compiling _NIODataStructures _TinyArray.swift
[54/87] Compiling _NIODataStructures PriorityQueue.swift
[55/87] Emitting module _NIODataStructures
[56/87] Compiling _NIODataStructures Heap.swift
[57/87] Compiling DequeModule _UnsafeWrappedBuffer.swift
[58/87] Compiling DequeModule Deque+Equatable.swift
[59/87] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[60/87] Compiling DequeModule Deque+Testing.swift
[61/87] Compiling DequeModule Deque._Storage.swift
[62/87] Compiling DequeModule Deque+Extras.swift
[63/87] Compiling DequeModule Deque+Hashable.swift
[64/87] Compiling DequeModule Deque+CustomReflectable.swift
[65/87] Compiling DequeModule Deque+Descriptions.swift
[66/87] Compiling DequeModule Deque._UnsafeHandle.swift
[67/87] Compiling DequeModule Deque.swift
[68/87] Compiling NIOConcurrencyHelpers lock.swift
[69/87] Compiling DequeModule Deque+Codable.swift
[70/87] Compiling DequeModule Deque+Collection.swift
[71/87] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[72/87] Compiling NIOConcurrencyHelpers NIOLock.swift
[73/87] Emitting module NIOConcurrencyHelpers
[74/87] Compiling NIOConcurrencyHelpers atomics.swift
[75/87] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[76/87] Emitting module DequeModule
[81/87] Compiling Atomics AtomicBool.swift
[82/87] Compiling Atomics IntegerConformances.swift
[83/87] Emitting module Atomics
[88/149] Compiling NIOCore GlobalSingletons.swift
[89/149] Compiling NIOCore IO.swift
[90/149] Compiling NIOCore IOData.swift
[91/149] Compiling NIOCore IPProtocol.swift
[92/149] Compiling NIOCore IntegerBitPacking.swift
[93/149] Compiling NIOCore IntegerTypes.swift
[94/149] Compiling NIOCore Interfaces.swift
[95/155] Compiling NIOCore NIOScheduledCallback.swift
[96/155] Compiling NIOCore NIOSendable.swift
[97/155] Compiling NIOCore PointerHelpers.swift
[98/155] Compiling NIOCore RecvByteBufferAllocator.swift
[99/155] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[100/155] Compiling NIOCore SocketAddresses.swift
[101/155] Compiling NIOCore SocketOptionProvider.swift
[102/155] Compiling NIOCore SystemCallHelpers.swift
[103/155] Compiling NIOCore TimeAmount+Duration.swift
[104/155] Compiling NIOCore TypeAssistedChannelHandler.swift
[105/155] Compiling NIOCore UniversalBootstrapSupport.swift
[106/155] Compiling NIOCore Utilities.swift
[107/155] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[108/155] Compiling NIOCore EventLoopFuture+Deprecated.swift
[109/155] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[110/155] Compiling NIOCore EventLoopFuture.swift
[111/155] Compiling NIOCore FileDescriptor.swift
[112/155] Compiling NIOCore FileHandle.swift
[113/155] Compiling NIOCore FileRegion.swift
[114/155] Compiling NIOCore Codec.swift
[115/155] Compiling NIOCore ConvenienceOptionSupport.swift
[116/155] Compiling NIOCore DeadChannel.swift
[117/155] Compiling NIOCore DispatchQueue+WithFuture.swift
[118/155] Compiling NIOCore EventLoop+Deprecated.swift
[119/155] Compiling NIOCore EventLoop+SerialExecutor.swift
[120/155] Compiling NIOCore EventLoop.swift
[121/155] Compiling NIOCore AddressedEnvelope.swift
[122/155] Compiling NIOCore AsyncAwaitSupport.swift
[123/155] Compiling NIOCore AsyncChannel.swift
[124/155] Compiling NIOCore AsyncChannelHandler.swift
[125/155] Compiling NIOCore AsyncChannelInboundStream.swift
[126/155] Compiling NIOCore AsyncChannelOutboundWriter.swift
[127/155] Compiling NIOCore NIOAsyncSequenceProducer.swift
[128/155] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[129/155] Compiling NIOCore NIOAsyncWriter.swift
[130/155] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[131/155] Compiling NIOCore BSDSocketAPI.swift
[132/155] Compiling NIOCore ByteBuffer-aux.swift
[133/155] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[134/155] Compiling NIOCore ByteBuffer-conversions.swift
[135/155] Compiling NIOCore Channel.swift
[136/155] Compiling NIOCore ChannelHandler.swift
[137/155] Compiling NIOCore ChannelHandlers.swift
[138/155] Compiling NIOCore ChannelInvoker.swift
[139/155] Compiling NIOCore ChannelOption.swift
[140/155] Compiling NIOCore ChannelPipeline.swift
[141/155] Compiling NIOCore CircularBuffer.swift
[142/155] Compiling NIOCore Linux.swift
[143/155] Compiling NIOCore MarkedCircularBuffer.swift
[144/155] Compiling NIOCore MulticastChannel.swift
[145/155] Compiling NIOCore NIOAny.swift
[146/155] Compiling NIOCore NIOCloseOnErrorHandler.swift
[147/155] Compiling NIOCore NIOLoopBound.swift
[148/155] Compiling NIOCore ByteBuffer-core.swift
[149/155] Compiling NIOCore ByteBuffer-hex.swift
[150/155] Compiling NIOCore ByteBuffer-int.swift
[151/155] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[152/155] Compiling NIOCore ByteBuffer-multi-int.swift
[153/155] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[154/155] Compiling NIOCore ByteBuffer-views.swift
[155/155] Emitting module NIOCore
[156/190] Emitting module BSON
[157/193] Compiling BSON ByteBuffer+Helpers.swift
[158/193] Compiling BSON AnyPrimitive.swift
[159/193] Compiling BSON Binary.swift
[160/193] Compiling BSON Decimal128.swift
[161/193] Compiling BSON JavaScript.swift
[162/193] Compiling BSON Null.swift
[163/193] Compiling BSON ObjectId.swift
[164/193] Compiling BSON Document+Equatable.swift
[165/193] Compiling BSON Document+Helpers.swift
[166/193] Compiling BSON Document+Mutations.swift
[167/193] Compiling BSON Document+Serialization.swift
[168/193] Compiling BSON Optional.swift
[169/193] Compiling BSON PrimitiveConvertible.swift
[170/193] Compiling BSON Primitives.swift
[171/193] Compiling BSON Document+Array.swift
[172/193] Compiling BSON Document+Cache.swift
[173/193] Compiling BSON Document+Collection.swift
[174/193] Compiling BSON Document+Dictionary.swift
[175/193] Compiling BSON Document+Subscripts.swift
[176/193] Compiling BSON Document+Validation.swift
[177/193] Compiling BSON Document.swift
[178/193] Compiling BSON DocumentSlice.swift
[179/193] Compiling BSON BSONEncoder.swift
[180/193] Compiling BSON BSONEncoderStrategies.swift
[181/193] Compiling BSON PrimitiveEncoding.swift
[182/193] Compiling BSON CustomDebugStringConvertible.swift
[183/193] Compiling BSON KeyedBSONDecodingContainer.swift
[184/193] Compiling BSON PrimitiveDecoding.swift
[185/193] Compiling BSON SingleValueBSONDecodingContainer.swift
[186/193] Compiling BSON UnkeyedBSONDecodingContainer.swift
[187/193] Compiling BSON Codable.swift
[188/193] Compiling BSON BSONDecoder.swift
[189/193] Compiling BSON BSONDecoderSettings.swift
[190/193] Compiling BSON FastBSONDecoder.swift
[191/193] Compiling BSON RegularExpression.swift
[192/193] Compiling BSON Timestamp.swift
[193/193] Compiling BSON TypeIdentifier.swift
Build complete! (35.76s)
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.