The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BSON, reference 8.2.2 (aaaa20), with Swift 6.4 for Android 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-54344847-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-54344847-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-nio.git
[1/86091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (3.39s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (3.73s)
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/1881] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.57s)
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.71s)
[1/27702] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.60s)
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-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-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-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]
[76 / 177] CNIOFreeBSD
[115 / 203] CNIOOpenBSD
[118 / 203] _NIOBase64
[129 / 203] NIOConcurrencyHelpers
[140 / 203] NIOConcurrencyHelpers
[142 / 204] NIOConcurrencyHelpers
[147 / 204] SpanPreview
[152 / 205] _NIODataStructures
[156 / 206]
[172 / 211] SpanPreview
[184 / 223] SpanPreview
[186 / 232] DequeModule
[188 / 232] DequeModule
[191 / 233] DequeModule
[192 / 233] InternalCollectionsUtilities
[196 / 233] InternalCollectionsUtilities
[197 / 233] CNIOAtomics
[201 / 233] Atomics
[204 / 233]
[204 / 233] Atomics
[209 / 233] Atomics
[212 / 234] DequeModule
[228 / 245] NIOCore
[230 / 245] NIOCore
[230 / 246] NIOCore
[247 / 256] BSON
[247 / 256] 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 }
[249 / 256] BSON
[253 / 256] 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 }
/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! (16.85 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"
}
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Done.