The Swift Package Index logo.Swift Package Index

Build Information

Failed to build active-record, reference 2.1.0 (7c4fc2), with Swift 6.1 for Wasm on 16 Mar 2026 20:09:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/michalkonturek/active-record.git
Reference: 2.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/michalkonturek/active-record
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at 7c4fc28 Bump version to 2.1.0 in README and CHANGELOG
Cloned https://github.com/michalkonturek/active-record.git
Revision (git rev-parse @):
7c4fc280a3fd4496a2efa7c6890a4e4e465c64da
SUCCESS checkout https://github.com/michalkonturek/active-record.git at 2.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/michalkonturek/active-record.git
https://github.com/michalkonturek/active-record.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "active-record",
  "name" : "active-record",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "ActiveRecord",
      "targets" : [
        "ActiveRecord"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "demo",
      "targets" : [
        "demo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "demo",
      "module_type" : "SwiftTarget",
      "name" : "demo",
      "path" : "Demo",
      "product_memberships" : [
        "demo"
      ],
      "sources" : [
        "Models/Post.swift",
        "Models/Todo.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ActiveRecord"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "active_record_tests",
      "module_type" : "SwiftTarget",
      "name" : "active-record-tests",
      "path" : "Tests/active-record-tests",
      "sources" : [
        "AggregateTests.swift",
        "FindOrCreateTests.swift",
        "Helpers/TestContainer.swift",
        "Models/Article.swift",
        "Models/Course.swift",
        "Models/Item.swift",
        "Models/Module.swift",
        "Models/Post.swift",
        "Models/Student.swift",
        "QueryableTests.swift",
        "SoftDeletableTests.swift",
        "TimestampableTests.swift",
        "UpdateAllTests.swift",
        "UpsertableTests.swift",
        "ValidatableTests.swift"
      ],
      "target_dependencies" : [
        "ActiveRecord"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ActiveRecord",
      "module_type" : "SwiftTarget",
      "name" : "ActiveRecord",
      "path" : "Sources/ActiveRecord",
      "product_memberships" : [
        "ActiveRecord",
        "demo"
      ],
      "sources" : [
        "Errors.swift",
        "Queryable.swift",
        "SoftDeletable.swift",
        "Timestampable.swift",
        "Upsertable.swift",
        "Validatable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling ActiveRecord Validatable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/14] Emitting module ActiveRecord
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[6/14] Compiling ActiveRecord Queryable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[7/14] Compiling ActiveRecord Errors.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[8/14] Compiling ActiveRecord Upsertable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[9/14] Compiling ActiveRecord Timestampable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[10/14] Compiling ActiveRecord SoftDeletable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7b4552feb759c014e60bb7d16019351f72ce4b9f19dbbaa081e1f5551c90672
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling ActiveRecord Validatable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[3/12] Compiling ActiveRecord Upsertable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Emitting module ActiveRecord
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[5/12] Compiling ActiveRecord SoftDeletable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[6/12] Compiling ActiveRecord Errors.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[7/12] Compiling ActiveRecord Timestampable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
[8/12] Compiling ActiveRecord Queryable.swift
/host/spi-builder-workspace/Sources/ActiveRecord/Queryable.swift:2:8: error: no such module 'SwiftData'
  1 | import Foundation
  2 | import SwiftData
    |        `- error: no such module 'SwiftData'
  3 |
  4 | public protocol Queryable: PersistentModel {}
BUILD FAILURE 6.1 wasm