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.0 for macOS (SPM) on 5 Nov 2024 04:55:39 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kuniwak/MirrorDiffKit.git
Reference: 6.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/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
========================================
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",
  "dependencies": [
    {
      "identity": "mirrordiffkit",
      "name": "MirrorDiffKit",
      "url": "https://github.com/Kuniwak/MirrorDiffKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MirrorDiffKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Kuniwak/MirrorDiffKit.git
[1/1101] Fetching mirrordiffkit
Fetched https://github.com/Kuniwak/MirrorDiffKit.git from cache (1.04s)
Creating working copy for https://github.com/Kuniwak/MirrorDiffKit.git
Working copy of https://github.com/Kuniwak/MirrorDiffKit.git resolved at 6.0.0 (6d721f8)
warning: '.resolve-product-dependencies': dependency 'mirrordiffkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kuniwak/MirrorDiffKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/28] Emitting module MirrorDiffKit
/Users/admin/builder/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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |
[4/30] Compiling MirrorDiffKit TupleRepresentationDetector.swift
/Users/admin/builder/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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |
[5/30] Compiling MirrorDiffKit Util.swift
/Users/admin/builder/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: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 |
[6/30] Compiling MirrorDiffKit Diffable+RoughEquatable.swift
[7/30] Compiling MirrorDiffKit Diffable.TupleEntry+PrettyPrintable.swift
[8/30] Compiling MirrorDiffKit Diffable.diff.swift
[9/30] Compiling MirrorDiffKit DifferentiaUnit+PrettyPrintable.swift
[10/30] Compiling MirrorDiffKit DifferentiaUnit.DictionaryType.swift
[11/30] Compiling MirrorDiffKit DifferentiaUnit.SequenceType.swift
[12/30] Compiling MirrorDiffKit DifferentiaUnit.swift
[13/30] Compiling MirrorDiffKit Dwifft.swift
[14/30] Compiling MirrorDiffKit EnumCaseName.swift
[15/30] Compiling MirrorDiffKit ComparableDifferentiaUnits.swift
[16/30] Compiling MirrorDiffKit Diffable+CustomStringConvertible.swift
[17/30] Compiling MirrorDiffKit Diffable+PrettyPrintable.swift
[18/30] Compiling MirrorDiffKit PrettyPrintable.swift
[19/30] Compiling MirrorDiffKit PrettyPrinter.swift
[20/30] Compiling MirrorDiffKit DiffableDictionary.swift
[21/30] Compiling MirrorDiffKit DiffableSequence.swift
[22/30] Compiling MirrorDiffKit DiffableSet.swift
[23/30] Compiling MirrorDiffKit Diffable.from.swift
[24/30] Compiling MirrorDiffKit Diffable.swift
[25/30] Compiling MirrorDiffKit DiffableConvertible.swift
[26/30] Compiling MirrorDiffKit RoughEquatable.swift
[27/30] Compiling MirrorDiffKit Transformer.swift
[28/30] Compiling MirrorDiffKit HashableType.swift
[29/30] Compiling MirrorDiffKit MirrorDiffKit.swift
[30/30] Compiling MirrorDiffKit PrettyLine.swift
Build complete! (15.46s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MirrorDiffKit",
  "name" : "MirrorDiffKit",
  "path" : "/Users/admin/builder/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"
}
Done.