The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CoreRecord, reference main (3f0e65), with Swift 6.1 for Wasm on 12 Jul 2025 11:09:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stonko1994/CoreRecord.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/stonko1994/CoreRecord
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3f0e65b Merge pull request #4 from stonko1994/feature/add-spm-support
Cloned https://github.com/stonko1994/CoreRecord.git
Revision (git rev-parse @):
3f0e65bfdb0d11bf5001ba6fecb9aa66f2b9b629
SUCCESS checkout https://github.com/stonko1994/CoreRecord.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stonko1994/CoreRecord.git
https://github.com/stonko1994/CoreRecord.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoreRecord",
  "name" : "CoreRecord",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "CoreRecord",
      "targets" : [
        "CoreRecord"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoreRecordCore",
      "targets" : [
        "CoreRecordCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoreRecordCombine",
      "targets" : [
        "CoreRecordCombine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoreRecordMigration",
      "targets" : [
        "CoreRecordMigration"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CoreRecordX",
      "targets" : [
        "CoreRecordX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoreRecordX",
      "module_type" : "SwiftTarget",
      "name" : "CoreRecordX",
      "path" : "CoreRecord+X",
      "product_memberships" : [
        "CoreRecord",
        "CoreRecordX"
      ],
      "sources" : [
        "SwiftUI/CoreRecordInjector.swift",
        "archive/Archivable.swift",
        "primitiveOptional/OptionalRepresentation.swift",
        "remotes/RemoteIdentifiable.swift",
        "sort/Set+Sorted.swift",
        "sort/Sortable.swift",
        "timestamps/ApplicationRecord+TimestampsHaving.swift",
        "timestamps/FieldKey+TimestampsHaving.swift",
        "timestamps/TimestampsHaving.swift"
      ],
      "target_dependencies" : [
        "CoreRecordCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreRecordMigration",
      "module_type" : "SwiftTarget",
      "name" : "CoreRecordMigration",
      "path" : "CoreRecord+Migration",
      "product_memberships" : [
        "CoreRecord",
        "CoreRecordMigration"
      ],
      "sources" : [
        "CoreRecord+Migration.swift",
        "Migration.swift",
        "MigrationRunner.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "CoreRecordCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreRecordCore",
      "module_type" : "SwiftTarget",
      "name" : "CoreRecordCore",
      "path" : "Core",
      "product_memberships" : [
        "CoreRecord",
        "CoreRecordCore",
        "CoreRecordCombine",
        "CoreRecordMigration",
        "CoreRecordX"
      ],
      "sources" : [
        "ApplicationRecord.swift",
        "ConfigurationRecord.swift",
        "CoreRecord.swift",
        "EntityName.swift",
        "FieldKey.swift",
        "NSManagedObject+CoreRecord.swift",
        "NSManagedObject+Exists.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreRecordCombine",
      "module_type" : "SwiftTarget",
      "name" : "CoreRecordCombine",
      "path" : "CoreRecord+Combine",
      "product_memberships" : [
        "CoreRecord",
        "CoreRecordCombine"
      ],
      "sources" : [
        "CoreRecordController.swift"
      ],
      "target_dependencies" : [
        "CoreRecordCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CoreRecord",
      "module_type" : "SwiftTarget",
      "name" : "CoreRecord",
      "path" : "CoreRecord",
      "product_memberships" : [
        "CoreRecord"
      ],
      "sources" : [
        "Imports.swift"
      ],
      "target_dependencies" : [
        "CoreRecordCore",
        "CoreRecordCombine",
        "CoreRecordMigration",
        "CoreRecordX"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/14] Compiling CoreRecordCore EntityName.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[8/14] Compiling CoreRecordCore ConfigurationRecord.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/14] Compiling CoreRecordCore ApplicationRecord.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[10/14] Emitting module CoreRecordCore
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[11/14] Compiling CoreRecordCore CoreRecord.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[12/14] Compiling CoreRecordCore NSManagedObject+Exists.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[13/14] Compiling CoreRecordCore FieldKey.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[14/14] Compiling CoreRecordCore NSManagedObject+CoreRecord.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling CoreRecordCore EntityName.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[3/9] Compiling CoreRecordCore NSManagedObject+Exists.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Emitting module CoreRecordCore
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[5/9] Compiling CoreRecordCore ApplicationRecord.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[6/9] Compiling CoreRecordCore ConfigurationRecord.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[7/9] Compiling CoreRecordCore CoreRecord.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[8/9] Compiling CoreRecordCore NSManagedObject+CoreRecord.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
[9/9] Compiling CoreRecordCore FieldKey.swift
/host/spi-builder-workspace/Core/ApplicationRecord.swift:2:8: error: no such module 'CoreData'
 1 | import Foundation
 2 | import CoreData
   |        `- error: no such module 'CoreData'
 3 |
 4 | open class ApplicationRecord: NSManagedObject {
BUILD FAILURE 6.1 wasm