The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BSON, reference 8.2.2 (aaaa20), with Swift 6.4 for Wasm on 24 Sep 2026 18:03:44 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/BSON.git
Reference: 8.2.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.2.2      -> FETCH_HEAD
HEAD is now at aaaa20d Merge pull request #89 from gulivero1773/main
Cloned https://github.com/orlandos-nl/BSON.git
Revision (git rev-parse @):
aaaa20dedb5c1bc1beead3d45d2eb1a5db62678d
SUCCESS checkout https://github.com/orlandos-nl/BSON.git at 8.2.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/orlandos-nl/BSON.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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/apple/swift-nio.git
[1/86091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (4.13s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (4.47s)
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/1881] Fetching swift-atomics
[585/8797] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (0.59s)
[6225/6916] Fetching swift-system
[6917/34618] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (1.56s)
Fetched https://github.com/apple/swift-collections.git (1.57s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.29s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 541]
[Planning deferred tasks]
[80 / 162]
[97 / 186] InternalCollectionsUtilities
[98 / 186] _NIOBase64
[108 / 186] NIOConcurrencyHelpers
[109 / 186] InternalCollectionsUtilities
[121 / 186] NIOConcurrencyHelpers
[122 / 186] NIOConcurrencyHelpers
[124 / 186] InternalCollectionsUtilities
[129 / 187] _NIOBase64
[137 / 189]
[146 / 194] SpanPreview
[159 / 197] Atomics
[168 / 215] DequeModule
[169 / 215] DequeModule
[170 / 215] DequeModule
[172 / 215] DequeModule
[174 / 216] CNIOAtomics
[178 / 216] InternalCollectionsUtilities
[181 / 216] Atomics
[183 / 216] Atomics
[184 / 216] Atomics
[185 / 216]
[187 / 216] Atomics
[192 / 216] Atomics
[195 / 217] DequeModule
[204 / 219] DequeModule
[213 / 228] NIOCore
[213 / 229] NIOCore
/host/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:46:54: warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
 44 | }
 45 |
 46 | extension Data: BSONPrimitiveConvertible, @unchecked Sendable {
    |                                                      `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
 47 |     init(primitive: Primitive?) throws {
 48 |         guard let value = primitive, let binary = value as? Binary else {
FoundationEssentials.Data:2:23: note: 'Data' declares conformance to protocol 'Sendable' here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- note: 'Data' declares conformance to protocol 'Sendable' here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:202:39: warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
200 |
201 | extension Int32: Primitive {}
202 | extension Date: Primitive, @unchecked Sendable {}
    |                                       `- warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
203 |
204 | #if (arch(i386) || arch(arm)) && BSONInt64Primitive
FoundationEssentials.Date:2:15: note: 'Date' declares conformance to protocol 'Sendable' here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct Date : Comparable, Hashable, Equatable, Sendable {
   |               `- note: 'Date' declares conformance to protocol 'Sendable' here
 3 |     public static let timeIntervalBetween1970AndReferenceDate: Double
 4 |     public static var timeIntervalSinceReferenceDate: TimeInterval { get }
[230 / 239] NIOCore
[231 / 239] BSON
/host/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:46:54: warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
 44 | }
 45 |
 46 | extension Data: BSONPrimitiveConvertible, @unchecked Sendable {
    |                                                      `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
 47 |     init(primitive: Primitive?) throws {
 48 |         guard let value = primitive, let binary = value as? Binary else {
FoundationEssentials.Data:2:23: note: 'Data' declares conformance to protocol 'Sendable' here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | @frozen public struct Data : RandomAccessCollection, MutableCollection, RangeReplaceableCollection, Sendable, Hashable {
   |                       `- note: 'Data' declares conformance to protocol 'Sendable' here
 3 |     public typealias Index = Int
 4 |     public typealias Indices = Range<Int>
/host/spi-builder-workspace/Sources/BSON/Types/Primitives.swift:202:39: warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
200 |
201 | extension Int32: Primitive {}
202 | extension Date: Primitive, @unchecked Sendable {}
    |                                       `- warning: conformance of 'Date' to protocol 'Sendable' was already stated in the type's module 'FoundationEssentials'
203 |
204 | #if (arch(i386) || arch(arm)) && BSONInt64Primitive
FoundationEssentials.Date:2:15: note: 'Date' declares conformance to protocol 'Sendable' here
 1 | @available(macOS 10.10, iOS 8.0, watchOS 2.0, tvOS 9.0, *)
 2 | public struct Date : Comparable, Hashable, Equatable, Sendable {
   |               `- note: 'Date' declares conformance to protocol 'Sendable' here
 3 |     public static let timeIntervalBetween1970AndReferenceDate: Double
 4 |     public static var timeIntervalSinceReferenceDate: TimeInterval { get }
[236 / 239] BSON
/host/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:84:33: warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 82 |             case .document(let document):
 83 |                 document
 84 |             case .primitive(let primitive):
    |                                 `- warning: immutable value 'primitive' was never used; consider replacing with '_' or removing it [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 85 |                 nil
 86 |             case nil:
/host/spi-builder-workspace/Sources/BSON/Codable/Encoding/BSONEncoder.swift:174:32: warning: result of call to 'removeValue(forKey:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
172 |                 self.document?.appendValue(newValue, forKey: converted(key.stringValue))
173 |             } else {
174 |                 self.document?.removeValue(forKey: converted(key.stringValue))
    |                                `- warning: result of call to 'removeValue(forKey:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
175 |             }
176 |         }
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
Build complete! (15.61 secs)
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"
}
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.