The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SlidingToggleButton, reference v1.0.0 (663053), with Swift 6.1 for Wasm on 28 Nov 2025 21:13:11 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/TahaTesser/SlidingToggleButton.git
Reference: v1.0.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/TahaTesser/SlidingToggleButton
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 6630536 chore(release): update CHANGELOG.md for v1.0.0
Cloned https://github.com/TahaTesser/SlidingToggleButton.git
Revision (git rev-parse @):
663053649464a14bde2e34f8071309cc846e105c
SUCCESS checkout https://github.com/TahaTesser/SlidingToggleButton.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/TahaTesser/SlidingToggleButton.git
https://github.com/TahaTesser/SlidingToggleButton.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.17.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    },
    {
      "identity" : "swiftlint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.57.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/realm/SwiftLint"
    }
  ],
  "manifest_display_name" : "SlidingToggleButton",
  "name" : "SlidingToggleButton",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SlidingToggleButton",
      "targets" : [
        "SlidingToggleButton"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SlidingToggleButtonTests",
      "module_type" : "SwiftTarget",
      "name" : "SlidingToggleButtonTests",
      "path" : "Tests/SlidingToggleButtonTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "BenchmarkTests.swift",
        "SlidingToggleButtonTests.swift",
        "SnapshotTests.swift"
      ],
      "target_dependencies" : [
        "SlidingToggleButton"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SlidingToggleButton",
      "module_type" : "SwiftTarget",
      "name" : "SlidingToggleButton",
      "path" : "Sources/SlidingToggleButton",
      "product_memberships" : [
        "SlidingToggleButton"
      ],
      "sources" : [
        "SlidingToggleButton.swift",
        "SlidingToggleButtonDefaults.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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 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
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/realm/SwiftLint
[1/157490] Fetching swiftlint
[1576/173123] Fetching swiftlint, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (36.55s)
Fetched https://github.com/realm/SwiftLint from cache (38.00s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.62.2 (45.36s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/jpsim/Yams.git
[1/929] Fetching swiftytexttable
[930/12192] Fetching swiftytexttable, yams
[931/28338] Fetching swiftytexttable, yams, sourcekitten
[1802/28439] Fetching swiftytexttable, yams, sourcekitten, collectionconcurrencykit
[4242/41544] Fetching swiftytexttable, yams, sourcekitten, collectionconcurrencykit, cryptoswift
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (1.90s)
[16016/41443] Fetching swiftytexttable, yams, sourcekitten, cryptoswift
Fetching https://github.com/apple/swift-argument-parser.git
[25688/58303] Fetching swiftytexttable, yams, sourcekitten, cryptoswift, swift-argument-parser
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (7.12s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.23s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (7.14s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (7.17s)
Fetched https://github.com/jpsim/Yams.git from cache (7.84s)
[1/72984] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.24s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (16.95s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.95s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (3.34s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (0.68s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2851] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.13s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.77s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (1.18s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (0.99s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/realm/SwiftLint at 0.59.1 (0.85s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.0 (0.76s)
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.00s)
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.00s)
Computed https://github.com/jpsim/SourceKitten.git at 0.37.1 (0.59s)
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.00s)
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.00s)
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.59s)
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.00s)
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.00s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.29s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.04s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.46s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (2.04s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.7.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.0
Creating working copy for https://github.com/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/9] Compiling SlidingToggleButton SlidingToggleButtonDefaults.swift
/host/spi-builder-workspace/Sources/SlidingToggleButton/SlidingToggleButton.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | // MARK: - SlidingToggleButton
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] Emitting module SlidingToggleButton
/host/spi-builder-workspace/Sources/SlidingToggleButton/SlidingToggleButton.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | // MARK: - SlidingToggleButton
[9/9] Compiling SlidingToggleButton SlidingToggleButton.swift
/host/spi-builder-workspace/Sources/SlidingToggleButton/SlidingToggleButton.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | // MARK: - SlidingToggleButton
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
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module SlidingToggleButton
/host/spi-builder-workspace/Sources/SlidingToggleButton/SlidingToggleButton.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | // MARK: - SlidingToggleButton
[7/8] Compiling SlidingToggleButton SlidingToggleButtonDefaults.swift
/host/spi-builder-workspace/Sources/SlidingToggleButton/SlidingToggleButton.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | // MARK: - SlidingToggleButton
[8/8] Compiling SlidingToggleButton SlidingToggleButton.swift
/host/spi-builder-workspace/Sources/SlidingToggleButton/SlidingToggleButton.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | // MARK: - SlidingToggleButton
BUILD FAILURE 6.1 wasm