The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ScreenshotableView, reference master (080eed), with Swift 6.2 for Android on 19 Jun 2025 04:19:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rushairer/ScreenshotableView.git
Reference: master
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/rushairer/ScreenshotableView
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 080eedd [Fixed]Fix bug of example.
Cloned https://github.com/rushairer/ScreenshotableView.git
Revision (git rev-parse @):
080eeddbfa68c0681d708f28c2d642a2b8e99455
SUCCESS checkout https://github.com/rushairer/ScreenshotableView.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/rushairer/ScreenshotableView.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
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.git
[1/13227] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.96s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (2.46s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.43s)
[1/70906] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.76s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (6.40s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.89s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.06s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.46s)
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.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
[3/5] Compiling ScreenshotableView View+Snapshot.swift
/host/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:2:8: error: no such module 'SwiftUI'
 1 |
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 | import UIKit
 4 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module ScreenshotableView
/host/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:2:8: error: no such module 'SwiftUI'
 1 |
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 | import UIKit
 4 |
[5/5] Compiling ScreenshotableView ScreenshotableView.swift
/host/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:2:8: error: no such module 'SwiftUI'
 1 |
 2 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 3 | import UIKit
 4 |
BUILD FAILURE 6.2 android