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 Linux on 5 Nov 2024 18:24:24 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/orlandos-nl/BSON.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (4.01s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/3901] Fetching swift-system
[3863/19376] Fetching swift-system, swift-collections
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
[1238/15475] Fetching swift-collections
[4195/17044] Fetching swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.67s)
[7583/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.07s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (1.29s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.19s)
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.76.1
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
Building for debugging...
[0/18] Write sources
[6/18] Compiling CNIOLinux liburing_shims.c
[7/18] Compiling CNIOWindows shim.c
[8/18] Compiling CNIOWASI CNIOWASI.c
[8/18] Write sources
[11/18] Compiling _AtomicsShims.c
[12/18] Compiling CNIODarwin shim.c
[13/18] Compiling CNIOWindows WSAStartup.c
[14/18] Compiling CNIOLinux shim.c
[15/18] Write swift-version-24593BA9C3E375BF.txt
[16/60] Compiling c-nioatomics.c
[17/60] Compiling c-atomics.c
[19/66] Emitting module Atomics
[20/68] Emitting module _NIOBase64
[21/68] Compiling _NIOBase64 Base64.swift
[23/69] Compiling Atomics IntegerOperations.swift
[24/69] Compiling Atomics Unmanaged extensions.swift
[25/69] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[26/69] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[27/69] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[28/69] Emitting module InternalCollectionsUtilities
[29/69] Compiling Atomics ManagedAtomic.swift
[30/69] Compiling Atomics ManagedAtomicLazyReference.swift
[31/69] Compiling InternalCollectionsUtilities Debugging.swift
[32/69] Compiling InternalCollectionsUtilities Descriptions.swift
[33/71] Compiling InternalCollectionsUtilities _SortedCollection.swift
[34/71] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[37/71] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[38/71] Compiling InternalCollectionsUtilities Specialize.swift
[39/71] Compiling InternalCollectionsUtilities Integer rank.swift
[40/71] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[41/71] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[42/71] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[47/71] Compiling _NIODataStructures PriorityQueue.swift
[48/71] Compiling _NIODataStructures _TinyArray.swift
[49/71] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[52/71] Compiling InternalCollectionsUtilities UInt+reversed.swift
[53/71] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[63/72] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[64/72] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[66/78] Emitting module _NIODataStructures
[67/82] Compiling _NIODataStructures Heap.swift
[68/89] Compiling NIOConcurrencyHelpers lock.swift
[69/89] Compiling NIOConcurrencyHelpers NIOLock.swift
[70/89] Emitting module NIOConcurrencyHelpers
[72/89] Compiling NIOConcurrencyHelpers atomics.swift
[73/89] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[74/89] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[76/90] Compiling DequeModule _DequeBuffer.swift
[77/90] Compiling DequeModule _DequeBufferHeader.swift
[78/92] Compiling DequeModule Deque+Equatable.swift
[79/92] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[80/92] Compiling DequeModule Deque+CustomReflectable.swift
[81/92] Compiling DequeModule Deque+Descriptions.swift
[82/92] Compiling DequeModule Deque+Extras.swift
[83/92] Compiling DequeModule Deque+Hashable.swift
[84/92] Compiling DequeModule _DequeSlot.swift
[85/92] Compiling DequeModule _UnsafeWrappedBuffer.swift
[86/92] Compiling DequeModule Deque._UnsafeHandle.swift
[87/92] Compiling DequeModule Deque.swift
[88/92] Compiling DequeModule Deque+Testing.swift
[89/92] Compiling DequeModule Deque._Storage.swift
[90/92] Compiling DequeModule Deque+Codable.swift
[91/92] Compiling DequeModule Deque+Collection.swift
[92/92] Emitting module DequeModule
[94/153] Compiling NIOCore MulticastChannel.swift
[95/153] Compiling NIOCore NIOAny.swift
[96/153] Compiling NIOCore NIOCloseOnErrorHandler.swift
[97/153] Compiling NIOCore NIOLoopBound.swift
[98/153] Compiling NIOCore NIOScheduledCallback.swift
[99/153] Compiling NIOCore NIOSendable.swift
[100/153] Compiling NIOCore PointerHelpers.swift
[101/153] Compiling NIOCore RecvByteBufferAllocator.swift
[102/161] Compiling NIOCore IO.swift
[103/161] Compiling NIOCore IOData.swift
[104/161] Compiling NIOCore IPProtocol.swift
[105/161] Compiling NIOCore IntegerBitPacking.swift
[106/161] Compiling NIOCore IntegerTypes.swift
[107/161] Compiling NIOCore Interfaces.swift
[108/161] Compiling NIOCore Linux.swift
[109/161] Compiling NIOCore MarkedCircularBuffer.swift
[110/161] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[111/161] Compiling NIOCore EventLoopFuture+Deprecated.swift
[112/161] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[113/161] Compiling NIOCore EventLoopFuture.swift
[114/161] Compiling NIOCore FileDescriptor.swift
[115/161] Compiling NIOCore FileHandle.swift
[116/161] Compiling NIOCore FileRegion.swift
[117/161] Compiling NIOCore GlobalSingletons.swift
[118/161] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[119/161] Compiling NIOCore SocketAddresses.swift
[120/161] Compiling NIOCore SocketOptionProvider.swift
[121/161] Compiling NIOCore SystemCallHelpers.swift
[122/161] Compiling NIOCore TimeAmount+Duration.swift
[123/161] Compiling NIOCore TypeAssistedChannelHandler.swift
[124/161] Compiling NIOCore UniversalBootstrapSupport.swift
[125/161] Compiling NIOCore Utilities.swift
[126/161] Compiling NIOCore CircularBuffer.swift
[127/161] Compiling NIOCore Codec.swift
[128/161] Compiling NIOCore ConvenienceOptionSupport.swift
[129/161] Compiling NIOCore DeadChannel.swift
[130/161] Compiling NIOCore DispatchQueue+WithFuture.swift
[131/161] Compiling NIOCore EventLoop+Deprecated.swift
[132/161] Compiling NIOCore EventLoop+SerialExecutor.swift
[133/161] Compiling NIOCore EventLoop.swift
[134/161] Compiling NIOCore AddressedEnvelope.swift
[135/161] Compiling NIOCore AsyncAwaitSupport.swift
[136/161] Compiling NIOCore AsyncChannel.swift
[137/161] Compiling NIOCore AsyncChannelHandler.swift
[138/161] Compiling NIOCore AsyncChannelInboundStream.swift
[139/161] Compiling NIOCore AsyncChannelOutboundWriter.swift
[140/161] Compiling NIOCore NIOAsyncSequenceProducer.swift
[141/161] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[142/161] Compiling NIOCore NIOAsyncWriter.swift
[143/161] Compiling NIOCore ByteBuffer-multi-int.swift
[144/161] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[145/161] Compiling NIOCore ByteBuffer-views.swift
[146/161] Compiling NIOCore Channel.swift
[147/161] Compiling NIOCore ChannelHandler.swift
[148/161] Compiling NIOCore ChannelHandlers.swift
[149/161] Compiling NIOCore ChannelInvoker.swift
[150/161] Compiling NIOCore ChannelOption.swift
[151/161] Compiling NIOCore ChannelPipeline.swift
[152/161] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[153/161] Compiling NIOCore BSDSocketAPI.swift
[154/161] Compiling NIOCore ByteBuffer-aux.swift
[155/161] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[156/161] Compiling NIOCore ByteBuffer-conversions.swift
[157/161] Compiling NIOCore ByteBuffer-core.swift
[158/161] Compiling NIOCore ByteBuffer-hex.swift
[159/161] Compiling NIOCore ByteBuffer-int.swift
[160/161] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[161/161] Emitting module NIOCore
[163/196] Compiling BSON AnyPrimitive.swift
[164/196] Compiling BSON Binary.swift
[165/196] Compiling BSON Decimal128.swift
[166/196] Compiling BSON JavaScript.swift
[167/200] Compiling BSON Document+Subscripts.swift
[168/200] Compiling BSON Document+Validation.swift
[169/200] Compiling BSON Document.swift
[170/200] Compiling BSON DocumentSlice.swift
[171/200] Compiling BSON ByteBuffer+Helpers.swift
[172/200] Compiling BSON Null.swift
[173/200] Compiling BSON ObjectId.swift
[174/200] Compiling BSON Optional.swift
[175/200] Compiling BSON PrimitiveConvertible.swift
[176/200] Compiling BSON Document+Dictionary.swift
[177/200] Compiling BSON Document+Equatable.swift
[178/200] Compiling BSON Document+Helpers.swift
[179/200] Compiling BSON Document+Mutations.swift
[180/200] Compiling BSON Document+Serialization.swift
[181/200] Compiling BSON PrimitiveDecoding.swift
[182/200] Compiling BSON SingleValueBSONDecodingContainer.swift
[183/200] Compiling BSON UnkeyedBSONDecodingContainer.swift
[184/200] Compiling BSON BSONEncoder.swift
[185/200] Compiling BSON BSONEncoderStrategies.swift
[186/200] Compiling BSON PrimitiveEncoding.swift
[187/200] Compiling BSON CustomDebugStringConvertible.swift
[188/200] Compiling BSON Document+Array.swift
[189/200] Compiling BSON Document+Cache.swift
[190/200] Compiling BSON Document+Collection.swift
[191/200] Emitting module BSON
[192/200] Compiling BSON Codable.swift
[193/200] Compiling BSON BSONDecoder.swift
[194/200] Compiling BSON BSONDecoderSettings.swift
[195/200] Compiling BSON FastBSONDecoder.swift
[196/200] Compiling BSON KeyedBSONDecodingContainer.swift
[197/200] Compiling BSON Primitives.swift
[198/200] Compiling BSON RegularExpression.swift
[199/200] Compiling BSON Timestamp.swift
[200/200] Compiling BSON TypeIdentifier.swift
Build complete! (97.91s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.