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 master (a74750), with Swift 6.1 for Wasm on 1 Jun 2025 23:52:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/danielsaidi/DeckKit.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a74750d Update documentation
Cloned https://github.com/danielsaidi/DeckKit.git
Revision (git rev-parse @):
a74750da88ab7212ac3da1b14d14dad31c3887df
SUCCESS checkout https://github.com/danielsaidi/DeckKit.git at master
========================================
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-2":/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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 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.
[4/15] 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)
[5/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.
[6/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.
[7/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.
[8/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.
[9/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.
[10/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.
[11/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.
[12/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.
[13/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.
[14/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.
[15/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.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/13] 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.
[3/13] 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.
[4/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.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/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.
[6/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.
[7/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.
[8/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.
[9/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.
[10/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.
[11/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.
[12/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.
[13/14] 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.
[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