The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of MirrorDiffKit, reference 6.0.0 (6d721f), with Swift 6.1 for Linux on 28 Apr 2025 22:08:36 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kuniwak/MirrorDiffKit.git
Reference: 6.0.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/Kuniwak/MirrorDiffKit
 * tag               6.0.0      -> FETCH_HEAD
HEAD is now at 6d721f8 Merge pull request #51 from Kuniwak/only-spm
Submodule path 'Scripts/xcodebuild-scripts': checked out '253e8c60a48de1668d53f19f235a3a44e91f6380'
Submodule 'Scripts/xcodebuild-scripts' (https://github.com/Kuniwak/xcodebuild-scripts) registered for path 'Scripts/xcodebuild-scripts'
Cloning into '/host/spi-builder-workspace/Scripts/xcodebuild-scripts'...
Cloned https://github.com/Kuniwak/MirrorDiffKit.git
Revision (git rev-parse @):
6d721f86bbc91621b382f5a6a5a2ebd135c256e5
SUCCESS checkout https://github.com/Kuniwak/MirrorDiffKit.git at 6.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kuniwak/MirrorDiffKit.git
https://github.com/Kuniwak/MirrorDiffKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MirrorDiffKit",
  "name" : "MirrorDiffKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MirrorDiffKit",
      "targets" : [
        "MirrorDiffKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MirrorDiffKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MirrorDiffKitTests",
      "path" : "Tests/MirrorDiffKitTests",
      "sources" : [
        "CGFloat.swift",
        "Diffable+PrettyPrintableTests.swift",
        "DiffableSequenceTests.swift",
        "DiffableSetTests.swift",
        "DiffableTests.swift",
        "DifferentiaUnit+PrettyPrintableTests.swift",
        "Dump.swift",
        "ExampleTests.swift",
        "Issue10Tests.swift",
        "Issue13Tests.swift",
        "Issue22Tests.swift",
        "Issue30Tests.swift",
        "MirrorDiffKit.diffTests.swift",
        "MirrorDiffKit.drainTests.swift",
        "MirrorDiffKit.operatorsTests.swift",
        "PrettyLineTests.swift",
        "PrettyLinesTests.swift",
        "Stubs.swift",
        "TransformerTests.swift"
      ],
      "target_dependencies" : [
        "MirrorDiffKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MirrorDiffKit",
      "module_type" : "SwiftTarget",
      "name" : "MirrorDiffKit",
      "path" : "Sources",
      "product_memberships" : [
        "MirrorDiffKit"
      ],
      "sources" : [
        "ComparableDifferentiaUnits.swift",
        "Diffable+CustomStringConvertible.swift",
        "Diffable+PrettyPrintable.swift",
        "Diffable+RoughEquatable.swift",
        "Diffable.TupleEntry+PrettyPrintable.swift",
        "Diffable.diff.swift",
        "Diffable.from.swift",
        "Diffable.swift",
        "DiffableConvertible.swift",
        "DiffableDictionary.swift",
        "DiffableSequence.swift",
        "DiffableSet.swift",
        "DifferentiaUnit+PrettyPrintable.swift",
        "DifferentiaUnit.DictionaryType.swift",
        "DifferentiaUnit.SequenceType.swift",
        "DifferentiaUnit.swift",
        "Dwifft.swift",
        "EnumCaseName.swift",
        "HashableType.swift",
        "MirrorDiffKit.swift",
        "PrettyLine.swift",
        "PrettyPrintable.swift",
        "PrettyPrinter.swift",
        "RoughEquatable.swift",
        "Transformer.swift",
        "TupleRepresentationDetector.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/27] Emitting module MirrorDiffKit
/host/spi-builder-workspace/Sources/TupleRepresentationDetector.swift:41:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'TupleRepresentation' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Since Swift 3.1, enums become labeled tuple such as (key: K, value: V).
 2 | /// But before Swift 3.1, enums become not labeled tuple such as (K, V).
 3 | public enum TupleRepresentation {
   |             `- note: consider making enum 'TupleRepresentation' conform to the 'Sendable' protocol
 4 |     /// For example, (key: K, value: V) becomes ["key": K, "value" V] and
 5 |     /// an associated tuple of .something(associated: K) becomes ["associated": K].
   :
39 |
40 |
41 |     public static let current = TupleRepresentation.detect()
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'TupleRepresentation' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |
[4/30] Compiling MirrorDiffKit DiffableConvertible.swift
[5/30] Compiling MirrorDiffKit DiffableDictionary.swift
[6/30] Compiling MirrorDiffKit DiffableSequence.swift
[7/30] Compiling MirrorDiffKit DiffableSet.swift
[8/30] Compiling MirrorDiffKit ComparableDifferentiaUnits.swift
[9/30] Compiling MirrorDiffKit Diffable+CustomStringConvertible.swift
[10/30] Compiling MirrorDiffKit Diffable+PrettyPrintable.swift
[11/30] Compiling MirrorDiffKit Diffable+RoughEquatable.swift
[12/30] Compiling MirrorDiffKit DifferentiaUnit.swift
[13/30] Compiling MirrorDiffKit Dwifft.swift
[14/30] Compiling MirrorDiffKit EnumCaseName.swift
[15/30] Compiling MirrorDiffKit Diffable.TupleEntry+PrettyPrintable.swift
[16/30] Compiling MirrorDiffKit Diffable.diff.swift
[17/30] Compiling MirrorDiffKit Diffable.from.swift
[18/30] Compiling MirrorDiffKit Diffable.swift
[19/30] Compiling MirrorDiffKit HashableType.swift
[20/30] Compiling MirrorDiffKit MirrorDiffKit.swift
[21/30] Compiling MirrorDiffKit PrettyLine.swift
[22/30] Compiling MirrorDiffKit PrettyPrintable.swift
[23/30] Compiling MirrorDiffKit PrettyPrinter.swift
[24/30] Compiling MirrorDiffKit RoughEquatable.swift
[25/30] Compiling MirrorDiffKit DifferentiaUnit+PrettyPrintable.swift
[26/30] Compiling MirrorDiffKit DifferentiaUnit.DictionaryType.swift
[27/30] Compiling MirrorDiffKit DifferentiaUnit.SequenceType.swift
[28/30] Compiling MirrorDiffKit Transformer.swift
/host/spi-builder-workspace/Sources/TupleRepresentationDetector.swift:41:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'TupleRepresentation' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Since Swift 3.1, enums become labeled tuple such as (key: K, value: V).
 2 | /// But before Swift 3.1, enums become not labeled tuple such as (K, V).
 3 | public enum TupleRepresentation {
   |             `- note: consider making enum 'TupleRepresentation' conform to the 'Sendable' protocol
 4 |     /// For example, (key: K, value: V) becomes ["key": K, "value" V] and
 5 |     /// an associated tuple of .something(associated: K) becomes ["associated": K].
   :
39 |
40 |
41 |     public static let current = TupleRepresentation.detect()
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'TupleRepresentation' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |
[29/30] Compiling MirrorDiffKit TupleRepresentationDetector.swift
/host/spi-builder-workspace/Sources/TupleRepresentationDetector.swift:41:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'TupleRepresentation' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Since Swift 3.1, enums become labeled tuple such as (key: K, value: V).
 2 | /// But before Swift 3.1, enums become not labeled tuple such as (K, V).
 3 | public enum TupleRepresentation {
   |             `- note: consider making enum 'TupleRepresentation' conform to the 'Sendable' protocol
 4 |     /// For example, (key: K, value: V) becomes ["key": K, "value" V] and
 5 |     /// an associated tuple of .something(associated: K) becomes ["associated": K].
   :
39 |
40 |
41 |     public static let current = TupleRepresentation.detect()
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'TupleRepresentation' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |
[30/30] Compiling MirrorDiffKit Util.swift
/host/spi-builder-workspace/Sources/TupleRepresentationDetector.swift:41:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'TupleRepresentation' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | /// Since Swift 3.1, enums become labeled tuple such as (key: K, value: V).
 2 | /// But before Swift 3.1, enums become not labeled tuple such as (K, V).
 3 | public enum TupleRepresentation {
   |             `- note: consider making enum 'TupleRepresentation' conform to the 'Sendable' protocol
 4 |     /// For example, (key: K, value: V) becomes ["key": K, "value" V] and
 5 |     /// an associated tuple of .something(associated: K) becomes ["associated": K].
   :
39 |
40 |
41 |     public static let current = TupleRepresentation.detect()
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'TupleRepresentation' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |
Build complete! (8.13s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MirrorDiffKit",
  "name" : "MirrorDiffKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "MirrorDiffKit",
      "targets" : [
        "MirrorDiffKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MirrorDiffKitTests",
      "module_type" : "SwiftTarget",
      "name" : "MirrorDiffKitTests",
      "path" : "Tests/MirrorDiffKitTests",
      "sources" : [
        "CGFloat.swift",
        "Diffable+PrettyPrintableTests.swift",
        "DiffableSequenceTests.swift",
        "DiffableSetTests.swift",
        "DiffableTests.swift",
        "DifferentiaUnit+PrettyPrintableTests.swift",
        "Dump.swift",
        "ExampleTests.swift",
        "Issue10Tests.swift",
        "Issue13Tests.swift",
        "Issue22Tests.swift",
        "Issue30Tests.swift",
        "MirrorDiffKit.diffTests.swift",
        "MirrorDiffKit.drainTests.swift",
        "MirrorDiffKit.operatorsTests.swift",
        "PrettyLineTests.swift",
        "PrettyLinesTests.swift",
        "Stubs.swift",
        "TransformerTests.swift"
      ],
      "target_dependencies" : [
        "MirrorDiffKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MirrorDiffKit",
      "module_type" : "SwiftTarget",
      "name" : "MirrorDiffKit",
      "path" : "Sources",
      "product_memberships" : [
        "MirrorDiffKit"
      ],
      "sources" : [
        "ComparableDifferentiaUnits.swift",
        "Diffable+CustomStringConvertible.swift",
        "Diffable+PrettyPrintable.swift",
        "Diffable+RoughEquatable.swift",
        "Diffable.TupleEntry+PrettyPrintable.swift",
        "Diffable.diff.swift",
        "Diffable.from.swift",
        "Diffable.swift",
        "DiffableConvertible.swift",
        "DiffableDictionary.swift",
        "DiffableSequence.swift",
        "DiffableSet.swift",
        "DifferentiaUnit+PrettyPrintable.swift",
        "DifferentiaUnit.DictionaryType.swift",
        "DifferentiaUnit.SequenceType.swift",
        "DifferentiaUnit.swift",
        "Dwifft.swift",
        "EnumCaseName.swift",
        "HashableType.swift",
        "MirrorDiffKit.swift",
        "PrettyLine.swift",
        "PrettyPrintable.swift",
        "PrettyPrinter.swift",
        "RoughEquatable.swift",
        "Transformer.swift",
        "TupleRepresentationDetector.swift",
        "Util.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.