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 SDWebImageAVIFCoder, reference 0.11.0 (715df4), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 14:33:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/SDWebImageAVIFCoder.git
Reference: 0.11.0
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/SDWebImageAVIFCoder
 * tag               0.11.0     -> FETCH_HEAD
HEAD is now at 715df4a Bumped version to 0.11.0
Cloned https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Revision (git rev-parse @):
715df4ace986e1fb332c8c28b45b73dba6a40e5a
SUCCESS checkout https://github.com/SDWebImage/SDWebImageAVIFCoder.git at 0.11.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Fetching https://github.com/SDWebImage/libavif-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/507] Fetching libavif-xcode
Fetched https://github.com/SDWebImage/libavif-Xcode.git from cache (0.22s)
[1/25763] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (1.54s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.11.1 (1.97s)
Fetching https://github.com/SDWebImage/libaom-Xcode.git
[1/250] Fetching libaom-xcode
Fetched https://github.com/SDWebImage/libaom-Xcode.git from cache (0.94s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (1.37s)
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git
[1/98] Fetching libvmaf-xcode
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git from cache (0.25s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.3.1 (0.66s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.1 (0.43s)
Creating working copy for https://github.com/SDWebImage/libaom-Xcode.git
Working copy of https://github.com/SDWebImage/libaom-Xcode.git resolved at 2.0.2
Creating working copy for https://github.com/SDWebImage/libavif-Xcode.git
Working copy of https://github.com/SDWebImage/libavif-Xcode.git resolved at 0.11.1
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.1
Creating working copy for https://github.com/SDWebImage/libvmaf-Xcode.git
Working copy of https://github.com/SDWebImage/libvmaf-Xcode.git resolved at 2.3.1
Building for debugging...
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:8:
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
   10 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling SDImageAVIFCoder.m
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Conversion.m:8:
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
   10 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling Conversion.m
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/ColorSpace.m:8:
In file included from /host/spi-builder-workspace/SDWebImageAVIFCoder/Classes/Public/SDImageAVIFCoder.h:9:
In file included from /host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImage.h:10:
/host/spi-builder-workspace/.build/checkouts/SDWebImage/SDWebImage/include/SDWebImage/SDWebImageCompat.h:10:9: fatal error: 'TargetConditionals.h' file not found
   10 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
[0/3] Compiling ColorSpace.m
BUILD FAILURE 6.2 wasm