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 SDWebImageWebPCoder, reference 0.14.6 (f534cf), with Swift 6.1 for Wasm on 29 May 2025 07:35:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/SDWebImageWebPCoder.git
Reference: 0.14.6
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/SDWebImageWebPCoder
 * tag               0.14.6     -> FETCH_HEAD
HEAD is now at f534cfe Bumped version to 0.14.6
Cloned https://github.com/SDWebImage/SDWebImageWebPCoder.git
Revision (git rev-parse @):
f534cfe830a7807ecc3d0332127a502426cfa067
SUCCESS checkout https://github.com/SDWebImage/SDWebImageWebPCoder.git at 0.14.6
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SDWebImage/SDWebImageWebPCoder.git
https://github.com/SDWebImage/SDWebImageWebPCoder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sdwebimage",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.17.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/SDWebImage.git"
    },
    {
      "identity" : "libwebp-xcode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libwebp-Xcode.git"
    }
  ],
  "manifest_display_name" : "SDWebImageWebPCoder",
  "name" : "SDWebImageWebPCoder",
  "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" : "SDWebImageWebPCoder",
      "targets" : [
        "SDWebImageWebPCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SDWebImageWebPCoder",
      "module_type" : "ClangTarget",
      "name" : "SDWebImageWebPCoder",
      "path" : ".",
      "product_dependencies" : [
        "SDWebImage",
        "libwebp"
      ],
      "product_memberships" : [
        "SDWebImageWebPCoder"
      ],
      "sources" : [
        "SDWebImageWebPCoder/Classes/SDImageWebPCoder.m",
        "SDWebImageWebPCoder/Classes/SDWebImageWebPCoderDefine.m",
        "SDWebImageWebPCoder/Classes/UIImage+WebP.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
Fetching https://github.com/SDWebImage/libwebp-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/274] Fetching libwebp-xcode
[275/26004] Fetching libwebp-xcode, sdwebimage
Fetched https://github.com/SDWebImage/libwebp-Xcode.git from cache (2.23s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.28s)
Computing version for https://github.com/SDWebImage/libwebp-Xcode.git
Computed https://github.com/SDWebImage/libwebp-Xcode.git at 1.5.0 (3.17s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.0 (0.67s)
Creating working copy for https://github.com/SDWebImage/libwebp-Xcode.git
Working copy of https://github.com/SDWebImage/libwebp-Xcode.git resolved at 1.5.0
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.0
Building for debugging...
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/SDWebImageWebPCoderDefine.m:8:
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/SDWebImageWebPCoderDefine.h:10:
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 SDWebImageWebPCoderDefine.m
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/UIImage+WebP.m:9:
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/UIImage+WebP.h:10:
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 UIImage+WebP.m
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/SDImageWebPCoder.m:9:
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h:10:
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 SDImageWebPCoder.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/SDWebImageWebPCoder/Classes/UIImage+WebP.m:9:
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/UIImage+WebP.h:10:
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 UIImage+WebP.m
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/SDWebImageWebPCoderDefine.m:8:
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/SDWebImageWebPCoderDefine.h:10:
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 SDWebImageWebPCoderDefine.m
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/SDImageWebPCoder.m:9:
In file included from /host/spi-builder-workspace/SDWebImageWebPCoder/Classes/SDImageWebPCoder.h:10:
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 SDImageWebPCoder.m
BUILD FAILURE 6.1 wasm