The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-bson, reference v3.1.0 (d18d97), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 05:50:04 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: v3.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mongodb/swift-bson
 * tag               v3.1.0     -> FETCH_HEAD
HEAD is now at d18d979 Update README for 3.1.0
Cloned https://github.com/mongodb/swift-bson.git
Revision (git rev-parse @):
d18d9798987b737a7162ce6678da18561b5c629a
SUCCESS checkout https://github.com/mongodb/swift-bson.git at v3.1.0
========================================
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 / 747]
[Planning deferred tasks]
[140 / 288] swift-nio_NIOPosix
[142 / 288]
[159 / 295] _AtomicsShims
[165 / 314] CNIOLinux
[177 / 359] CNIOFreeBSD
[196 / 398]
[207 / 406]
[228 / 406]
[245 / 406] _AtomicsShims
[256 / 406] _AtomicsShims
[267 / 406] ExtrasBase64
[275 / 406] InternalCollectionsUtilities
[279 / 406] ExtrasJSON
[287 / 406] ExtrasJSON
[292 / 406] _NIODataStructures
[297 / 406] NIOConcurrencyHelpers
[301 / 406] _NIODataStructures
[322 / 406] ContainersPreview
[335 / 408]
[341 / 408] CNIOAtomics
[346 / 409] ContainersPreview
[352 / 420] ContainersPreview
[360 / 420] ContainersPreview
[368 / 421] DequeModule
[377 / 432] DequeModule
[378 / 432] DequeModule
[381 / 432] DequeModule
[390 / 433] NIOCore
[393 / 450]
[395 / 450]
[405 / 450] NIOCore
[407 / 450] NIOCore
[409 / 450] NIOCore
[419 / 452] NIOEmbedded
[423 / 456] NIOPosix
[440 / 485] NIOEmbedded
[441 / 485]
[446 / 485]
[448 / 485]
[449 / 485]
[460 / 485] NIOPosix
[467 / 486] NIOPosix
[469 / 488] NIO
[477 / 489] NIOPosix
[477 / 489] SwiftBSON
[487 / 529]
[490 / 529]
[495 / 529]
[497 / 529]
[500 / 529]
[503 / 529]
[504 / 529]
[505 / 529]
[506 / 529] NIOPosix
[520 / 529] SwiftBSON
[526 / 529] SwiftBSON
Build complete! (17.69 sec)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/swift-extras/swift-extras-json
Fetching https://github.com/apple/swift-nio
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
[3049/108056] Fetching swift-extras-json, swift-extras-base64, nimble, swift-nio
Fetched https://github.com/Quick/Nimble.git (2.69s)
[6350/88070] Fetching swift-extras-json, swift-extras-base64, swift-nio
Fetched https://github.com/swift-extras/swift-extras-json (19.71s)
Fetched https://github.com/swift-extras/swift-extras-base64 (19.71s)
Fetched https://github.com/apple/swift-nio (19.71s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (20.43s)
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.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.68s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.103.0 (0.68s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[95/8773] Fetching swift-atomics, swift-system
[2261/36052] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (3.06s)
Fetched https://github.com/apple/swift-system.git (3.06s)
Fetched https://github.com/apple/swift-collections.git (3.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (3.65s)
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.57s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.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.8.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/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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.103.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
/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/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/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.16.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.git"
    }
  ],
  "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" : [
        "NIO",
        "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.1"
}
Done.