Build Information
Failed to build DotLottie, reference main (a1bcc5), with Swift 6.2 for Wasm on 27 Apr 2026 18:08:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 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: wasm
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-4609320-0":/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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
[1/1] Compiling plugin BuildCustomFramework
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] 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 |
[5/18] 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 |
[6/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 |
[7/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 |
[8/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 |
[9/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 |
[10/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 |
[11/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 |
[12/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 |
[13/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 |
[14/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 |
[15/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/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 |
[17/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 |
[18/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 |
[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 wasm