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.1 for Wasm on 27 May 2025 22:40:12 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/SDWebImage/librlottie-Xcode.git
https://github.com/SDWebImage/librlottie-Xcode.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "librlottie",
  "name" : "librlottie",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "librlottie",
      "targets" : [
        "librlottie"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "librlottie",
      "module_type" : "ClangTarget",
      "name" : "librlottie",
      "path" : ".",
      "product_memberships" : [
        "librlottie"
      ],
      "sources" : [
        "generate/vdrawhelper_neon.cpp",
        "rlottie/src/binding/c/lottieanimation_capi.cpp",
        "rlottie/src/lottie/lottieanimation.cpp",
        "rlottie/src/lottie/lottieitem.cpp",
        "rlottie/src/lottie/lottieitem_capi.cpp",
        "rlottie/src/lottie/lottiekeypath.cpp",
        "rlottie/src/lottie/lottieloader.cpp",
        "rlottie/src/lottie/lottiemodel.cpp",
        "rlottie/src/lottie/lottieparser.cpp",
        "rlottie/src/lottie/lottieproxymodel.cpp",
        "rlottie/src/vector/freetype/v_ft_math.cpp",
        "rlottie/src/vector/freetype/v_ft_raster.cpp",
        "rlottie/src/vector/freetype/v_ft_stroker.cpp",
        "rlottie/src/vector/stb/stb_image.cpp",
        "rlottie/src/vector/varenaalloc.cpp",
        "rlottie/src/vector/vbezier.cpp",
        "rlottie/src/vector/vbitmap.cpp",
        "rlottie/src/vector/vbrush.cpp",
        "rlottie/src/vector/vdasher.cpp",
        "rlottie/src/vector/vdebug.cpp",
        "rlottie/src/vector/vdrawable.cpp",
        "rlottie/src/vector/vdrawhelper.cpp",
        "rlottie/src/vector/vdrawhelper_common.cpp",
        "rlottie/src/vector/vdrawhelper_sse2.cpp",
        "rlottie/src/vector/velapsedtimer.cpp",
        "rlottie/src/vector/vimageloader.cpp",
        "rlottie/src/vector/vinterpolator.cpp",
        "rlottie/src/vector/vmatrix.cpp",
        "rlottie/src/vector/vpainter.cpp",
        "rlottie/src/vector/vpath.cpp",
        "rlottie/src/vector/vpathmesure.cpp",
        "rlottie/src/vector/vraster.cpp",
        "rlottie/src/vector/vrect.cpp",
        "rlottie/src/vector/vrle.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/34] Compiling vdrawhelper_neon.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.
[1/34] Compiling lottieanimation_capi.cpp
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottiekeypath.cpp:1:
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/34] Compiling lottiekeypath.cpp
[1/34] Compiling lottieloader.cpp
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottiemodel.cpp:23:
In file included from /host/spi-builder-workspace/rlottie/src/lottie/lottiemodel.h:34:
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[1/34] Compiling lottiemodel.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
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/34] Compiling vrle.cpp
[1/34] Compiling lottieitem_capi.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[1/34] Compiling lottieitem.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/rlottie/src/vector/vpathmesure.cpp:23:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vpathmesure.h:26:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vpath.h:27:
In file included from /host/spi-builder-workspace/rlottie/src/vector/vmatrix.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/33] Compiling vpathmesure.cpp
[0/33] Compiling vrle.cpp
[0/33] Compiling vrect.cpp
[0/33] Compiling vinterpolator.cpp
[0/33] Compiling vmatrix.cpp
[0/33] Compiling vpath.cpp
[0/33] Compiling vraster.cpp
[0/33] Compiling vpainter.cpp
BUILD FAILURE 6.1 wasm