The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Sworm, reference main (11a1f8), with Swift 6.1 for Wasm on 28 May 2025 09:59:40 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/prisma-ai/Sworm.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/prisma-ai/Sworm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 11a1f8b fix ci
Cloned https://github.com/prisma-ai/Sworm.git
Revision (git rev-parse @):
11a1f8bec87180084572951019a5537214156eb5
SUCCESS checkout https://github.com/prisma-ai/Sworm.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/prisma-ai/Sworm.git
https://github.com/prisma-ai/Sworm.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sworm",
  "name" : "Sworm",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "Sworm",
      "targets" : [
        "Sworm"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwormTools",
      "targets" : [
        "SwormTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwormTools",
      "module_type" : "SwiftTarget",
      "name" : "SwormTools",
      "path" : "Sources/SwormTools",
      "product_memberships" : [
        "SwormTools"
      ],
      "sources" : [
        "Extensions.swift",
        "ExternalBinaryDataEntityMigrationPolicy.swift",
        "ProgressiveMigration.swift",
        "StoreDescription.swift",
        "TestTool.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwormTests",
      "module_type" : "SwiftTarget",
      "name" : "SwormTests",
      "path" : "Tests/SwormTests",
      "sources" : [
        "AttributeTests.swift",
        "DataModels/DataModels.swift",
        "DataModels/V0V1MigrationPolicy.swift",
        "DataModels/V1V2MigrationPolicy.swift",
        "MigrationsTests.swift",
        "Models/Attributes.swift",
        "Models/Models+CoreData.swift",
        "Models/Models.swift",
        "Models/Repo.swift",
        "OtherTests.swift",
        "PredicateTests.swift",
        "ReadWriteTests.swift",
        "RepoTests.swift",
        "UnsafeTests.swift",
        "Utils/TestDB.swift"
      ],
      "target_dependencies" : [
        "Sworm",
        "SwormTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sworm",
      "module_type" : "SwiftTarget",
      "name" : "Sworm",
      "path" : "Sources/Sworm",
      "product_memberships" : [
        "Sworm"
      ],
      "sources" : [
        "Attributes/Attribute.swift",
        "Attributes/AttributeError.swift",
        "Attributes/Decode.swift",
        "Attributes/Primitives.swift",
        "Attributes/Protocols.swift",
        "Attributes/RawRepresentable.swift",
        "Extensions.swift",
        "ManagedObjectConvertible.swift",
        "PersistentContainer.swift",
        "Relations.swift",
        "Requests/ComparisonPredicate.swift",
        "Requests/CompoundPredicate.swift",
        "Requests/InversePredicate.swift",
        "Requests/Operators.swift",
        "Requests/Predicate.swift",
        "Requests/Query.swift",
        "Requests/Request.swift",
        "Requests/TextPredicate.swift",
        "Wrappers/ManagedObject.swift",
        "Wrappers/ManagedObjectContext.swift",
        "Wrappers/ManagedObjectSet.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/29] Emitting module Sworm
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[5/31] Compiling SwormTools TestTool.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[6/31] Compiling SwormTools StoreDescription.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[7/31] Compiling Sworm Relations.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[8/31] Compiling Sworm ComparisonPredicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[9/31] Compiling Sworm CompoundPredicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/31] Emitting module SwormTools
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[11/31] Compiling Sworm ManagedObjectContext.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[12/31] Compiling Sworm ManagedObjectSet.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[13/31] Compiling Sworm InversePredicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[14/31] Compiling Sworm Operators.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[15/31] Compiling Sworm Predicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[16/31] Compiling SwormTools ProgressiveMigration.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[17/31] Compiling Sworm Extensions.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[18/31] Compiling Sworm ManagedObjectConvertible.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[19/31] Compiling Sworm PersistentContainer.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[20/31] Compiling SwormTools Extensions.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[21/31] Compiling SwormTools ExternalBinaryDataEntityMigrationPolicy.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[22/31] Compiling Sworm TextPredicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[23/31] Compiling Sworm ManagedObject.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[24/31] Compiling Sworm Query.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[25/31] Compiling Sworm Request.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[26/31] Compiling Sworm Attribute.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[27/31] Compiling Sworm AttributeError.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[28/31] Compiling Sworm Decode.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SwormTests/DataModels/RepoDataModel.xcdatamodeld
    /host/spi-builder-workspace/Tests/SwormTests/DataModels/PredicateDataModel.xcdatamodeld
    /host/spi-builder-workspace/Tests/SwormTests/DataModels/BLOBModel.xcdatamodeld
    /host/spi-builder-workspace/Tests/SwormTests/DataModels/MigratableDataModel.xcdatamodeld
    /host/spi-builder-workspace/Tests/SwormTests/DataModels/V0V1.xcmappingmodel
    /host/spi-builder-workspace/Tests/SwormTests/DataModels/V1V2.xcmappingmodel
    /host/spi-builder-workspace/Tests/SwormTests/DataModels/AttributeSetsDataModel.xcdatamodeld
    /host/spi-builder-workspace/Tests/SwormTests/DataModels/BookLibraryDataModel.xcdatamodeld
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/27] Emitting module Sworm
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[3/29] Compiling Sworm Extensions.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[4/29] Compiling Sworm ManagedObjectConvertible.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[5/29] Compiling Sworm PersistentContainer.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[6/29] Compiling Sworm Relations.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[7/29] Compiling Sworm ComparisonPredicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[8/29] Compiling Sworm CompoundPredicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/29] Emitting module SwormTools
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[10/29] Compiling SwormTools Extensions.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[11/29] Compiling SwormTools TestTool.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[12/29] Compiling SwormTools StoreDescription.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[13/29] Compiling Sworm ManagedObjectContext.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[14/29] Compiling Sworm ManagedObjectSet.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[15/29] Compiling SwormTools ProgressiveMigration.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[16/29] Compiling SwormTools ExternalBinaryDataEntityMigrationPolicy.swift
/host/spi-builder-workspace/Sources/SwormTools/Extensions.swift:1:8: error: no such module 'CoreData'
  1 | import CoreData
    |        `- error: no such module 'CoreData'
  2 |
  3 | public extension URL {
[17/29] Compiling Sworm Query.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[18/29] Compiling Sworm Request.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[19/29] Compiling Sworm InversePredicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[20/29] Compiling Sworm Operators.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[21/29] Compiling Sworm Predicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[22/29] Compiling Sworm TextPredicate.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
[23/29] Compiling Sworm ManagedObject.swift
/host/spi-builder-workspace/Sources/Sworm/Attributes/Attribute.swift:1:8: error: no such module 'CoreData'
 1 | import CoreData
   |        `- error: no such module 'CoreData'
 2 |
 3 | public final class Attribute<PlainObject: ManagedObjectConvertible>: Hashable {
BUILD FAILURE 6.1 wasm