The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-4606859-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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 (54.17s)
Fetched https://github.com/realm/SwiftLint from cache (55.58s)
Computing version for https://github.com/realm/SwiftLint
Computed https://github.com/realm/SwiftLint at 0.62.2 (62.69s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
[1/929] Fetching swiftytexttable
[438/17075] Fetching swiftytexttable, sourcekitten
[758/17176] Fetching swiftytexttable, sourcekitten, collectionconcurrencykit
[1354/30281] Fetching swiftytexttable, sourcekitten, collectionconcurrencykit, cryptoswift
[4088/41548] Fetching swiftytexttable, sourcekitten, collectionconcurrencykit, cryptoswift, yams
[21094/114563] Fetching swiftytexttable, sourcekitten, collectionconcurrencykit, cryptoswift, yams, swift-syntax
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (7.63s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/16877] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.19s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (16.43s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (16.49s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (16.49s)
Fetched https://github.com/jpsim/Yams.git from cache (16.52s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (16.53s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (30.76s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (5.48s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.36s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (0.44s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.33s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.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 (0.39s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (0.41s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/realm/SwiftLint at 0.59.1 (2.50s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.0 (0.64s)
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.51s)
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.43s)
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.34s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.72s)
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.76s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.7.0 (1.16s)
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/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
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/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/realm/SwiftLint
Working copy of https://github.com/realm/SwiftLint resolved at 0.59.1
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/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/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/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/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.1
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
[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--6B0C4D200E742BB1.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 android