The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SlidingToggleButton, reference main (c139eb), with Swift 6.2 for Linux on 4 Dec 2025 20:16:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.2-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: 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/TahaTesser/SlidingToggleButton
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c139eb8 Trigger DocC after Release workflow
Cloned https://github.com/TahaTesser/SlidingToggleButton.git
Revision (git rev-parse @):
c139eb8ce99040548dd767be39de3998acc3ddd9
SUCCESS checkout https://github.com/TahaTesser/SlidingToggleButton.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/TahaTesser/SlidingToggleButton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/realm/SwiftLint
[1/157718] Fetching swiftlint
[4733/173351] Fetching swiftlint, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.06s)
[23406/157718] Fetching swiftlint
Fetched https://github.com/realm/SwiftLint from cache (57.24s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.62.2 (63.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/SourceKitten.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
[1/101] Fetching collectionconcurrencykit
[102/1030] Fetching collectionconcurrencykit, swiftytexttable
[1031/17176] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten
[3453/28443] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, yams
[28444/41548] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, yams, cryptoswift
[28445/114563] Fetching collectionconcurrencykit, swiftytexttable, sourcekitten, yams, cryptoswift, swift-syntax
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (9.20s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (9.39s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (9.43s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (12.89s)
Fetched https://github.com/jpsim/Yams.git from cache (13.29s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (13.30s)
[1/16877] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (8.76s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (27.55s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.43s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.52s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (0.50s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.29s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.55s)
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.43s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (0.35s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/realm/SwiftLint at 0.59.1 (0.75s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.0 (0.70s)
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.01s)
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.47s)
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.46s)
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.38s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.78s)
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.81s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.27s)
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/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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
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/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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/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/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/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/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.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 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
[9/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
BUILD FAILURE 6.2 linux