The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftCBOR, reference 0.4.0 (0b01ca), with Swift 6.4 for Linux on 20 Sep 2026 17:40:14 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /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/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:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MasterJ93/SwiftCBOR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-collections.git
[1/27352] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.48s)
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 328]
[Planning deferred tasks]
[24 / 143] SwiftCBOR
[82 / 153] InternalCollectionsUtilities
[83 / 153] InternalCollectionsUtilities
[89 / 155]
[96 / 173] _RopeModule
[97 / 173] _RopeModule
[98 / 174] _RopeModule
[99 / 174] _RopeModule
[100 / 174] _RopeModule
[101 / 174] _RopeModule
[102 / 174] OrderedCollections
[103 / 174] OrderedCollections
[104 / 174] OrderedCollections
[105 / 174] OrderedCollections
[106 / 174] _RopeModule
[117 / 174] OrderedCollections
[118 / 174] InternalCollectionsUtilities
[123 / 182] HeapModule
[125 / 182] HeapModule
[126 / 182] HeapModule
[127 / 182] HeapModule
[128 / 182] HeapModule
[129 / 183]
[131 / 185] HashTreeCollections
[143 / 204] HashTreeCollections
[144 / 213] BitCollections
[147 / 213] ContainersPreview
[153 / 213] OrderedCollections
[154 / 215] _RopeModule
[158 / 215] HashTreeCollections
[159 / 215] _RopeModule
[161 / 215] BitCollections
[167 / 215] ContainersPreview
[168 / 215] ContainersPreview
[169 / 215] ContainersPreview
[171 / 215] DequeModule
[175 / 215] BitCollections
[176 / 215] BitCollections
[177 / 216] ContainersPreview
[179 / 216] ContainersPreview
[181 / 216] BitCollections
[182 / 216] BitCollections
[183 / 216] BitCollections
[185 / 216] ContainersPreview
[186 / 218] HashTreeCollections
[190 / 227] DequeModule
[191 / 227] DequeModule
[192 / 227] DequeModule
[193 / 227] BitCollections
[195 / 227] BitCollections
[198 / 228] HashTreeCollections
[205 / 228] HashTreeCollections
[206 / 228] HashTreeCollections
[206 / 228] DequeModule
[206 / 229] DequeModule
[221 / 236] Collections
[237 / 247] SwiftCBOR
/host/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 |
/host/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 |
/host/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 |
[238 / 247] SwiftCBOR
[244 / 247] SwiftCBOR
/host/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 |
/host/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 |
/host/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 |
Build complete! (24.02 secs)
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" : "/host/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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.