Build Information
Failed to build DotLottie, reference main (a1bcc5), with Swift 6.1 for Android on 27 Apr 2026 18:10:08 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/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/LottieFiles/dotlottie-ios.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/LottieFiles/dotlottie-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a1bcc55 Merge pull request #115 from LottieFiles/fix/notify-docs
Submodule path 'deps/dotlottie-rs': checked out '53e567b843c792dc0aa9e635bbb7b4d0d8b12dc5'
Submodule path 'deps/dotlottie-rs/dotlottie-rs/deps/thorvg': checked out '8e912af4f050e1c25dcddf0c4324779516f7a028'
Submodule 'deps/dotlottie-rs' (https://github.com/Lottiefiles/dotlottie-rs) registered for path 'deps/dotlottie-rs'
Cloning into '/host/spi-builder-workspace/deps/dotlottie-rs'...
Submodule 'dotlottie-rs/deps/thorvg' (https://github.com/thorvg/thorvg.git) registered for path 'deps/dotlottie-rs/dotlottie-rs/deps/thorvg'
Cloning into '/host/spi-builder-workspace/deps/dotlottie-rs/dotlottie-rs/deps/thorvg'...
Cloned https://github.com/LottieFiles/dotlottie-ios.git
Revision (git rev-parse @):
a1bcc55be1fda4d3a30a93610f51aec67d8ba9e4
SUCCESS checkout https://github.com/LottieFiles/dotlottie-ios.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/LottieFiles/dotlottie-ios.git
https://github.com/LottieFiles/dotlottie-ios.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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/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
[1/1] Compiling plugin BuildCustomFramework
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling DotLottie AnimationModel.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[5/18] Compiling DotLottie Player.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[6/20] Compiling DotLottie DotLottieAnimation.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[7/20] Compiling DotLottie DotLottieAnimationView.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[8/20] Compiling DotLottie Coordinator.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/20] Compiling DotLottie DotLottie.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[10/20] Emitting module DotLottie
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[11/20] Compiling DotLottie DotLottieObserver.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[12/20] Compiling DotLottie DotLottiePlayerBridge.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[13/20] Compiling DotLottie LottiePlayerView.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[14/20] Compiling DotLottie AnimationConfig.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[15/20] Compiling DotLottie GestureManager.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[16/20] Compiling DotLottie LottiePlayer.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[17/20] Compiling DotLottie DotLottieView.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[18/20] Compiling DotLottie Errors.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[19/20] Compiling DotLottie Utils.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[20/20] Compiling DotLottie ViewRepresentable.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
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/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
[1/1] Compiling plugin BuildCustomFramework
Building for debugging...
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling DotLottie LottiePlayerView.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[4/17] Compiling DotLottie AnimationConfig.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[5/17] Compiling DotLottie AnimationModel.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[6/17] Compiling DotLottie Player.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[7/19] Compiling DotLottie GestureManager.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[8/19] Compiling DotLottie LottiePlayer.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[9/19] Compiling DotLottie Utils.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[10/19] Compiling DotLottie ViewRepresentable.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/19] Emitting module DotLottie
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[12/19] Compiling DotLottie DotLottieView.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[13/19] Compiling DotLottie Errors.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[14/19] Compiling DotLottie DotLottieAnimation.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[15/19] Compiling DotLottie DotLottieAnimationView.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[16/19] Compiling DotLottie Coordinator.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[17/19] Compiling DotLottie DotLottie.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[18/19] Compiling DotLottie DotLottieObserver.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
[19/19] Compiling DotLottie DotLottiePlayerBridge.swift
/host/spi-builder-workspace/Sources/DotLottie/Public/Coordinator.swift:10:8: error: no such module 'MetalKit'
8 | #if !os(watchOS)
9 | import Foundation
10 | import MetalKit
| `- error: no such module 'MetalKit'
11 | import AVFoundation
12 |
BUILD FAILURE 6.1 android