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 (52a58f), with Swift 6.1 for Wasm on 30 May 2025 06:25:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/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 52a58f7 Merge pull request #15 from mattmassicotte/patch-1
Cloned https://github.com/Dean151/ButtonKit.git
Revision (git rev-parse @):
52a58f78ac78b487604e5e2f776978724e1ed74d
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+Async.swift",
        "Internal/BarProgressView.swift",
        "Internal/CircularProgressView.swift",
        "Internal/IndeterminateProgressView.swift",
        "Modifiers/Button+AsyncDisabled.swift",
        "Modifiers/Button+AsyncError.swift",
        "Modifiers/Button+AsyncTask.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+Trailing.swift",
        "Style/Button+AsyncStyle.swift",
        "Style/Button+ThrowableStyle.swift",
        "Style/Throwable/ThrowableStyle+None.swift",
        "Style/Throwable/ThrowableStyle+Shake.swift",
        "Trigger/Trigger+Environment.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] 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/26] 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/26] 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 |
[6/26] 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 |
[7/26] Compiling ButtonKit Button+Async.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/26] 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 |
[9/26] 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 |
[10/26] 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 |
[11/26] 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 |
[12/26] 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 |
[13/26] 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 |
[14/26] 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 |
[15/26] 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 |
[16/26] 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 |
[17/26] 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 |
[18/26] 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 |
[19/26] 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 |
[20/26] 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 |
[21/26] Compiling ButtonKit Button+AsyncError.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/26] Compiling ButtonKit Button+AsyncTask.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/26] 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 |
[24/26] 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 |
[25/26] 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 |
[26/26] 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-4606859-0":/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/23] Compiling ButtonKit Button+AsyncError.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/23] Compiling ButtonKit Button+AsyncTask.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/23] 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 |
[5/23] 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 |
[6/23] 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 |
[7/23] 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 |
[8/25] 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 |
[9/25] 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 |
[10/25] 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 |
[11/25] 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 |
[12/25] 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 |
[13/25] 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 |
[14/25] 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 |
[15/25] 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 |
[16/25] 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 |
[17/25] 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 |
[18/25] 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 |
[19/25] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/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 |
[21/25] 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 |
[22/25] Compiling ButtonKit Button+Async.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/25] 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 |
[24/25] 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 |
[25/25] 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 |
BUILD FAILURE 6.1 wasm