The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SlidingToggleButton, reference v1.0.0 (663053), with Swift 6.1 for Linux on 28 Nov 2025 21:11:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/realm/SwiftLint
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/157484] Fetching swiftlint
[3151/173117] Fetching swiftlint, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (5.36s)
[26703/157484] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (54.07s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.62.2 (65.59s)
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/Yams.git
Fetching https://github.com/jpsim/SourceKitten.git
[1/101] Fetching collectionconcurrencykit
[102/1030] Fetching collectionconcurrencykit, swiftytexttable
[1031/14135] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift
[2866/25398] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, yams
[9751/41544] Fetching collectionconcurrencykit, swiftytexttable, cryptoswift, yams, sourcekitten
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (7.80s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (8.45s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (8.48s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (8.49s)
Fetched https://github.com/jpsim/Yams.git from cache (8.51s)
[1/16860] Fetching swift-argument-parser
[16861/89844] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (7.14s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (9.94s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (28.60s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (6.27s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (5.15s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (1.13s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2851] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.87s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.47s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (0.52s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/realm/SwiftLint at 0.59.1 (2.15s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.0 (1.55s)
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.70s)
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.62s)
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.35s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.93s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.87s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.56s)
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/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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
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/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/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
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/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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
[8/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
[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-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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 linux