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 Linux on 18 Sep 2026 05:33:55 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /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/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:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mongodb/swift-bson.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
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
Fetching https://github.com/Quick/Nimble.git
[1/954] Fetching swift-extras-base64
[21/2048] Fetching swift-extras-base64, swift-extras-json
[2049/22034] Fetching swift-extras-base64, swift-extras-json, nimble
[6646/108056] Fetching swift-extras-base64, swift-extras-json, nimble, swift-nio
Fetched https://github.com/Quick/Nimble.git (1.13s)
[38178/88070] Fetching swift-extras-base64, swift-extras-json, swift-nio
Fetched https://github.com/swift-extras/swift-extras-base64 (2.72s)
Fetched https://github.com/swift-extras/swift-extras-json (2.72s)
Fetched https://github.com/apple/swift-nio (2.76s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (2.94s)
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.17s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.18s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.103.0 (0.34s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1875] Fetching swift-atomics
[1876/8773] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git (0.63s)
[1/27279] Fetching swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.17s)
Fetched https://github.com/apple/swift-collections.git (1.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.28s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.20s)
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-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
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-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-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.103.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/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 718]
[Planning deferred tasks]
[6 / 248] NIO-product
[148 / 289] InternalCollectionsUtilities
[149 / 289] _NIOBase64
[152 / 289] _NIOBase64
[166 / 289] InternalCollectionsUtilities
[178 / 289] _NIODataStructures
[186 / 290] NIOConcurrencyHelpers
[190 / 290] InternalCollectionsUtilities
[193 / 290] InternalCollectionsUtilities
[200 / 291] _NIODataStructures
[206 / 292] ExtrasJSON
[208 / 292] ExtrasBase64
[218 / 293] CNIOPosix
[231 / 304] Atomics
[237 / 313] ContainersPreview
[242 / 314] ContainersPreview
[252 / 314] ExtrasJSON
[257 / 315] Atomics
[259 / 315] Atomics
[261 / 315] ContainersPreview
[264 / 325] DequeModule
[266 / 325] DequeModule
[268 / 325] ExtrasBase64
[270 / 326] ExtrasBase64
[273 / 326] ExtrasBase64
[275 / 326] ExtrasBase64
[276 / 326] DequeModule
[281 / 326] DequeModule
[282 / 327] Atomics
[284 / 327] DequeModule
[284 / 328] DequeModule
[302 / 338] NIOCore
[302 / 338] DequeModule
[302 / 338] NIOCore
[302 / 339] NIOCore
[320 / 354] NIOPosix
[320 / 354] NIOEmbedded
[321 / 354] NIOEmbedded
[329 / 354] NIOPosix
[330 / 355] NIOEmbedded
[333 / 355] NIOPosix
[347 / 359]
[353 / 369] SwiftBSON
[355 / 369] SwiftBSON
[357 / 369] SwiftBSON
[358 / 370] SwiftBSON
/host/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>
[359 / 370] NIOPosix
[366 / 370] SwiftBSON-product
[367 / 370] SwiftBSON
/host/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
/host/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>
/host/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! (20.39 secs)
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" : "/host/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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.