The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DotLottie, reference v0.15.3 (0ac253), with Swift 6.2 for Android on 20 Apr 2026 09:19:23 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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LottieFiles/dotlottie-ios.git
Reference: v0.15.3
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
 * tag               v0.15.3    -> FETCH_HEAD
HEAD is now at 0ac253f Merge pull request #114 from thomasflad/expose-dotlottieplayer-product
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 @):
0ac253fb9d2d4981c780848b6ce1f824bc8946a1
SUCCESS checkout https://github.com/LottieFiles/dotlottie-ios.git at v0.15.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/LottieFiles/dotlottie-ios.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/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
[1/1] Compiling plugin BuildCustomFramework
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
[4/18] 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 |
[5/18] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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 |
[7/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 |
[8/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 |
[9/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 |
[10/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 |
[11/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 |
[12/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 |
[13/20] 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 |
[14/20] 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 |
[15/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 |
[16/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 |
[17/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 |
[18/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 |
[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 |
BUILD FAILURE 6.2 android