The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SDWebImageHEIFCoder with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-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 from cache
Fetching https://github.com/SDWebImage/libde265-Xcode.git from cache
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetched https://github.com/SDWebImage/libheif-Xcode.git (0.36s)
Fetched https://github.com/SDWebImage/libde265-Xcode.git (0.37s)
Fetched https://github.com/SDWebImage/SDWebImage.git (0.38s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.6.1 (0.48s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.4 (0.43s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.18.5 (0.44s)
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
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.18.5
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sdwebimageheifcoder",
      "name": "SDWebImageHEIFCoder",
      "url": "https://github.com/SDWebImage/SDWebImageHEIFCoder.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImageHEIFCoder",
      "dependencies": [
        {
          "identity": "sdwebimage",
          "name": "SDWebImage",
          "url": "https://github.com/SDWebImage/SDWebImage.git",
          "version": "5.18.5",
          "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImage",
          "dependencies": [
          ]
        },
        {
          "identity": "libheif-xcode",
          "name": "libheif",
          "url": "https://github.com/SDWebImage/libheif-Xcode.git",
          "version": "1.16.2",
          "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libheif-Xcode",
          "dependencies": [
            {
              "identity": "libde265-xcode",
              "name": "libde265",
              "url": "https://github.com/SDWebImage/libde265-Xcode.git",
              "version": "1.0.13",
              "path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libde265-Xcode",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SDWebImage/SDWebImageHEIFCoder.git
[1/982] Fetching sdwebimageheifcoder
Fetched https://github.com/SDWebImage/SDWebImageHEIFCoder.git (5.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/libheif-Xcode.git (0.40s)
Fetched https://github.com/SDWebImage/SDWebImage.git (0.42s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.16.2 (0.41s)
Fetching https://github.com/SDWebImage/libde265-Xcode.git from cache
Fetched https://github.com/SDWebImage/libde265-Xcode.git (0.20s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.13 (0.37s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.18.5 (0.02s)
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.13
Creating working copy for https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Working copy of https://github.com/SDWebImage/SDWebImageHEIFCoder.git resolved at master
Creating working copy for https://github.com/SDWebImage/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.18.5
Creating working copy for https://github.com/SDWebImage/libheif-Xcode.git
Working copy of https://github.com/SDWebImage/libheif-Xcode.git resolved at 1.16.2
warning: '.resolve-product-dependencies': dependency 'sdwebimageheifcoder' is not used by any target
Found 2 product dependencies
  - SDWebImage
  - libheif
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:305:13: warning: incompatible pointer to integer conversion initializing 'uint8_t' (aka 'unsigned char') with an expression of type 'void *' [-Wint-conversion]
    uint8_t profile_buffer = NULL;
            ^                ~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-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]
        error = heif_image_get_raw_color_profile(handle, &profile_buffer);
                                                 ^~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/libheif-Xcode/include/libheif/heif.h:689:77: note: passing argument to parameter 'image' here
struct heif_error heif_image_get_raw_color_profile(const struct heif_image* image,
                                                                            ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:313:28: warning: incompatible pointer to integer conversion assigning to 'uint8_t' (aka 'unsigned char') from 'void *' [-Wint-conversion]
            profile_buffer = NULL;
                           ^ ~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:318:53: warning: incompatible integer to pointer conversion sending 'uint8_t' (aka 'unsigned char') to parameter of type 'const void * _Nullable' [-Wint-conversion]
        NSData *profileData = [NSData dataWithBytes:profile_buffer length:profile_size];
                                                    ^~~~~~~~~~~~~~
/Applications/Xcode-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h:106:54: note: passing argument to parameter 'bytes' here
+ (instancetype)dataWithBytes:(nullable const void *)bytes length:(NSUInteger)length;
                                                     ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-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]
            colorSpaceRef = CGColorSpaceCreateWithICCProfile((__bridge CFDataRef)profileData);
                            ^
/Applications/Xcode-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h:480:38: note: 'CGColorSpaceCreateWithICCProfile' has been explicitly marked deprecated here
CG_EXTERN CGColorSpaceRef __nullable CGColorSpaceCreateWithICCProfile(CFDataRef cg_nullable data)
                                     ^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:434:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
        size_t length = snprintf(NULL, 0, "%d", bitrate);
                                           ~~   ^~~~~~~
                                           %lu
/Applications/Xcode-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageHEIFCoder/Classes/SDImageHEIFCoder.m:436:49: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
        snprintf(bitrate_str, length + 1, "%d", bitrate);
                                           ~~   ^~~~~~~
                                           %lu
/Applications/Xcode-15.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
  __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
                                                             ^~~~~~~~~~~
7 warnings generated.
[0/1] Compiling SDImageHEIFCoder.m
Build complete! (9.44s)
Build complete.
Done.