The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SDWebImageHEIFCoder, reference master (7db2c1), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 01:35:08 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/SDWebImageHEIFCoder
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7db2c1f Merge pull request #25 from SDWebImage/feature_color_profile_metadata
Cloned https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Revision (git rev-parse @):
7db2c1f8c1140f16202714cad2084d535084f512
SUCCESS checkout https://github.com/SDWebImage/SDWebImageHEIFCoder.git at master
Fetching https://github.com/SDWebImage/libheif-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
Fetching https://github.com/SDWebImage/libde265-Xcode.git
[1/663] Fetching libheif-xcode
[8/939] Fetching libheif-xcode, libde265-xcode
[940/26929] Fetching libheif-xcode, libde265-xcode, sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.61s)
Fetched https://github.com/SDWebImage/libheif-Xcode.git from cache (2.61s)
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (2.61s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.6.1 (3.36s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.4 (0.67s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.7 (0.67s)
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.7
Creating working copy for https://github.com/SDWebImage/libde265-Xcode.git
Working copy of https://github.com/SDWebImage/libde265-Xcode.git resolved at 1.0.4
Creating working copy for https://github.com/SDWebImage/libheif-Xcode.git
Working copy of https://github.com/SDWebImage/libheif-Xcode.git resolved at 1.6.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "sdwebimageheifcoder",
      "name": "SDWebImageHEIFCoder",
      "url": "https://github.com/SDWebImage/SDWebImageHEIFCoder.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImageHEIFCoder",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "sdwebimage",
          "name": "SDWebImage",
          "url": "https://github.com/SDWebImage/SDWebImage.git",
          "version": "5.21.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImage",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "libheif-xcode",
          "name": "libheif",
          "url": "https://github.com/SDWebImage/libheif-Xcode.git",
          "version": "1.17.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libheif-Xcode",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "libde265-xcode",
              "name": "libde265",
              "url": "https://github.com/SDWebImage/libde265-Xcode.git",
              "version": "1.0.15",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libde265-Xcode",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SDWebImage/SDWebImageHEIFCoder.git
[1/982] Fetching sdwebimageheifcoder
Fetched https://github.com/SDWebImage/SDWebImageHEIFCoder.git from cache (3.66s)
Fetching https://github.com/SDWebImage/libheif-Xcode.git from cache
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (0.70s)
Fetched https://github.com/SDWebImage/libheif-Xcode.git from cache (0.71s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.17.0 (1.61s)
Fetching https://github.com/SDWebImage/libde265-Xcode.git from cache
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (0.41s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.15 (1.13s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.21.7 (0.05s)
Creating working copy for https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Working copy of https://github.com/SDWebImage/SDWebImageHEIFCoder.git resolved at master (7db2c1f)
Creating working copy for https://github.com/SDWebImage/libde265-Xcode.git
Working copy of https://github.com/SDWebImage/libde265-Xcode.git resolved at 1.0.15
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.21.7
Creating working copy for https://github.com/SDWebImage/libheif-Xcode.git
Working copy of https://github.com/SDWebImage/libheif-Xcode.git resolved at 1.17.0
warning: '.resolve-product-dependencies': dependency 'sdwebimageheifcoder' is not used by any target
Found 2 product dependencies
  - SDWebImage
  - libheif
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
/Users/admin/builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:305:13: error: incompatible pointer to integer conversion initializing 'uint8_t' (aka 'unsigned char') with an expression of type 'void *' [-Wint-conversion]
  305 |     uint8_t profile_buffer = NULL;
      |             ^                ~~~~
/Users/admin/builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:309:50: warning: incompatible pointer types passing 'heif_image_handle *' (aka 'struct heif_image_handle *') to parameter of type 'const struct heif_image *' [-Wincompatible-pointer-types]
  309 |         error = heif_image_get_raw_color_profile(handle, &profile_buffer);
      |                                                  ^~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/libheif-Xcode/include/libheif/heif.h:689:77: note: passing argument to parameter 'image' here
  689 | struct heif_error heif_image_get_raw_color_profile(const struct heif_image* image,
      |                                                                             ^
/Users/admin/builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:313:28: error: incompatible pointer to integer conversion assigning to 'uint8_t' (aka 'unsigned char') from 'void *' [-Wint-conversion]
  313 |             profile_buffer = NULL;
      |                            ^ ~~~~
/Users/admin/builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:318:53: error: incompatible integer to pointer conversion sending 'uint8_t' (aka 'unsigned char') to parameter of type 'const void * _Nullable' [-Wint-conversion]
  318 |         NSData *profileData = [NSData dataWithBytes:profile_buffer length:profile_size];
      |                                                     ^~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h:106:54: note: passing argument to parameter 'bytes' here
  106 | + (instancetype)dataWithBytes:(nullable const void *)bytes length:(NSUInteger)length;
      |                                                      ^
/Users/admin/builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:322:29: warning: 'CGColorSpaceCreateWithICCProfile' is deprecated: first deprecated in macOS 10.13 - No longer supported [-Wdeprecated-declarations]
  322 |             colorSpaceRef = CGColorSpaceCreateWithICCProfile((__bridge CFDataRef)profileData);
      |                             ^
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h:493:38: note: 'CGColorSpaceCreateWithICCProfile' has been explicitly marked deprecated here
  493 | CG_EXTERN CGColorSpaceRef __nullable CGColorSpaceCreateWithICCProfile(CFDataRef cg_nullable data)
      |                                      ^
/Users/admin/builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:434:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  434 |         size_t length = snprintf(NULL, 0, "%d", bitrate);
      |                                            ~~   ^~~~~~~
      |                                            %lu
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/secure/_stdio.h:119:67: note: expanded from macro 'snprintf'
  119 | #define snprintf(str, len, ...) __snprintf_chk_func (str, len, 0, __VA_ARGS__)
      |                                                                   ^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/secure/_stdio.h:76:64: note: expanded from macro '__snprintf_chk_func'
   76 |         __builtin___snprintf_chk (str, len, flag, __darwin_obsz(str), __VA_ARGS__)
      |                                                                       ^~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:436:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  436 |         snprintf(bitrate_str, length + 1, "%d", bitrate);
      |                                            ~~   ^~~~~~~
      |                                            %lu
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/secure/_stdio.h:119:67: note: expanded from macro 'snprintf'
  119 | #define snprintf(str, len, ...) __snprintf_chk_func (str, len, 0, __VA_ARGS__)
      |                                                                   ^~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/usr/include/secure/_stdio.h:76:64: note: expanded from macro '__snprintf_chk_func'
   76 |         __builtin___snprintf_chk (str, len, flag, __darwin_obsz(str), __VA_ARGS__)
      |                                                                       ^~~~~~~~~~~
4 warnings and 3 errors generated.
[0/1] Compiling SDImageHEIFCoder.m
BUILD FAILURE 6.3 macosSpm