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

Failed to build YPersistence, reference 1.1.0 (7de3f7), with Swift 6.1 for Linux on 27 Apr 2025 22:02:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeandtheory/ypersistence-ios.git
Reference: 1.1.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/codeandtheory/ypersistence-ios
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 7de3f7c [1346] Mark functionality for records (#14)
Cloned https://github.com/codeandtheory/ypersistence-ios.git
Revision (git rev-parse @):
7de3f7c4ef82dabd8db12406cfb5b7c004caef45
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/codeandtheory/ypersistence-ios.git at 1.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/codeandtheory/ypersistence-ios.git
https://github.com/codeandtheory/ypersistence-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "YPersistence",
  "name" : "YPersistence",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "YPersistence",
      "targets" : [
        "YPersistence"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "YPersistenceTests",
      "module_type" : "SwiftTarget",
      "name" : "YPersistenceTests",
      "path" : "Tests/YPersistenceTests",
      "sources" : [
        "DataModel/Human/ManagedFruit.swift",
        "DataModel/Human/ManagedGroceryProduct.swift",
        "DataModel/Machine/_ManagedFruit.swift",
        "DataModel/Machine/_ManagedGroceryProduct.swift",
        "DataModel/Mocks/Fruit.swift",
        "DataModel/Mocks/GroceryProduct.swift",
        "Extensions/DispatchQueue+executeOnMainTests.swift",
        "Extensions/NSManagedObjectContext+SaveChangesTests.swift",
        "Extensions/NSManagedObjectModel+initTests.swift",
        "Manager/PersistenceManager+BulkDeleteTests.swift",
        "Manager/PersistenceManager+ClearTests.swift",
        "Manager/PersistenceManager+DeleteTests.swift",
        "Manager/PersistenceManager+FetchTests.swift",
        "Manager/PersistenceManager+SaveTests.swift",
        "Manager/PersistenceManager+SyncTests.swift",
        "Manager/PersistenceManagerBaseTests.swift",
        "Manager/PersistenceManagerTests.swift",
        "Protocols/DataRecordTests.swift",
        "Protocols/SyncRecordTests.swift",
        "SortColumnTests.swift",
        "SortInfoTests.swift"
      ],
      "target_dependencies" : [
        "YPersistence"
      ],
      "type" : "test"
    },
    {
      "c99name" : "YPersistence",
      "module_type" : "SwiftTarget",
      "name" : "YPersistence",
      "path" : "Sources/YPersistence",
      "product_memberships" : [
        "YPersistence"
      ],
      "sources" : [
        "Extensions/DispatchQueue+executeOnMain.swift",
        "Extensions/NSManagedObjectContext+SaveChanges.swift",
        "Extensions/NSManagedObjectModel+init.swift",
        "Manager/PersistenceManager+BulkDelete.swift",
        "Manager/PersistenceManager+Clear.swift",
        "Manager/PersistenceManager+Delete.swift",
        "Manager/PersistenceManager+Fetch.swift",
        "Manager/PersistenceManager+Save.swift",
        "Manager/PersistenceManager+Sync.swift",
        "Manager/PersistenceManager.swift",
        "Protocols/CoreModel.swift",
        "Protocols/DataRecord.swift",
        "Protocols/ModelRepresentable.swift",
        "Protocols/RecordFromModel.swift",
        "Protocols/RecordToModel.swift",
        "Protocols/SyncRecord.swift",
        "SortColumn.swift",
        "SortInfo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module YPersistence
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[4/21] Compiling YPersistence DispatchQueue+executeOnMain.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[5/21] Compiling YPersistence NSManagedObjectContext+SaveChanges.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[6/21] Compiling YPersistence NSManagedObjectModel+init.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[7/21] Compiling YPersistence SortColumn.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[8/21] Compiling YPersistence SortInfo.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[9/21] Compiling YPersistence PersistenceManager+Fetch.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[10/21] Compiling YPersistence PersistenceManager+Save.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[11/21] Compiling YPersistence RecordToModel.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[12/21] Compiling YPersistence SyncRecord.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[13/21] Compiling YPersistence PersistenceManager+Sync.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[14/21] Compiling YPersistence PersistenceManager.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[15/21] Compiling YPersistence ModelRepresentable.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[16/21] Compiling YPersistence RecordFromModel.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[17/21] Compiling YPersistence PersistenceManager+BulkDelete.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[18/21] Compiling YPersistence PersistenceManager+Clear.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[19/21] Compiling YPersistence PersistenceManager+Delete.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[20/21] Compiling YPersistence CoreModel.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[21/21] Compiling YPersistence DataRecord.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/YPersistenceTests/Assets/YPersistence.xcdatamodeld
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] Compiling YPersistence RecordToModel.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[3/18] Compiling YPersistence SyncRecord.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Emitting module YPersistence
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[5/20] Compiling YPersistence ModelRepresentable.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[6/20] Compiling YPersistence RecordFromModel.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[7/20] Compiling YPersistence PersistenceManager+Sync.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[8/20] Compiling YPersistence PersistenceManager.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[9/20] Compiling YPersistence PersistenceManager+Fetch.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[10/20] Compiling YPersistence PersistenceManager+Save.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[11/20] Compiling YPersistence CoreModel.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[12/20] Compiling YPersistence DataRecord.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[13/20] Compiling YPersistence PersistenceManager+BulkDelete.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[14/20] Compiling YPersistence PersistenceManager+Clear.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[15/20] Compiling YPersistence PersistenceManager+Delete.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[16/20] Compiling YPersistence DispatchQueue+executeOnMain.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[17/20] Compiling YPersistence NSManagedObjectContext+SaveChanges.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[18/20] Compiling YPersistence NSManagedObjectModel+init.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[19/20] Compiling YPersistence SortColumn.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
[20/20] Compiling YPersistence SortInfo.swift
/host/spi-builder-workspace/Sources/YPersistence/Extensions/NSManagedObjectContext+SaveChanges.swift:9:8: error: no such module 'CoreData'
 7 | //
 8 |
 9 | import CoreData
   |        `- error: no such module 'CoreData'
10 |
11 | /// Completion handler for `saveChanges(:)` and `saveChangesAndWait(:)`.
BUILD FAILURE 6.1 linux