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 master (1c25e7), with Swift 6.1 for Wasm on 15 Sep 2025 10:15:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageAVIFCoder.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/SDWebImageAVIFCoder
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1c25e7a Bumped version to 0.11.1
Cloned https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Revision (git rev-parse @):
1c25e7aaca8b948d823401c34b2ba2595c96280c
SUCCESS checkout https://github.com/SDWebImage/SDWebImageAVIFCoder.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SDWebImage/SDWebImageAVIFCoder.git
https://github.com/SDWebImage/SDWebImageAVIFCoder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sdwebimage",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.10.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/SDWebImage.git"
    },
    {
      "identity" : "libavif-xcode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libavif-Xcode.git"
    }
  ],
  "manifest_display_name" : "SDWebImageAVIFCoder",
  "name" : "SDWebImageAVIFCoder",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "SDWebImageAVIFCoder",
      "targets" : [
        "SDWebImageAVIFCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SDWebImageAVIFCoder",
      "module_type" : "ClangTarget",
      "name" : "SDWebImageAVIFCoder",
      "path" : ".",
      "product_dependencies" : [
        "SDWebImage",
        "libavif"
      ],
      "product_memberships" : [
        "SDWebImageAVIFCoder"
      ],
      "sources" : [
        "SDWebImageAVIFCoder/Classes/ColorSpace.m",
        "SDWebImageAVIFCoder/Classes/Conversion.m",
        "SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/SDWebImage/libavif-Xcode.git
[1/507] Fetching libavif-xcode
[508/26316] Fetching libavif-xcode, sdwebimage
Fetched https://github.com/SDWebImage/libavif-Xcode.git from cache (0.33s)
[517/25809] Fetching sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.23s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.11.1 (2.83s)
Fetching https://github.com/SDWebImage/libaom-Xcode.git
[1/250] Fetching libaom-xcode
Fetched https://github.com/SDWebImage/libaom-Xcode.git from cache (2.63s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (3.30s)
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git
[1/98] Fetching libvmaf-xcode
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git from cache (0.97s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.3.1 (1.74s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.2 (6.68s)
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
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/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/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.2
Building for debugging...
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/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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/3] Compiling ColorSpace.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
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/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.1 wasm