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 CoreDataPlus, reference 0.2.0 (62dc87), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 13:45:37 UTC.

Swift 6 data race errors: 2

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/richardpiazza/CoreDataPlus.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/CoreDataPlus
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 62dc876 Removes Test Manifest (#3)
Cloned https://github.com/richardpiazza/CoreDataPlus.git
Revision (git rev-parse @):
62dc87652cb716ce62c605b0c8b8c6b34f31b2d3
SUCCESS checkout https://github.com/richardpiazza/CoreDataPlus.git at 0.2.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": "coredataplus",
      "name": "CoreDataPlus",
      "url": "https://github.com/richardpiazza/CoreDataPlus.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CoreDataPlus",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/richardpiazza/CoreDataPlus.git
[2/115] Fetching coredataplus
Fetched https://github.com/richardpiazza/CoreDataPlus.git from cache (0.79s)
Creating working copy for https://github.com/richardpiazza/CoreDataPlus.git
Working copy of https://github.com/richardpiazza/CoreDataPlus.git resolved at 0.2.0 (62dc876)
warning: '.resolve-product-dependencies': dependency 'coredataplus' 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/richardpiazza/CoreDataPlus.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/18] Compiling CoreDataPlus Persistence.swift
[4/18] Compiling CoreDataPlus ModelVersion.swift
[5/19] Compiling CoreDataPlus String+FileExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataPlus/Migrator.swift:11:14: warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
 9 |         case unidentifiedSource
10 |         case noMigrationPath
11 |         case mapping(source: Catalog.Version, destination: Catalog.Version)
   |              `- warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
12 |     }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataPlus/Migrator.swift:11:14: warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
 9 |         case unidentifiedSource
10 |         case noMigrationPath
11 |         case mapping(source: Catalog.Version, destination: Catalog.Version)
   |              `- warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
12 |     }
13 |
[6/19] Compiling CoreDataPlus Migrator.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataPlus/Migrator.swift:11:14: warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
 9 |         case unidentifiedSource
10 |         case noMigrationPath
11 |         case mapping(source: Catalog.Version, destination: Catalog.Version)
   |              `- warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
12 |     }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataPlus/Migrator.swift:11:14: warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
 9 |         case unidentifiedSource
10 |         case noMigrationPath
11 |         case mapping(source: Catalog.Version, destination: Catalog.Version)
   |              `- warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
12 |     }
13 |
[7/19] Compiling CoreDataPlus ModelCatalog.swift
[8/19] Compiling CoreDataPlus NSManagedObjectContext+CoreDataPlus.swift
[9/19] Compiling CoreDataPlus NSPersistentContainer+Checkpoint.swift
[10/19] Emitting module CoreDataPlus
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataPlus/Migrator.swift:11:14: warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
 9 |         case unidentifiedSource
10 |         case noMigrationPath
11 |         case mapping(source: Catalog.Version, destination: Catalog.Version)
   |              `- warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
12 |     }
13 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataPlus/Migrator.swift:11:14: warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
 9 |         case unidentifiedSource
10 |         case noMigrationPath
11 |         case mapping(source: Catalog.Version, destination: Catalog.Version)
   |              `- warning: associated value 'mapping(source:destination:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'Catalog.Version'; this is an error in the Swift 6 language mode
12 |     }
13 |
[11/19] Compiling CoreDataPlus NSAttributeDescription+CoreDataPlus.swift
[12/19] Compiling CoreDataPlus NSEntityDescription+CoreDataPlus.swift
[13/19] Compiling CoreDataPlus NSEntityMapping+CoreDataPlus.swift
[14/19] Compiling CoreDataPlus NSManagedObject+CoreDataPlus.swift
[15/19] Compiling CoreDataPlus CatalogContainer.swift
[16/19] Compiling CoreDataPlus Bundle+Resources.swift
[17/19] Compiling CoreDataPlus NSPropertyMapping+CoreDataPlus.swift
[18/19] Compiling CoreDataPlus NSRelationshipDescription+CoreDataPlus.swift
[19/19] Compiling CoreDataPlus StoreURL.swift
Build complete! (15.10s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoreDataPlus",
  "name" : "CoreDataPlus",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "CoreDataPlus",
      "targets" : [
        "CoreDataPlus"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CoreDataPlusTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataPlusTests",
      "path" : "Tests/CoreDataPlusTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/CoreDataPlusTests/Resources/CoreDataPlus_1.0.momd_precompiled",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/CoreDataPlusTests/Resources/CoreDataPlus_1.0.xcdatamodeld",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/CoreDataPlusTests/Resources/CoreDataPlus_1.1.momd_precompiled",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/CoreDataPlusTests/Resources/CoreDataPlus_1.1.xcdatamodeld",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/CoreDataPlusTests/Resources/Model_1_0_to_1_1.cdm_precompiled",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/CoreDataPlusTests/Resources/Model_1_0_to_1_1.xcmappingmodel",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CoreDataPlusTests.swift",
        "Data+Hex.swift",
        "Models/AuthorV1_0.swift",
        "Models/AuthorV1_1.swift",
        "Models/BookV1_0.swift",
        "Models/BookV1_1.swift"
      ],
      "target_dependencies" : [
        "CoreDataPlus"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreDataPlus",
      "module_type" : "SwiftTarget",
      "name" : "CoreDataPlus",
      "path" : "Sources/CoreDataPlus",
      "product_memberships" : [
        "CoreDataPlus"
      ],
      "sources" : [
        "CatalogContainer.swift",
        "Extensions/Bundle+Resources.swift",
        "Extensions/NSAttributeDescription+CoreDataPlus.swift",
        "Extensions/NSEntityDescription+CoreDataPlus.swift",
        "Extensions/NSEntityMapping+CoreDataPlus.swift",
        "Extensions/NSManagedObject+CoreDataPlus.swift",
        "Extensions/NSManagedObjectContext+CoreDataPlus.swift",
        "Extensions/NSPersistentContainer+Checkpoint.swift",
        "Extensions/NSPropertyMapping+CoreDataPlus.swift",
        "Extensions/NSRelationshipDescription+CoreDataPlus.swift",
        "Extensions/String+FileExtensions.swift",
        "Migrator.swift",
        "ModelCatalog.swift",
        "ModelVersion.swift",
        "Persistence.swift",
        "StoreURL.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.