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 ButtonKit, reference main (9dd187), with Swift 6.1 for Wasm on 29 Nov 2025 03:06:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Dean151/ButtonKit.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/Dean151/ButtonKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9dd1878 chore!: stop supporting Swift 5.9
Cloned https://github.com/Dean151/ButtonKit.git
Revision (git rev-parse @):
9dd1878bf61968181fa7a8627cf89effa6d695cf
SUCCESS checkout https://github.com/Dean151/ButtonKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Dean151/ButtonKit.git
https://github.com/Dean151/ButtonKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ButtonKit",
  "name" : "ButtonKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ButtonKit",
      "targets" : [
        "ButtonKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "ButtonKit",
      "module_type" : "SwiftTarget",
      "name" : "ButtonKit",
      "path" : "Sources/ButtonKit",
      "product_memberships" : [
        "ButtonKit"
      ],
      "sources" : [
        "Button+AppIntent.swift",
        "Button+Reader.swift",
        "Button.swift",
        "Internal/BarProgressView.swift",
        "Internal/CircularProgressView.swift",
        "Internal/IndeterminateProgressView.swift",
        "Modifiers/Button+AsyncDisabled.swift",
        "Modifiers/Button+Events.swift",
        "Progress/Progress+Discrete.swift",
        "Progress/Progress+Estimated.swift",
        "Progress/Progress+Indeterminate.swift",
        "Progress/Progress+NSProgress.swift",
        "Progress/Progress.swift",
        "Style/Async/AsyncStyle+Leading.swift",
        "Style/Async/AsyncStyle+None.swift",
        "Style/Async/AsyncStyle+Overlay.swift",
        "Style/Async/AsyncStyle+Pulse.swift",
        "Style/Async/AsyncStyle+SymbolEffect.swift",
        "Style/Async/AsyncStyle+Trailing.swift",
        "Style/Button+AsyncStyle.swift",
        "Style/Button+ThrowableStyle.swift",
        "Style/Throwable/ThrowableStyle+None.swift",
        "Style/Throwable/ThrowableStyle+Shake.swift",
        "Style/Throwable/ThrowableStyle+SymbolEffect.swift",
        "Trigger/Trigger+Environment.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module ButtonKit
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[4/28] Compiling ButtonKit ThrowableStyle+Shake.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[5/28] Compiling ButtonKit ThrowableStyle+SymbolEffect.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[6/28] Compiling ButtonKit Trigger+Environment.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[7/28] Compiling ButtonKit Button+Events.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[8/28] Compiling ButtonKit Progress+Discrete.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[9/28] Compiling ButtonKit Progress+Estimated.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[10/28] Compiling ButtonKit Button+AsyncStyle.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[11/28] Compiling ButtonKit Button+ThrowableStyle.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[12/28] Compiling ButtonKit ThrowableStyle+None.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[13/28] Compiling ButtonKit AsyncStyle+Leading.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[14/28] Compiling ButtonKit AsyncStyle+None.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[15/28] Compiling ButtonKit AsyncStyle+Overlay.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[16/28] Compiling ButtonKit Button+AppIntent.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[17/28] Compiling ButtonKit Button+Reader.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[18/28] Compiling ButtonKit Button.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[19/28] Compiling ButtonKit BarProgressView.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[20/28] Compiling ButtonKit AsyncStyle+Pulse.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[21/28] Compiling ButtonKit AsyncStyle+SymbolEffect.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[22/28] Compiling ButtonKit AsyncStyle+Trailing.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[23/28] Compiling ButtonKit Progress+Indeterminate.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[24/28] Compiling ButtonKit Progress+NSProgress.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[25/28] Compiling ButtonKit Progress.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[26/28] Compiling ButtonKit CircularProgressView.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[27/28] Compiling ButtonKit IndeterminateProgressView.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[28/28] Compiling ButtonKit Button+AsyncDisabled.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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/24] Compiling ButtonKit AsyncStyle+Pulse.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[3/24] Compiling ButtonKit AsyncStyle+SymbolEffect.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[4/24] Compiling ButtonKit AsyncStyle+Trailing.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[5/27] Compiling ButtonKit Button+AsyncStyle.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[6/27] Compiling ButtonKit Button+ThrowableStyle.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[7/27] Compiling ButtonKit ThrowableStyle+None.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[8/27] Compiling ButtonKit AsyncStyle+Leading.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[9/27] Compiling ButtonKit AsyncStyle+None.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[10/27] Compiling ButtonKit AsyncStyle+Overlay.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[11/27] Compiling ButtonKit CircularProgressView.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[12/27] Compiling ButtonKit IndeterminateProgressView.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[13/27] Compiling ButtonKit Button+AsyncDisabled.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[14/27] Compiling ButtonKit Button+Events.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[15/27] Compiling ButtonKit Progress+Discrete.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[16/27] Compiling ButtonKit Progress+Estimated.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[17/27] Compiling ButtonKit Progress+Indeterminate.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[18/27] Compiling ButtonKit Progress+NSProgress.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[19/27] Compiling ButtonKit Progress.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/27] Emitting module ButtonKit
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[21/27] Compiling ButtonKit ThrowableStyle+Shake.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[22/27] Compiling ButtonKit ThrowableStyle+SymbolEffect.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[23/27] Compiling ButtonKit Trigger+Environment.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[24/27] Compiling ButtonKit Button+AppIntent.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[25/27] Compiling ButtonKit Button+Reader.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[26/27] Compiling ButtonKit Button.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
[27/27] Compiling ButtonKit BarProgressView.swift
/host/spi-builder-workspace/Sources/ButtonKit/Button+AppIntent.swift:28:8: error: no such module 'AppIntents'
 26 | //
 27 |
 28 | import AppIntents
    |        `- error: no such module 'AppIntents'
 29 | import SwiftUI
 30 |
BUILD FAILURE 6.1 wasm