The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DotLottie, reference v0.16.9 (ddc69d), with Swift 6.3 for Wasm on 14 Aug 2026 23:46:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LottieFiles/dotlottie-ios.git
Reference: v0.16.9
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.16.9    -> FETCH_HEAD
HEAD is now at ddc69d0 chore: upgrade dotlottie-rs to 3bb9d23 (#143)
Submodule path 'deps/dotlottie-rs': checked out '3bb9d23567ae79d5956c6fd54a740efe3afb50a4'
Submodule path 'deps/dotlottie-rs/dotlottie-rs/deps/thorvg': checked out '1902b3be04ff4883eadd7843d9125584637e45f1'
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 @):
ddc69d0ae3a90894b15b5a925c73232ff1d94307
SUCCESS checkout https://github.com/LottieFiles/dotlottie-ios.git at v0.16.9
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/LottieFiles/dotlottie-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
[1/1] Compiling plugin BuildCustomFramework
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/21] 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 | import QuartzCore
[5/23] 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 | import QuartzCore
[6/23] Compiling DotLottie WgpuContext.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 | import QuartzCore
[7/23] 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 | import QuartzCore
[8/23] 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 | import QuartzCore
[9/23] 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 | import QuartzCore
[10/23] 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 | import QuartzCore
[11/23] 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 | import QuartzCore
[12/23] 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 | import QuartzCore
[13/23] 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 | import QuartzCore
[14/23] 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 | import QuartzCore
[15/23] 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 | import QuartzCore
[16/23] Compiling DotLottie DotLottieWebGPUPlayerView.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 | import QuartzCore
[17/23] Compiling DotLottie DotLottieWebGPUView.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 | import QuartzCore
[18/23] 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 | import QuartzCore
[19/23] 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 | import QuartzCore
[20/23] 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 | import QuartzCore
[21/23] 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 | import QuartzCore
[22/23] 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 | import QuartzCore
[23/23] 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 | import QuartzCore
BUILD FAILURE 6.3 wasm