Build Information
Failed to build SwiftUIBackgroundVideo, reference main (33202d), with Swift 6.1 for Android on 18 Apr 2026 23:13:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivan-magda/swiftui-background-video.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/ivan-magda/swiftui-background-video
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 33202d8 Bump actions/upload-pages-artifact from 4 to 5 (#3)
Cloned https://github.com/ivan-magda/swiftui-background-video.git
Revision (git rev-parse @):
33202d8c744b6a56fd95f77557a4a5f872eebc1c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ivan-magda/swiftui-background-video.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ivan-magda/swiftui-background-video.git
https://github.com/ivan-magda/swiftui-background-video.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Emitting module SwiftUIBackgroundVideo
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[4/8] Compiling SwiftUIBackgroundVideo VideoAssetCache.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[5/8] Compiling SwiftUIBackgroundVideo BackgroundVideoUIView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[6/8] Compiling SwiftUIBackgroundVideo BackgroundVideoView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[7/8] Compiling SwiftUIBackgroundVideo VideoPlayerError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[8/8] Compiling SwiftUIBackgroundVideo VideoPlayerState.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling SwiftUIBackgroundVideo VideoPlayerError.swift
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[3/7] Compiling SwiftUIBackgroundVideo VideoAssetCache.swift
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[4/7] Compiling SwiftUIBackgroundVideo BackgroundVideoView.swift
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[5/7] Compiling SwiftUIBackgroundVideo VideoPlayerState.swift
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module SwiftUIBackgroundVideo
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
[7/7] Compiling SwiftUIBackgroundVideo BackgroundVideoUIView.swift
/host/spi-builder-workspace/Sources/SwiftUIBackgroundVideo/BackgroundVideoUIView.swift:1:24: error: no such module 'AVFoundation'
1 | @preconcurrency import AVFoundation
| `- error: no such module 'AVFoundation'
2 | import UIKit
3 |
BUILD FAILURE 6.1 android