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 (caa0fa), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 18:32:52 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: 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 caa0faa Create FUNDING.yml
Cloned https://github.com/orlandos-nl/BSON.git
Revision (git rev-parse @):
caa0faaa397c3a6ff24220408cb18e32a05f6674
SUCCESS checkout https://github.com/orlandos-nl/BSON.git at main
Fetching https://github.com/apple/swift-nio.git
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.11s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (3.67s)
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
[119/5470] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.61s)
Fetched https://github.com/apple/swift-system.git from cache (1.61s)
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.82s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.46s)
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-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.74s)
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
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
========================================
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.17s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.74s)
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-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
Fetched https://github.com/apple/swift-system.git from cache (0.57s)
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
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.02s)
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-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/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/orlandos-nl/BSON.git
Working copy of https://github.com/orlandos-nl/BSON.git resolved at main (caa0faa)
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] Write swift-version--7754E27361AE5C74.txt
[7/18] Write sources
[8/18] Compiling CNIOWindows shim.c
[9/18] Compiling CNIOWASI CNIOWASI.c
[9/18] Compiling CNIOWindows WSAStartup.c
[11/18] Write sources
[12/18] Compiling CNIOLinux shim.c
[13/18] Compiling CNIOLinux liburing_shims.c
[14/37] 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 ManagedAtomic.swift
[20/67] Compiling Atomics ManagedAtomicLazyReference.swift
[21/67] Compiling Atomics UnsafeAtomic.swift
[22/67] Compiling Atomics UnsafeAtomicLazyReference.swift
[23/67] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[24/68] Compiling Atomics AtomicOptionalWrappable.swift
[25/68] Compiling Atomics AtomicReference.swift
[26/68] Emitting module _NIOBase64
[27/68] Compiling _NIOBase64 Base64.swift
[30/68] Compiling Atomics AtomicMemoryOrderings.swift
[31/68] Compiling Atomics DoubleWord.swift
[34/68] Compiling Atomics AtomicStorage.swift
[35/68] Compiling Atomics AtomicValue.swift
[36/70] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[37/70] Compiling Atomics Primitives.shims.swift
[38/70] Compiling Atomics AtomicInteger.swift
[39/70] Compiling Atomics PointerConformances.swift
[40/70] Compiling Atomics Primitives.native.swift
[41/70] Emitting module InternalCollectionsUtilities
[42/70] Compiling Atomics AtomicBool.swift
[43/70] Compiling Atomics IntegerConformances.swift
[46/70] Compiling Atomics OptionalRawRepresentable.swift
[47/70] Compiling Atomics RawRepresentable.swift
[48/86] Compiling DequeModule Deque._UnsafeHandle.swift
[49/86] Compiling DequeModule Deque.swift
[50/86] Compiling DequeModule Deque+Testing.swift
[51/86] Compiling DequeModule Deque._Storage.swift
[52/86] Compiling Atomics IntegerOperations.swift
[53/86] Compiling Atomics Unmanaged extensions.swift
[54/86] Compiling DequeModule _DequeBuffer.swift
[55/86] Compiling DequeModule _DequeBufferHeader.swift
[56/86] Compiling DequeModule _DequeSlot.swift
[57/87] Compiling _NIODataStructures PriorityQueue.swift
[58/87] Compiling _NIODataStructures Heap.swift
[59/87] Emitting module _NIODataStructures
[60/87] Compiling _NIODataStructures _TinyArray.swift
[61/87] Compiling DequeModule _UnsafeWrappedBuffer.swift
[62/87] Compiling DequeModule Deque+Equatable.swift
[63/87] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[66/87] Compiling DequeModule Deque+CustomReflectable.swift
[67/87] Compiling DequeModule Deque+Descriptions.swift
[68/87] Compiling DequeModule Deque+Extras.swift
[69/87] Compiling DequeModule Deque+Hashable.swift
[72/87] Emitting module NIOConcurrencyHelpers
[73/87] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[74/87] Compiling NIOConcurrencyHelpers lock.swift
[75/87] Compiling NIOConcurrencyHelpers atomics.swift
[76/87] Compiling NIOConcurrencyHelpers NIOLock.swift
[77/87] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[78/87] Compiling DequeModule Deque+Codable.swift
[79/87] Compiling DequeModule Deque+Collection.swift
[80/87] Emitting module DequeModule
[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 AddressedEnvelope.swift
[102/155] Compiling NIOCore AsyncAwaitSupport.swift
[103/155] Compiling NIOCore AsyncChannel.swift
[104/155] Compiling NIOCore AsyncChannelHandler.swift
[105/155] Compiling NIOCore AsyncChannelInboundStream.swift
[106/155] Compiling NIOCore AsyncChannelOutboundWriter.swift
[107/155] Compiling NIOCore NIOAsyncSequenceProducer.swift
[108/155] Compiling NIOCore SocketOptionProvider.swift
[109/155] Compiling NIOCore SystemCallHelpers.swift
[110/155] Compiling NIOCore TimeAmount+Duration.swift
[111/155] Compiling NIOCore TypeAssistedChannelHandler.swift
[112/155] Compiling NIOCore UniversalBootstrapSupport.swift
[113/155] Compiling NIOCore Utilities.swift
[114/155] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[115/155] Compiling NIOCore EventLoopFuture+Deprecated.swift
[116/155] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[117/155] Compiling NIOCore EventLoopFuture.swift
[118/155] Compiling NIOCore FileDescriptor.swift
[119/155] Compiling NIOCore FileHandle.swift
[120/155] Compiling NIOCore FileRegion.swift
[121/155] Compiling NIOCore Codec.swift
[122/155] Compiling NIOCore ConvenienceOptionSupport.swift
[123/155] Compiling NIOCore DeadChannel.swift
[124/155] Compiling NIOCore DispatchQueue+WithFuture.swift
[125/155] Compiling NIOCore EventLoop+Deprecated.swift
[126/155] Compiling NIOCore EventLoop+SerialExecutor.swift
[127/155] Compiling NIOCore EventLoop.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 Linux.swift
[136/155] Compiling NIOCore MarkedCircularBuffer.swift
[137/155] Compiling NIOCore MulticastChannel.swift
[138/155] Compiling NIOCore NIOAny.swift
[139/155] Compiling NIOCore NIOCloseOnErrorHandler.swift
[140/155] Compiling NIOCore NIOLoopBound.swift
[141/155] Compiling NIOCore Channel.swift
[142/155] Compiling NIOCore ChannelHandler.swift
[143/155] Compiling NIOCore ChannelHandlers.swift
[144/155] Compiling NIOCore ChannelInvoker.swift
[145/155] Compiling NIOCore ChannelOption.swift
[146/155] Compiling NIOCore ChannelPipeline.swift
[147/155] Compiling NIOCore CircularBuffer.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 Document+Subscripts.swift
[158/193] Compiling BSON Document+Validation.swift
[159/193] Compiling BSON Document.swift
[160/193] Compiling BSON DocumentSlice.swift
[161/193] Compiling BSON ByteBuffer+Helpers.swift
[162/193] Compiling BSON AnyPrimitive.swift
[163/193] Compiling BSON Binary.swift
[164/193] Compiling BSON Decimal128.swift
[165/193] Compiling BSON KeyedBSONDecodingContainer.swift
[166/193] Compiling BSON PrimitiveDecoding.swift
[167/193] Compiling BSON SingleValueBSONDecodingContainer.swift
[168/193] Compiling BSON UnkeyedBSONDecodingContainer.swift
[169/193] Compiling BSON JavaScript.swift
[170/193] Compiling BSON Null.swift
[171/193] Compiling BSON ObjectId.swift
[172/193] Compiling BSON Optional.swift
[173/193] Compiling BSON PrimitiveConvertible.swift
[174/193] Compiling BSON Primitives.swift
[175/193] Compiling BSON BSONEncoder.swift
[176/193] Compiling BSON BSONEncoderStrategies.swift
[177/193] Compiling BSON PrimitiveEncoding.swift
[178/193] Compiling BSON CustomDebugStringConvertible.swift
[179/193] Compiling BSON Document+Equatable.swift
[180/193] Compiling BSON Document+Helpers.swift
[181/193] Compiling BSON Document+Mutations.swift
[182/193] Compiling BSON Document+Serialization.swift
[183/193] Compiling BSON Document+Array.swift
[184/193] Compiling BSON Document+Cache.swift
[185/193] Compiling BSON Document+Collection.swift
[186/193] Compiling BSON Document+Dictionary.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! (36.47s)
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.