The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-cbor, reference main (7452e1), with Swift 6.1 for Linux on 6 Jul 2025 03:06:56 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MasterJ93/swift-cbor.git
Reference: main
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/swift-cbor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7452e1d Add support for decoding multiple DAG-CBOR objects
Cloned https://github.com/MasterJ93/swift-cbor.git
Revision (git rev-parse @):
7452e1d1dbfb99fa0baca7732cf199be1bfc7e7c
SUCCESS checkout https://github.com/MasterJ93/swift-cbor.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/MasterJ93/swift-cbor.git
https://github.com/MasterJ93/swift-cbor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.53.8"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "swift-cbor",
  "name" : "swift-cbor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCbor",
      "targets" : [
        "SwiftCbor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "example",
      "targets" : [
        "example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "example",
      "module_type" : "SwiftTarget",
      "name" : "example",
      "path" : "Example",
      "product_memberships" : [
        "example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftCbor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftCborTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCborTests",
      "path" : "Tests/SwiftCborTests",
      "sources" : [
        "DecodeTests.swift",
        "EncodeTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCbor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCbor",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCbor",
      "path" : "Sources/SwiftCbor",
      "product_memberships" : [
        "SwiftCbor",
        "example"
      ],
      "sources" : [
        "CborCodable.swift",
        "CborDecoder.swift",
        "CborEncoder.swift",
        "CborScanner.swift",
        "CborValue.swift",
        "DataNumber.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/nicklockwood/SwiftFormat
[1/49534] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (28.74s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.53.8 (31.44s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.53.8
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/8] Write sources
[3/8] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling SwiftCbor CborCodable.swift
[6/15] Compiling SwiftCbor DataNumber.swift
[7/15] Emitting module SwiftCbor
/host/spi-builder-workspace/Sources/SwiftCbor/CborValue.swift:91:16: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'CborValue' may have shared mutable state; this is an error in the Swift 6 language mode
 82 | }
 83 |
 84 | public indirect enum CborValue {
    |                      `- note: consider making enum 'CborValue' conform to the 'Sendable' protocol
 85 |     case none
 86 |     case literal(CborValueLiteralType)
    :
 89 |     case tagged(tag: CborValueLiteralType, value: CborValue)
 90 |
 91 |     static let `break`: CborValue = .literal(.break)
    |                |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'CborValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'break' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 | }
 93 |
[8/15] Compiling SwiftCbor CborScanner.swift
[9/15] Compiling SwiftCbor CborDecoder.swift
[10/15] Compiling SwiftCbor CborValue.swift
/host/spi-builder-workspace/Sources/SwiftCbor/CborValue.swift:91:16: warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'CborValue' may have shared mutable state; this is an error in the Swift 6 language mode
 82 | }
 83 |
 84 | public indirect enum CborValue {
    |                      `- note: consider making enum 'CborValue' conform to the 'Sendable' protocol
 85 |     case none
 86 |     case literal(CborValueLiteralType)
    :
 89 |     case tagged(tag: CborValueLiteralType, value: CborValue)
 90 |
 91 |     static let `break`: CborValue = .literal(.break)
    |                |- warning: static property 'break' is not concurrency-safe because non-'Sendable' type 'CborValue' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'break' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 | }
 93 |
/host/spi-builder-workspace/Sources/SwiftCbor/CborValue.swift:159:30: warning: immutable value 'tag' was never used; consider replacing with '_' or removing it
157 |             case .map(let m):
158 |                 return .map(m.map { $0.toEncodedValue() })
159 |             case .tagged(let tag, let inner):
    |                              `- warning: immutable value 'tag' was never used; consider replacing with '_' or removing it
160 |                 return .tagged(tag: .literal([]), value: inner.toEncodedValue())
161 |         }
[11/15] Compiling SwiftCbor CborEncoder.swift
[12/16] Wrapping AST for SwiftCbor for debugging
[14/18] Emitting module example
[15/18] Compiling example main.swift
[16/19] Wrapping AST for example for debugging
[17/19] Write Objects.LinkFileList
[18/19] Linking example
Build complete! (54.95s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftformat",
      "requirement" : {
        "exact" : [
          "0.53.8"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    }
  ],
  "manifest_display_name" : "swift-cbor",
  "name" : "swift-cbor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCbor",
      "targets" : [
        "SwiftCbor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "example",
      "targets" : [
        "example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "example",
      "module_type" : "SwiftTarget",
      "name" : "example",
      "path" : "Example",
      "product_memberships" : [
        "example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftCbor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftCborTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCborTests",
      "path" : "Tests/SwiftCborTests",
      "sources" : [
        "DecodeTests.swift",
        "EncodeTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCbor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCbor",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCbor",
      "path" : "Sources/SwiftCbor",
      "product_memberships" : [
        "SwiftCbor",
        "example"
      ],
      "sources" : [
        "CborCodable.swift",
        "CborDecoder.swift",
        "CborEncoder.swift",
        "CborScanner.swift",
        "CborValue.swift",
        "DataNumber.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.