The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftUICamera, reference 0.0.5 (8ab5b1), with Swift 6.2 (beta) for Android on 23 Jun 2025 02:28:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/k-arindam/SwiftUICamera.git
Reference: 0.0.5
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/k-arindam/SwiftUICamera
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 8ab5b1a Implemented zoom & focus functionality, core logic changes and  modified example app
Cloned https://github.com/k-arindam/SwiftUICamera.git
Revision (git rev-parse @):
8ab5b1af018e5ff666d00f15333b29e9564f8238
SUCCESS checkout https://github.com/k-arindam/SwiftUICamera.git at 0.0.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/k-arindam/SwiftUICamera.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/swiftlang/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.84s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.4 (4.03s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.76s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/40] Emitting module SwiftUICamera
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[6/44] Compiling SwiftUICamera CustomDivider.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[7/44] Compiling SwiftUICamera GridView.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[8/44] Compiling SwiftUICamera PreviewLayerContainer.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[9/44] Compiling SwiftUICamera SUICameraViewRepresentable.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[10/44] Compiling SwiftUICamera Typealiases.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[11/44] Compiling SwiftUICamera Utils.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[12/44] Compiling SwiftUICamera SUICameraConfig.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[13/44] Compiling SwiftUICamera VQDescription.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[14/44] Compiling SwiftUICamera CameraMode.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[15/44] Compiling SwiftUICamera SUICameraVideoQuality.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[16/44] Compiling SwiftUICamera SUICameraWB.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[17/44] Compiling SwiftUICamera SUICameraZoom.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[18/44] Compiling SwiftUICamera AVCaptureSession+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[19/44] Compiling SwiftUICamera SUICameraCapability.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[20/44] Compiling SwiftUICamera VideoRecording+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[21/44] Compiling SwiftUICamera WB+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[22/44] Compiling SwiftUICamera Zoom+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[23/44] Compiling SwiftUICamera SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[24/44] Compiling SwiftUICamera SUICameraView.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[25/44] Compiling SwiftUICamera ISO+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[26/44] Compiling SwiftUICamera PhotoCapture+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[27/44] Compiling SwiftUICamera PublicMisc+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[28/44] Compiling SwiftUICamera Shared+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[29/44] Compiling SwiftUICamera ShutterSpeed+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[30/44] Compiling SwiftUICamera SUICameraExposure.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[31/44] Compiling SwiftUICamera SUICameraFocus.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[32/44] Compiling SwiftUICamera SUICameraISO.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[33/44] Compiling SwiftUICamera SUICameraShutterSpeed.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[34/44] Compiling SwiftUICamera SUICameraVideoDevice.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[35/44] Compiling SwiftUICamera SUICameraCaptureDevice.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[36/44] Compiling SwiftUICamera SUICameraDataDelegate.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[37/44] Compiling SwiftUICamera CIImageRenderThread.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[38/44] Compiling SwiftUICamera Focus+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[39/44] Compiling SwiftUICamera Frame+SUICameraViewModel.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[40/44] Compiling SwiftUICamera DeviceType.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[41/44] Compiling SwiftUICamera PrecheckResult.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[42/44] Compiling SwiftUICamera PreviewScale.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[43/44] Compiling SwiftUICamera SUICameraAudioDevice.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
[44/44] Compiling SwiftUICamera SUICameraError.swift
/host/spi-builder-workspace/Sources/SwiftUICamera/DataModels/SUICameraConfig.swift:8:8: error: no such module 'AVFoundation'
 6 | //
 7 |
 8 | import AVFoundation
   |        `- error: no such module 'AVFoundation'
 9 |
10 | public struct SUICameraConfig {
BUILD FAILURE 6.2 android