The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-bson, reference main (3b9a8d), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 05:49:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mongodb/swift-bson.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mongodb/swift-bson
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3b9a8d2 Update README.md (#92)
Cloned https://github.com/mongodb/swift-bson.git
Revision (git rev-parse @):
3b9a8d2f9f24846c8285e643acd542404ae4cc7e
SUCCESS checkout https://github.com/mongodb/swift-bson.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mongodb/swift-bson.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 602]
[Planning deferred tasks]
[107 / 226]
[125 / 233] CNIOWindows
[133 / 263] CNIOWASI
[151 / 308]
[163 / 334]
[177 / 334] _NIOBase64
[189 / 334] ExtrasJSON
[211 / 334] Atomics
[218 / 334] ExtrasBase64
[228 / 334] InternalCollectionsUtilities
[234 / 334] ExtrasJSON
[240 / 334] ExtrasJSON
[247 / 334] NIOConcurrencyHelpers
[252 / 334] NIOConcurrencyHelpers
[255 / 334] NIOConcurrencyHelpers
[268 / 334] Atomics
[282 / 346]
[296 / 346] NIOConcurrencyHelpers
[301 / 346] _NIODataStructures
[310 / 347] ContainersPreview
[318 / 358] ContainersPreview
[328 / 359] ContainersPreview
[336 / 370] DequeModule
[339 / 370] DequeModule
[343 / 370] DequeModule
[352 / 371] NIOCore
[355 / 388]
[357 / 388]
[367 / 388] NIOCore
[369 / 388] NIOCore
[369 / 388] CNIOAtomics
[369 / 388] NIOCore
[369 / 388] CNIOAtomics
[371 / 388] NIOCore
[380 / 389] SwiftBSON
[387 / 424]
[389 / 424]
[393 / 424]
[395 / 424]
[398 / 424]
[401 / 424]
[403 / 424]
[404 / 424]
[415 / 424] SwiftBSON
[421 / 424] SwiftBSON
[424 / 424] SwiftBSON-product
Build complete! (15.00 sec)
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/swift-extras/swift-extras-base64
[1/1094] Fetching swift-extras-json
[12/2048] Fetching swift-extras-json, swift-extras-base64
[2049/22034] Fetching swift-extras-json, swift-extras-base64, nimble
[2449/108056] Fetching swift-extras-json, swift-extras-base64, nimble, swift-nio
Fetched https://github.com/swift-extras/swift-extras-base64 (6.90s)
Fetched https://github.com/swift-extras/swift-extras-json (6.90s)
Fetched https://github.com/Quick/Nimble (6.90s)
Fetched https://github.com/apple/swift-nio (6.90s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (7.59s)
Computing version for https://github.com/swift-extras/swift-extras-json
Computed https://github.com/swift-extras/swift-extras-json at 0.6.0 (0.66s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 8.1.2 (0.67s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.103.0 (0.69s)
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/1875] Fetching swift-atomics
[76/8773] Fetching swift-atomics, swift-system
[1429/36052] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.38s)
Fetched https://github.com/apple/swift-system.git (1.38s)
[4365/27279] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (3.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.58s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.103.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.6.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.3.1
Creating working copy for https://github.com/swift-extras/swift-extras-base64
Working copy of https://github.com/swift-extras/swift-extras-base64 resolved at 0.5.0
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 8.1.2
Creating working copy for https://github.com/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
159 |
160 |     /// Increment counter is only 3 bytes of the ObjectID
161 |     internal var counter: NIOAtomic<UInt32>
    |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
162 |
163 |     private static let COUNTER_MAX: UInt32 = 0xFFFFFF
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
159 |
160 |     /// Increment counter is only 3 bytes of the ObjectID
161 |     internal var counter: NIOAtomic<UInt32>
    |                           `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
162 |
163 |     private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
170 |         )[0..<5])
171 |         // 3 byte counter started randomly per process
172 |         self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
    |                        `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
173 |     }
174 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftBSON/BSONEncoder.swift:498:20: warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
496 |             return try BSONBinary(data: data, subtype: .generic)
497 |         case .base64:
498 |             return String(base64Encoding: data)
    |                    `- warning: 'init(base64Encoding:)' is deprecated: This API was unintentionally made public. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
499 |         case let .custom(f):
500 |             return try self.handleCustomStrategy(encodeFunc: f, forValue: data)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.32.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio"
    },
    {
      "identity" : "swift-extras-json",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.0",
            "upper_bound" : "0.7.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-extras/swift-extras-json"
    },
    {
      "identity" : "swift-extras-base64",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "0.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-extras/swift-extras-base64"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.0.0",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    }
  ],
  "manifest_display_name" : "swift-bson",
  "name" : "swift-bson",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftBSON",
      "targets" : [
        "SwiftBSON"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBSONTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBSONTests",
      "path" : "Tests/SwiftBSONTests",
      "product_dependencies" : [
        "Nimble",
        "ExtrasJSON"
      ],
      "sources" : [
        "BSONCorpusTests.swift",
        "BSONDocument+CollectionTests.swift",
        "BSONDocument+SequenceTests.swift",
        "BSONDocumentIteratorTests.swift",
        "BSONObjectIDTests.swift",
        "BSONTests.swift",
        "BSONValueTests.swift",
        "CodecTests.swift",
        "CommonTestUtils.swift",
        "DocumentTests.swift",
        "ExtendedJSONConversionTests.swift",
        "JSONTests.swift",
        "LeakCheckTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBSON"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBSON",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBSON",
      "path" : "Sources/SwiftBSON",
      "product_dependencies" : [
        "NIOCore",
        "NIOConcurrencyHelpers",
        "ExtrasJSON",
        "ExtrasBase64"
      ],
      "product_memberships" : [
        "SwiftBSON"
      ],
      "sources" : [
        "Array+BSONValue.swift",
        "BSON.swift",
        "BSONBinary.swift",
        "BSONCode.swift",
        "BSONDBPointer.swift",
        "BSONDecimal128.swift",
        "BSONDecoder.swift",
        "BSONDocument+Collection.swift",
        "BSONDocument+Sequence.swift",
        "BSONDocument.swift",
        "BSONDocumentIterator.swift",
        "BSONEncoder.swift",
        "BSONError.swift",
        "BSONNulls.swift",
        "BSONObjectID.swift",
        "BSONRegularExpression.swift",
        "BSONSymbol.swift",
        "BSONTimestamp.swift",
        "BSONValue.swift",
        "Bool+BSONValue.swift",
        "ByteBuffer+BSON.swift",
        "CodableNumber.swift",
        "CodingStrategies.swift",
        "Date+BSONValue.swift",
        "Double+BSONValue.swift",
        "ExtendedJSONDecoder.swift",
        "ExtendedJSONEncoder.swift",
        "Integers+BSONValue.swift",
        "JSON.swift",
        "String+BSONValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.