Build Information
Successful build of swift-bson, reference main (3b9a8d), with Swift 6.4 for Wasm on 18 Sep 2026 05:33:52 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build 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 /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
* 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: wasm
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-53886769-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/swift-extras/swift-extras-base64
Fetching https://github.com/swift-extras/swift-extras-json
[1/954] Fetching swift-extras-base64
[879/2048] Fetching swift-extras-base64, swift-extras-json
Fetched https://github.com/swift-extras/swift-extras-base64 (0.50s)
Fetched https://github.com/swift-extras/swift-extras-json (0.50s)
[1/19986] Fetching nimble
[10394/106008] Fetching nimble, swift-nio
Fetched https://github.com/Quick/Nimble (1.18s)
[33549/86022] Fetching swift-nio
Fetched https://github.com/apple/swift-nio (2.96s)
Computing version for https://github.com/swift-extras/swift-extras-base64
Computed https://github.com/swift-extras/swift-extras-base64 at 0.5.0 (3.15s)
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
Computed https://github.com/Quick/Nimble 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-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1875] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.55s)
[1/6898] Fetching swift-system
[6279/34177] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (0.66s)
[5456/27279] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.37s)
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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
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/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.103.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/swift-extras/swift-extras-json
Working copy of https://github.com/swift-extras/swift-extras-json resolved at 0.6.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 602]
[Planning deferred tasks]
[10 / 184] _AtomicsShims
[106 / 225] ExtrasJSON
[106 / 225] _NIODataStructures
[120 / 225] CNIOWASI
[127 / 225] ExtrasJSON
[138 / 225] NIOConcurrencyHelpers-product
[139 / 225] _NIODataStructures
[142 / 225] ExtrasBase64
[146 / 225] NIOConcurrencyHelpers
[151 / 225] InternalCollectionsUtilities
[156 / 226] InternalCollectionsUtilities
[158 / 227] _NIOBase64
[166 / 228] InternalCollectionsUtilities
[169 / 228] ExtrasJSON
[171 / 228] ExtrasJSON
[171 / 228] ExtrasBase64
[177 / 229] CNIOOpenBSD
[188 / 239] _NIOBase64
[196 / 240] InternalCollectionsUtilities
[199 / 240] Atomics
[200 / 240]
[204 / 250] ContainersPreview
[207 / 250] ContainersPreview
[218 / 251]
[225 / 261] DequeModule
[226 / 262] ExtrasBase64
[231 / 262] ExtrasBase64
[233 / 262] DequeModule
[238 / 262] DequeModule
[238 / 262] Atomics
[241 / 263] DequeModule
[259 / 274] NIOCore
[273 / 284] SwiftBSON
[274 / 285] SwiftBSON
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: [1;33mwarning: [1;39m'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m159 |[0;0m
[0;36m160 |[0;0m /// Increment counter is only 3 bytes of the ObjectID
[0;36m161 |[0;0m internal var counter: NIOAtomic<UInt32>
[0;36m|[0;0m `- [1;33mwarning: [1;39m'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m162 |[0;0m
[0;36m163 |[0;0m private static let COUNTER_MAX: UInt32 = 0xFFFFFF
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[275 / 285] SwiftBSON
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:161:27: [1;33mwarning: [1;39m'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m159 |[0;0m
[0;36m160 |[0;0m /// Increment counter is only 3 bytes of the ObjectID
[0;36m161 |[0;0m internal var counter: NIOAtomic<UInt32>
[0;36m|[0;0m `- [1;33mwarning: [1;39m'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m162 |[0;0m
[0;36m163 |[0;0m private static let COUNTER_MAX: UInt32 = 0xFFFFFF
/host/spi-builder-workspace/Sources/SwiftBSON/BSONObjectID.swift:172:24: [1;33mwarning: [1;39m'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m170 |[0;0m )[0..<5])
[0;36m171 |[0;0m // 3 byte counter started randomly per process
[0;36m172 |[0;0m self.counter = NIOAtomic<UInt32>.makeAtomic(value: UInt32.random(in: 0...ObjectIDGenerator.COUNTER_MAX))
[0;36m|[0;0m `- [1;33mwarning: [1;39m'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m173 |[0;0m }
[0;36m174 |[0;0m
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[282 / 285] SwiftBSON
/host/spi-builder-workspace/Sources/SwiftBSON/BSONEncoder.swift:498:20: [1;33mwarning: [1;39m'init(base64Encoding:)' is deprecated: This API was unintentionally made public.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m496 |[0;0m return try BSONBinary(data: data, subtype: .generic)
[0;36m497 |[0;0m case .base64:
[0;36m498 |[0;0m return String(base64Encoding: data)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init(base64Encoding:)' is deprecated: This API was unintentionally made public.[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m499 |[0;0m case let .custom(f):
[0;36m500 |[0;0m return try self.handleCustomStrategy(encodeFunc: f, forValue: data)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (16.82 secs)
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" : "/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" : [
"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"
}
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Done.