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 0.2.1 (4ae1ba), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 21:29:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 0.2.1
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
 * tag               0.2.1      -> FETCH_HEAD
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 0.2.1
========================================
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-4606859-2":/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
[1/34] Compiling v_ft_math.cpp
In file included from /host/spi-builder-workspace/rlottie/src/binding/c/lottieanimation_capi.cpp:23:
/host/spi-builder-workspace/rlottie/inc/rlottie.h:410:10: error: no template named 'future' in namespace 'std'
  410 |     std::future<Surface> render(size_t frameNo, Surface surface, bool keepAspectRatio=true);
      |     ~~~~~^
In file included from /host/spi-builder-workspace/rlottie/src/binding/c/lottieanimation_capi.cpp:25:
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[2/34] Compiling lottieanimation_capi.cpp
[2/34] Compiling lottieloader.cpp
In file included from /host/spi-builder-workspace/rlottie/src/vector/vbitmap.cpp:23:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vbitmap.h:26:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vrect.h:25:
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[2/34] Compiling vbitmap.cpp
[2/34] Compiling vrect.cpp
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottieitem.cpp:23:
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottieitem.h:29:
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottiekeypath.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[2/34] Compiling lottieitem.cpp
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottieitem_capi.cpp:9:
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottieitem.h:29:
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottiekeypath.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[2/34] Compiling lottieitem_capi.cpp
In file included from /host/spi-builder-workspace/rlottie/src/vector/vbezier.cpp:23:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vbezier.h:26:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vpoint.h:25:
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[2/34] Compiling vbezier.cpp
[2/34] Compiling vrle.cpp
BUILD FAILURE 6.2 wasm