The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build DeckKit, reference 1.5.1 (d6a2f6), with Swift 6.1 for Wasm on 14 Jul 2025 17:14:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/danielsaidi/DeckKit.git
Reference: 1.5.1
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/danielsaidi/DeckKit
 * tag               1.5.1      -> FETCH_HEAD
HEAD is now at d6a2f6b Update release notes
Cloned https://github.com/danielsaidi/DeckKit.git
Revision (git rev-parse @):
d6a2f6becd87972a347489c8d994828fe5c38e48
SUCCESS checkout https://github.com/danielsaidi/DeckKit.git at 1.5.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/danielsaidi/DeckKit.git
https://github.com/danielsaidi/DeckKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DeckKit",
  "name" : "DeckKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "DeckKit",
      "targets" : [
        "DeckKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeckKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DeckKitTests",
      "path" : "Tests/DeckKitTests",
      "sources" : [
        "DeckViewConfigurationTests.swift",
        "Favorites/FavoriteContextTests.swift"
      ],
      "target_dependencies" : [
        "DeckKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeckKit",
      "module_type" : "SwiftTarget",
      "name" : "DeckKit",
      "path" : "Sources/DeckKit",
      "product_memberships" : [
        "DeckKit"
      ],
      "sources" : [
        "Animations/DeckShuffleAnimation.swift",
        "CardView.swift",
        "DeckPageView.swift",
        "DeckView.swift",
        "DeckViewConfiguration.swift",
        "Extensions/Array+Identifiable.swift",
        "Favorites/FavoriteContext.swift",
        "Favorites/FavoriteService.swift",
        "Favorites/UserDefaultsFavoriteService.swift",
        "PreviewCard.swift",
        "_Deprecated/Deprecated.swift",
        "_Deprecated/Equatable+Modifiable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling DeckKit PreviewCard.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[4/15] Compiling DeckKit Deprecated.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[5/15] Compiling DeckKit Equatable+Modifiable.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/15] Emitting module DeckKit
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[7/15] Compiling DeckKit UserDefaultsFavoriteService.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[8/15] Compiling DeckKit DeckPageView.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[9/15] Compiling DeckKit DeckView.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[10/15] Compiling DeckKit DeckShuffleAnimation.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[11/15] Compiling DeckKit CardView.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[12/15] Compiling DeckKit DeckViewConfiguration.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[13/15] Compiling DeckKit Array+Identifiable.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[14/15] Compiling DeckKit FavoriteContext.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[15/15] Compiling DeckKit FavoriteService.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/13] Compiling DeckKit UserDefaultsFavoriteService.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[3/14] Compiling DeckKit FavoriteContext.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[4/14] Compiling DeckKit FavoriteService.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[5/14] Compiling DeckKit DeckViewConfiguration.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[6/14] Compiling DeckKit Array+Identifiable.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[7/14] Compiling DeckKit DeckPageView.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[8/14] Compiling DeckKit DeckView.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[9/14] Compiling DeckKit Deprecated.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[10/14] Compiling DeckKit PreviewCard.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/14] Emitting module DeckKit
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[12/14] Compiling DeckKit DeckShuffleAnimation.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[13/14] Compiling DeckKit CardView.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
[14/14] Compiling DeckKit Equatable+Modifiable.swift
/host/spi-builder-workspace/Sources/DeckKit/Animations/DeckShuffleAnimation.swift:9:8: error: no such module 'SwiftUI'
  7 | //
  8 |
  9 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
 10 |
 11 | /// This animation can be used to animate a deck shuffle.
BUILD FAILURE 6.1 wasm