Build Information
Failed to build SDWebImageHEIFCoder, reference master (7db2c1
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 23:12:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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/libde265-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/276] Fetching libde265-xcode
[239/939] Fetching libde265-xcode, libheif-xcode
[940/26188] Fetching libde265-xcode, libheif-xcode, sdwebimage
Fetched https://github.com/SDWebImage/libheif-Xcode.git from cache (2.72s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.72s)
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (2.72s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.6.1 (0.60s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.4 (0.58s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.20.0 (0.56s)
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/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/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.20.0
========================================
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",
"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",
"dependencies": [
{
"identity": "sdwebimage",
"name": "SDWebImage",
"url": "https://github.com/SDWebImage/SDWebImage.git",
"version": "5.20.0",
"path": "/Users/admin/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.17.0",
"path": "/Users/admin/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.15",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libde265-Xcode",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/SDWebImage/SDWebImageHEIFCoder.git
[10/982] Fetching sdwebimageheifcoder
Fetched https://github.com/SDWebImage/SDWebImageHEIFCoder.git from cache (2.54s)
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetching https://github.com/SDWebImage/libheif-Xcode.git from cache
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (0.73s)
Fetched https://github.com/SDWebImage/libheif-Xcode.git from cache (0.73s)
Computing version for https://github.com/SDWebImage/libheif-Xcode.git
Computed https://github.com/SDWebImage/libheif-Xcode.git at 1.17.0 (0.59s)
Fetching https://github.com/SDWebImage/libde265-Xcode.git from cache
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (0.47s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.15 (0.55s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.20.0 (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.15
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
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/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.20.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.0
Building package at path: $PWD
https://github.com/SDWebImage/SDWebImageHEIFCoder.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
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-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.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-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
57 | __builtin___snprintf_chk (str, len, 0, __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-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf'
57 | __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__)
| ^~~~~~~~~~~
4 warnings and 3 errors generated.
[0/1] Compiling SDImageHEIFCoder.m
BUILD FAILURE 6.0 macosSpm