The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCBOR, reference 0.4.0 (0b01ca), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 17:53:32 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/MasterJ93/SwiftCBOR.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MasterJ93/SwiftCBOR
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 0b01caa Switch to Apple's version of swift-collections
Cloned https://github.com/MasterJ93/SwiftCBOR.git
Revision (git rev-parse @):
0b01caa633889f6d64f73f1c01607358d36fe6e6
SUCCESS checkout https://github.com/MasterJ93/SwiftCBOR.git at 0.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MasterJ93/SwiftCBOR.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 328]
[Planning deferred tasks]
[12 / 154] HeapModule
[73 / 154]
[74 / 155] InternalCollectionsUtilities
[87 / 168] InternalCollectionsUtilities
[97 / 173] InternalCollectionsUtilities
[99 / 174] HeapModule
[108 / 181] InternalCollectionsUtilities
[114 / 227]
[129 / 238] ContainersPreview
[131 / 238] ContainersPreview
[139 / 238] BitCollections
[149 / 238] OrderedCollections
[151 / 238] OrderedCollections
[155 / 238] OrderedCollections
[166 / 238] OrderedCollections
[170 / 238] HashTreeCollections
[174 / 238] _RopeModule
[182 / 238] _RopeModule
[186 / 238] ContainersPreview
[191 / 238] ContainersPreview
[198 / 238] BitCollections
[201 / 238] BitCollections
[205 / 238]
[212 / 239] HashTreeCollections
[221 / 250] DequeModule
[223 / 250]
[225 / 250] BitCollections
[225 / 250] DequeModule
[240 / 257] Collections
[249 / 258] SwiftCBOR
[257 / 301]
[262 / 301]
[265 / 301]
[266 / 301]
[270 / 301]
[272 / 301]
[275 / 301]
[278 / 301]
[280 / 301]
[281 / 301]
[292 / 301] SwiftCBOR
[298 / 301] SwiftCBOR
Build complete! (12.97 sec)
Fetching https://github.com/apple/swift-collections.git
[1/27352] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (2.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (3.52s)
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
/Users/admin/builder/spi-builder-workspace/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
232 |     }
233 |
234 |     func decode(_ type: Data.Type) throws -> Data {
    |          |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
    |          |- note: candidate has non-matching type '(Data.Type) throws -> Data'
    |          |- note: move 'decode' to another extension to silence this warning
    |          `- note: make 'decode' private to silence this warning
235 |         guard let cbor = try? CBOR.decode(self.data.map { $0 }) else {
236 |             let context = DecodingError.Context(codingPath: self.codingPath, debugDescription: "Invalid format: \(self.data)")
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   func decode(_ type: Int128.Type) throws -> Int128}
  |        `- note: requirement 'decode' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
132 |     }
133 |
134 |     func encode(_ value: Date) throws {
    |          |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |          |- note: candidate has non-matching type '(Date) throws -> ()'
    |          |- note: move 'encode' to another extension to silence this warning
    |          `- note: make 'encode' private to silence this warning
135 |         try checkCanEncode(value: value)
136 |         defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
139 |     }
140 |
141 |     func encode(_ value: Data) throws {
    |          |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |          |- note: candidate has non-matching type '(Data) throws -> ()'
    |          |- note: move 'encode' to another extension to silence this warning
    |          `- note: make 'encode' private to silence this warning
142 |         try checkCanEncode(value: value)
143 |         defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: UInt128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:134:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
132 |     }
133 |
134 |     func encode(_ value: Date) throws {
    |          |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |          |- note: candidate has non-matching type '(Date) throws -> ()'
    |          |- note: move 'encode' to another extension to silence this warning
    |          `- note: make 'encode' private to silence this warning
135 |         try checkCanEncode(value: value)
136 |         defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: Int128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Encoder/SingleValueEncodingContainer.swift:141:10: warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
139 |     }
140 |
141 |     func encode(_ value: Data) throws {
    |          |- warning: instance method 'encode' nearly matches defaulted requirement 'encode' of protocol 'SingleValueEncodingContainer'
    |          |- note: candidate has non-matching type '(Data) throws -> ()'
    |          |- note: move 'encode' to another extension to silence this warning
    |          `- note: make 'encode' private to silence this warning
142 |         try checkCanEncode(value: value)
143 |         defer { self.canEncodeNewValue = false }
Swift.SingleValueEncodingContainer.encode:3:17: note: requirement 'encode' declared here
1 | protocol SingleValueEncodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   mutating func encode(_ value: UInt128) throws}
  |                 `- note: requirement 'encode' declared here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Decoder/SingleValueDecodingContainer.swift:234:10: warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
232 |     }
233 |
234 |     func decode(_ type: Data.Type) throws -> Data {
    |          |- warning: instance method 'decode' nearly matches defaulted requirement 'decode' of protocol 'SingleValueDecodingContainer'
    |          |- note: candidate has non-matching type '(Data.Type) throws -> Data'
    |          |- note: move 'decode' to another extension to silence this warning
    |          `- note: make 'decode' private to silence this warning
235 |         guard let cbor = try? CBOR.decode(self.data.map { $0 }) else {
236 |             let context = DecodingError.Context(codingPath: self.codingPath, debugDescription: "Invalid format: \(self.data)")
Swift.SingleValueDecodingContainer.decode:3:8: note: requirement 'decode' declared here
1 | protocol SingleValueDecodingContainer {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   func decode(_ type: Int128.Type) throws -> Int128}
  |        `- note: requirement 'decode' declared here
4 |
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    }
  ],
  "manifest_display_name" : "SwiftCBOR",
  "name" : "SwiftCBOR",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCBOR",
      "targets" : [
        "SwiftCBOR"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCBORTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCBORTests",
      "path" : "Tests",
      "sources" : [
        "CBORCodableRoundtripTests.swift",
        "CBORDecoderTests.swift",
        "CBOREncodableTests.swift",
        "CBOREncoderTests.swift",
        "CBORTests.swift",
        "CodableCBORDecoderTests.swift",
        "CodableCBOREncoderTests.swift",
        "Helpers.swift"
      ],
      "target_dependencies" : [
        "SwiftCBOR"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCBOR",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCBOR",
      "path" : "Sources",
      "product_dependencies" : [
        "Collections"
      ],
      "product_memberships" : [
        "SwiftCBOR"
      ],
      "sources" : [
        "AnyCodingKey.swift",
        "CBOR.swift",
        "CBORDecoder.swift",
        "CBOREncodable.swift",
        "CBOREncoder.swift",
        "CBORInputStream.swift",
        "CBOROptions.swift",
        "Decoder/CodableCBORDecoder.swift",
        "Decoder/KeyedDecodingContainer.swift",
        "Decoder/SingleValueDecodingContainer.swift",
        "Decoder/UnkeyedDecodingContainer.swift",
        "Encoder/CodableCBOREncoder.swift",
        "Encoder/KeyedEncodingContainer.swift",
        "Encoder/SingleValueEncodingContainer.swift",
        "Encoder/UnkeyedEncodingContainer.swift",
        "FixedWidthInteger+Bytes.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.