The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CBOR, reference main (0c392f), with Swift 6.4 for macOS (SPM) on 30 Oct 2026 05:50:14 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thecoolwinter/CBOR.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/thecoolwinter/CBOR
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0c392ff Update Swift version in CI workflow to 6.4
Cloned https://github.com/thecoolwinter/CBOR.git
Revision (git rev-parse @):
0c392ff14fc60a7a2c2cd441beb208ee1ff6222a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/thecoolwinter/CBOR.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "cbor",
      "name": "CBOR",
      "url": "https://github.com/thecoolwinter/CBOR.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CBOR",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/thecoolwinter/CBOR.git
[1/8650] Fetching cbor
Fetched https://github.com/thecoolwinter/CBOR.git (1.24s)
Creating working copy for https://github.com/thecoolwinter/CBOR.git
Working copy of https://github.com/thecoolwinter/CBOR.git resolved at main (0c392ff)
warning: '.resolve-product-dependencies': dependency 'cbor' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/thecoolwinter/CBOR.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 124]
[Planning deferred tasks]
[29 / 52]
[30 / 53] CBOR
[40 / 98]
[45 / 98]
[48 / 98]
[49 / 98]
[53 / 98]
[55 / 98]
[58 / 98]
[61 / 98]
[63 / 98]
[64 / 98]
[75 / 98] CBOR
[76 / 98] CBOR
[87 / 100] ProfilingHelper-product
[91 / 109] Fuzzing-product
[93 / 109] ProfilingHelper-product
[95 / 109] Fuzzing-product
[103 / 109]
[103 / 109] Fuzzing-product
[106 / 109] ProfilingHelper-product
[107 / 109] Fuzzing-product
Build complete! (9.73 sec)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CBOR",
  "name" : "CBOR",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CBOR",
      "targets" : [
        "CBOR"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ProfilingHelper",
      "targets" : [
        "ProfilingHelper"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Fuzzing",
      "targets" : [
        "Fuzzing"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProfilingHelper",
      "module_type" : "SwiftTarget",
      "name" : "ProfilingHelper",
      "path" : "Sources/ProfilingHelper",
      "product_memberships" : [
        "ProfilingHelper"
      ],
      "sources" : [
        "Person.swift",
        "Profiling.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "CBOR"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Fuzzing",
      "module_type" : "SwiftTarget",
      "name" : "Fuzzing",
      "path" : "Sources/Fuzzing",
      "product_memberships" : [
        "Fuzzing"
      ],
      "sources" : [
        "AnyDecodable.swift",
        "FuzzingFallbackMain.swift",
        "Overread.swift",
        "entrypoint.swift"
      ],
      "target_dependencies" : [
        "CBOR"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CBORTests",
      "module_type" : "SwiftTarget",
      "name" : "CBORTests",
      "path" : "Tests/CBORTests",
      "sources" : [
        "AnyDecodable.swift",
        "DAGCBORDecoderTests.swift",
        "DAGCBOREncoderTests.swift",
        "DecodableTests.swift",
        "DecodeMultipleTests.swift",
        "EncodableTests.swift",
        "Extensions/Array+chunked.swift",
        "Extensions/Data+ExpressibleByArrayLiteral.swift",
        "Extensions/Data+hexString.swift",
        "Extensions/String+asHexData.swift",
        "Mock.swift",
        "OverreadTests.swift",
        "RecursionTests.swift",
        "RoundTripTests.swift",
        "ScannerTests.swift"
      ],
      "target_dependencies" : [
        "CBOR"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CBOR",
      "module_type" : "SwiftTarget",
      "name" : "CBOR",
      "path" : "Sources/CBOR",
      "product_memberships" : [
        "CBOR",
        "ProfilingHelper",
        "Fuzzing"
      ],
      "sources" : [
        "Coding/CodingPath.swift",
        "Coding/UnkeyedCodingKey.swift",
        "CommonTags.swift",
        "Constants.swift",
        "CustomTags/TaggedCBORItem.swift",
        "CustomTags/UUID+TaggedCBORItem.swift",
        "Decoder/CBORDecoder.swift",
        "Decoder/Containers/DataRegion.swift",
        "Decoder/Containers/DecodingContextContainer.swift",
        "Decoder/Containers/KeyedCBORDecodingContainer.swift",
        "Decoder/Containers/SingleValueCBORDecodingContainer.swift",
        "Decoder/Containers/UnkeyedCBORDecodingContainer.swift",
        "Decoder/DAGCBORDecoder.swift",
        "Decoder/DecodingContext.swift",
        "Decoder/DecodingOptions.swift",
        "Decoder/Scanner/CBORScanner+DebugDescription.swift",
        "Decoder/Scanner/CBORScanner+Results.swift",
        "Decoder/Scanner/CBORScanner.swift",
        "Decoder/Scanner/DataReader.swift",
        "Decoder/Scanner/ScanError.swift",
        "Encoder/CBOREncoder.swift",
        "Encoder/CIDType.swift",
        "Encoder/Containers/KeyedCBOREncodingContainer.swift",
        "Encoder/Containers/SingleValueCBOREncodingContainer.swift",
        "Encoder/Containers/UnkeyedCBOREncodingContainer.swift",
        "Encoder/DAGCBOREncoder.swift",
        "Encoder/EncodingContext.swift",
        "Encoder/EncodingOptimizer.swift",
        "Encoder/EncodingOptions.swift",
        "Encoder/Optimizers/BoolOptimizer.swift",
        "Encoder/Optimizers/ByteStringOptimizer.swift",
        "Encoder/Optimizers/DateOptimizer.swift",
        "Encoder/Optimizers/DoubleOptimizer.swift",
        "Encoder/Optimizers/Float16Optimizer.swift",
        "Encoder/Optimizers/FloatOptimizer.swift",
        "Encoder/Optimizers/IntOptimizer.swift",
        "Encoder/Optimizers/KeyedOptimizer.swift",
        "Encoder/Optimizers/NilOptimizer.swift",
        "Encoder/Optimizers/StringOptimizer.swift",
        "Encoder/Optimizers/TaggedItemOptimizer.swift",
        "Encoder/Optimizers/UnkeyedOptimizer.swift",
        "Encoder/TemporaryEncodingStorage.swift",
        "Extensions/FixedWidthIndeger/FixedWidthIndeger+write.swift",
        "Extensions/Float/Float+Float16.swift",
        "Extensions/UInt8/UInt8+byteCount.swift",
        "Extensions/UInt8/UInt8+simpleLength.swift",
        "Extensions/countTo+.swift",
        "MajorType.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/thecoolwinter/cbor/main
Repository:               thecoolwinter/CBOR
Swift version used:       6.4
Target:                   CBOR
Extracting symbol information for 'CBOR'...
Finished extracting symbol information for 'CBOR'. (1.71s)
Building documentation for 'CBOR'...
warning: 'Decodable' doesn't exist at '/CBOR/CBORDecoder'
  --> Sources/CBOR/Decoder/CBORDecoder.swift:14:15-14:24
12 | #endif
13 |
14 + /// Decodes ``Decodable`` objects from CBOR data.
15 | ///
16 | /// This type can be reused efficiently for multiple deserialization operations. Use the ``decode(_:from:)`` method
warning: 'init(rejectIndeterminateLengths:)' doesn't exist at '/CBOR/CBORDecoder'
  --> Sources/CBOR/Decoder/CBORDecoder.swift:19:59-19:92
17 | /// to decode data.
18 | ///
19 + /// To configure decoding behavior, pass options to the ``init(rejectIndeterminateLengths:)`` method or modify
   |                                                           ╰─suggestion: Replace 'init(rejectIndeterminateLengths:)' with 'init(rejectIndeterminateLengths:recursionDepth:rejectIntKeys:rejectUnorderedMap:rejectUndefined:rejectNaN:rejectInf:singleTopLevelItem:)'
20 | /// the ``options`` variable.
21 | public struct CBORDecoder {
warning: 'DecodingError' doesn't exist at '/CBOR/CBORDecoder/decode(_:from:)'
  --> Sources/CBOR/Decoder/CBORDecoder.swift:61:23-61:36
59 |     ///   - data: The CBOR data to decode from.
60 |     /// - Returns: An instance of the decoded type.
61 +     /// - Throws: A ``DecodingError`` with context and a debug description for a failed deserialization operation.
62 |     public func decode<T: Decodable, D: ContiguousBytes>(_ type: T.Type, from data: D) throws -> T {
63 |         do {
warning: 'DecodingError' doesn't exist at '/CBOR/CBORDecoder/decodeMultiple(_:from:)'
   --> Sources/CBOR/Decoder/CBORDecoder.swift:98:23-98:36
96  |     ///   - data: The CBOR data to decode from.
97  |     /// - Returns: An instance of the decoded type.
98  +     /// - Throws: A ``DecodingError`` with context and a debug description for a failed deserialization operation.
99  |     public func decodeMultiple<T: Decodable, D: ContiguousBytes>(_ type: T.Type, from data: D) throws -> [T] {
100 |         do {
warning: 'Decodable' doesn't exist at '/CBOR/DAGCBORDecoder'
  --> Sources/CBOR/Decoder/DAGCBORDecoder.swift:14:15-14:24
12 | #endif
13 |
14 + /// Decodes ``Decodable`` objects from DAG-CBOR data.
15 | ///
16 | /// This is really just a wrapper for ``CBORDecoder``, which constant configuration flags that ensure valid DAG-CBOR
warning: 'DecodingError' doesn't exist at '/CBOR/DAGCBORDecoder/decode(_:from:)'
  --> Sources/CBOR/Decoder/DAGCBORDecoder.swift:45:23-45:36
43 |     ///   - data: The DAG-CBOR data to decode from.
44 |     /// - Returns: An instance of the decoded type.
45 +     /// - Throws: A ``DecodingError`` with context and a debug description for a failed deserialization operation.
46 |     public func decode<T: Decodable>(_ type: T.Type, from data: Data) throws -> T {
47 |         try CBORDecoder(options: options).decode(T.self, from: data)
warning: 'Encodable' doesn't exist at '/CBOR/CBOREncoder'
  --> Sources/CBOR/Encoder/CBOREncoder.swift:14:18-14:27
12 | #endif
13 |
14 + /// Serializes ``Encodable`` objects using the CBOR serialization format.
15 | ///
16 | /// To perform serialization, use the ``encode(_:)-6zhmp`` method to convert a Codable object to ``Data``. To
warning: 'Data' doesn't exist at '/CBOR/CBOREncoder'
  --> Sources/CBOR/Encoder/CBOREncoder.swift:16:100-16:104
14 | /// Serializes ``Encodable`` objects using the CBOR serialization format.
15 | ///
16 + /// To perform serialization, use the ``encode(_:)-6zhmp`` method to convert a Codable object to ``Data``. To
17 | /// configure encoding behavior, either pass customization options in with
18 | /// ``init(forceStringKeys:dateEncodingStrategy:)`` or modify ``options``.
warning: 'init(forceStringKeys:dateEncodingStrategy:)' doesn't exist at '/CBOR/CBOREncoder'
  --> Sources/CBOR/Encoder/CBOREncoder.swift:18:7-18:50
16 | /// To perform serialization, use the ``encode(_:)-6zhmp`` method to convert a Codable object to ``Data``. To
17 | /// configure encoding behavior, either pass customization options in with
18 + /// ``init(forceStringKeys:dateEncodingStrategy:)`` or modify ``options``.
   |       ╰─suggestion: Replace 'init(forceStringKeys:dateEncodingStrategy:)' with 'init(forceStringKeys:dateEncodingStrategy:taggedItemsStrategy:forceDoubleLengthEncoding:rejectInfAndNan:)'
19 | public struct CBOREncoder {
20 |     /// Options that determine the behavior of ``CBOREncoder``.
warning: Parameter 'rejectTaggedItems' not found in initializer declaration
  --> Sources/CBOR/Encoder/CBOREncoder.swift:27:13-27:30
25 |     ///   - forceStringKeys: See ``EncodingOptions/forceStringKeys``.
26 |     ///   - dateEncodingStrategy: See ``EncodingOptions/dateEncodingStrategy``.
27 +     ///   - rejectTaggedItems: See ``EncodingOptions/rejectTaggedItems``.
   |             ╰─suggestion: Replace 'rejectTaggedItems' with 'taggedItemsStrategy'
28 |     ///   - forceDoubleLengthEncoding: See ``EncodingOptions/forceDoubleLengthEncoding``.
29 |     ///   - rejectInfAndNan: See ``EncodingOptions/rejectInfAndNan``.
warning: Parameter 'taggedItemsStrategy' is missing documentation
  --> Sources/CBOR/Encoder/CBOREncoder.swift:29:70-29:70
27 |     ///   - rejectTaggedItems: See ``EncodingOptions/rejectTaggedItems``.
28 |     ///   - forceDoubleLengthEncoding: See ``EncodingOptions/forceDoubleLengthEncoding``.
   |           ╰─suggestion: Document 'taggedItemsStrategy' parameter
29 +     ///   - rejectInfAndNan: See ``EncodingOptions/rejectInfAndNan``.
30 |     public init(
31 |         forceStringKeys: Bool = false,
warning: 'Encodable' doesn't exist at '/CBOR/DAGCBOREncoder'
  --> Sources/CBOR/Encoder/DAGCBOREncoder.swift:10:18-10:27
8  | import Foundation
9  |
10 + /// Serializes ``Encodable`` objects using the DAG-CBOR serialization format.
11 | ///
12 | /// To perform serialization, use the ``encode`` method to convert a Codable object to ``Data``. To
warning: 'encode' doesn't exist at '/CBOR/DAGCBOREncoder'
  --> Sources/CBOR/Encoder/DAGCBOREncoder.swift:12:41-12:47
10 | /// Serializes ``Encodable`` objects using the DAG-CBOR serialization format.
11 | ///
12 + /// To perform serialization, use the ``encode`` method to convert a Codable object to ``Data``. To
   |                                         ╰─suggestion: Replace 'encode' with 'encode(_:)'
13 | /// configure encoding behavior, either pass customization options in with
14 | /// ``init(dateEncodingStrategy:)`` or modify ``dateEncodingStrategy``.
warning: 'Data' doesn't exist at '/CBOR/DAGCBOREncoder'
  --> Sources/CBOR/Encoder/DAGCBOREncoder.swift:12:90-12:94
10 | /// Serializes ``Encodable`` objects using the DAG-CBOR serialization format.
11 | ///
12 + /// To perform serialization, use the ``encode`` method to convert a Codable object to ``Data``. To
13 | /// configure encoding behavior, either pass customization options in with
14 | /// ``init(dateEncodingStrategy:)`` or modify ``dateEncodingStrategy``.
warning: Parameter 'useStringDates' not found in initializer declaration
  --> Sources/CBOR/Encoder/EncodingOptions.swift:49:13-49:27
47 |     /// - Parameters:
48 |     ///   - forceStringKeys: Force encoded maps to use string keys even when integer keys are available.
49 +     ///   - useStringDates: See ``dateEncodingStrategy`` and ``DateStrategy``.
   |             ╰─suggestion: Replace 'useStringDates' with 'forceStringKeys'
50 |     ///   - taggedItemsStrategy: See ``taggedItemsStrategy`` and ``TagStrategy``.
51 |     ///   - forceDoubleLengthEncoding: Encode all floating point numbers as 64-bit double values.
warning: Parameter 'dateEncodingStrategy' is missing documentation
  --> Sources/CBOR/Encoder/EncodingOptions.swift:53:39-53:39
51 |     ///   - forceDoubleLengthEncoding: Encode all floating point numbers as 64-bit double values.
52 |     ///   - rejectInfAndNan: DAG mode option. Reject all Infinity and NaN values for floating-point numbers (`Double`,
53 +     ///                      `Float`).
54 |     public init(
55 |         forceStringKeys: Bool,
Finished building documentation for 'CBOR' (0.16s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/thecoolwinter/cbor/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2345] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin (1.64s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (3.91s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.08s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[Planning deferred tasks]
[18 / 41]
[20 / 43] Snippets
[30 / 92]
[35 / 92]
[38 / 92]
[39 / 92]
[43 / 92]
[45 / 92]
[48 / 92]
[51 / 92]
[53 / 92]
[54 / 92]
[65 / 92] SymbolKit
[66 / 92] Snippets
[84 / 93] SymbolKit
[85 / 93] SymbolKit
[92 / 97] snippet-extract-product
[93 / 97] snippet-extract-product
[95 / 97] snippet-extract-product
Build complete! (4.42 sec)
Building for debugging...
[Planning deferred tasks]
[2 / 10]
[3 / 11] CBOR
[14 / 22] CBOR
[16 / 18] CBOR
Build complete! (1.48 sec)
     220
3	/Users/admin/builder/spi-builder-workspace/.docs/thecoolwinter/cbor/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/thecoolwinter/cbor/main
File count: 220
Doc size:   3.0MB
Preparing doc bundle ...
Using presigned URL upload - AWS credentials not required
Uploading -thecoolwinter-cbor-main-1e95aee9.zip to presigned URL
Starting upload of 548346 bytes...
Upload completed successfully
Done.