The Swift Package Index logo.Swift Package Index

Build Information

Successful build of BSON, reference main (aaaa20), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 18:17:44 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/orlandos-nl/BSON.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/orlandos-nl/BSON
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/orlandos-nl/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]
[Provisioning 2 / 22]
[Pre-planning 1 / 541]
[Planning deferred tasks]
[95 / 198]
[108 / 203] NIOConcurrencyHelpers
[116 / 203] CNIOWASI
[126 / 228] InternalCollectionsUtilities
[142 / 262]
[154 / 262]
[168 / 301]
[181 / 301]
[186 / 301] _AtomicsShims
[192 / 301]
[204 / 301]
[211 / 301] _NIOBase64
[214 / 301] CNIOWindows
[220 / 301] Atomics
[222 / 301] Atomics
[225 / 301] Atomics
[230 / 301] CNIODarwin
[237 / 301] _NIOBase64
[244 / 301] Atomics
[262 / 302]
[274 / 306]
[286 / 318] DequeModule
[288 / 318] NIOConcurrencyHelpers
[291 / 318] Atomics
[291 / 318] DequeModule
[300 / 319] NIOCore
[303 / 336]
[305 / 336]
[315 / 336] NIOCore
[316 / 336] NIOCore
[317 / 336] NIOCore
[317 / 336] CNIOAtomics
[319 / 336] NIOCore
[328 / 337] BSON
[335 / 361]
[338 / 361]
[339 / 361]
[340 / 361]
[341 / 361]
[352 / 361] BSON
[353 / 361] BSON
[361 / 361] BSON-product
Build complete! (14.23 sec)
Fetching https://github.com/apple/swift-nio.git
[1/86091] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git (6.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (7.22s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1881] Fetching swift-atomics
[20/8797] Fetching swift-atomics, swift-system
[2245/36499] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.38s)
[8856/34618] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git (3.60s)
Fetched https://github.com/apple/swift-collections.git (3.60s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (4.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.68s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.59s)
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-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
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
/Users/admin/builder/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 'Foundation'
 44 | }
 45 |
 46 | extension Data: BSONPrimitiveConvertible, @unchecked Sendable {
    |                                                      `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
 47 |     init(primitive: Primitive?) throws {
 48 |         guard let value = primitive, let binary = value as? Binary else {
Foundation.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>
/Users/admin/builder/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 'Foundation'
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 'Foundation'
203 |
204 | #if (arch(i386) || arch(arm)) && BSONInt64Primitive
Foundation.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 }
/Users/admin/builder/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 'Foundation'
 44 | }
 45 |
 46 | extension Data: BSONPrimitiveConvertible, @unchecked Sendable {
    |                                                      `- warning: conformance of 'Data' to protocol 'Sendable' was already stated in the type's module 'Foundation'
 47 |     init(primitive: Primitive?) throws {
 48 |         guard let value = primitive, let binary = value as? Binary else {
Foundation.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>
/Users/admin/builder/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 'Foundation'
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 'Foundation'
203 |
204 | #if (arch(i386) || arch(arm)) && BSONInt64Primitive
Foundation.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 }
/Users/admin/builder/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:
/Users/admin/builder/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.
{
  "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" : "/Users/admin/builder/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"
}
Done.