The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build librlottie, reference master (4ae1ba), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 21:28:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/librlottie-Xcode.git
Reference: master
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/SDWebImage/librlottie-Xcode
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4ae1ba2 Bumped the version to 0.2.1
Submodule path 'rlottie': checked out '3cd00151cfb961e8dc4b55cdaa9b35b95c86879e'
Submodule 'rlottie' (https://github.com/Samsung/rlottie.git) registered for path 'rlottie'
Cloning into '/host/spi-builder-workspace/rlottie'...
Cloned https://github.com/SDWebImage/librlottie-Xcode.git
Revision (git rev-parse @):
4ae1ba205910c804ee2d4cd7dd7f122964fe3aad
SUCCESS checkout https://github.com/SDWebImage/librlottie-Xcode.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SDWebImage/librlottie-Xcode.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/34] Compiling vdrawhelper_neon.cpp
In file included from /host/spi-builder-workspace/rlottie/src/vector/vrle.cpp:24:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vrle.h:28:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vglobal.h:69:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vdebug.h:26:
/host/spi-builder-workspace/generate/config.h:4:9: fatal error: 'TargetConditionals.h' file not found
    4 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/34] Compiling vrle.cpp
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottieanimation.cpp:22:
/host/spi-builder-workspace/generate/config.h:4:9: fatal error: 'TargetConditionals.h' file not found
    4 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[1/34] Compiling lottieanimation.cpp
[1/34] Compiling vrect.cpp
[1/34] Compiling vbitmap.cpp
[1/34] Compiling lottieitem.cpp
[1/34] Compiling lottieitem_capi.cpp
[1/34] Compiling lottieanimation_capi.cpp
[1/34] Compiling vbrush.cpp
BUILD FAILURE 6.2 wasm