Build Information
Failed to build SDWebImageAVIFCoder with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.28.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageAVIFCoder.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/SDWebImageAVIFCoder
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f784fcf Update README.md
Cloned https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Revision (git rev-parse @):
f784fcf7be9e02ec2fb16028d44f5889bbb4cfe9
SUCCESS checkout https://github.com/SDWebImage/SDWebImageAVIFCoder.git at master
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git from cache
Fetching https://github.com/SDWebImage/libavif-Xcode.git from cache
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git (0.27s)
Fetching https://github.com/SDWebImage/libaom-Xcode.git from cache
Fetched https://github.com/SDWebImage/libavif-Xcode.git (0.35s)
Fetched https://github.com/SDWebImage/SDWebImage.git (0.54s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Fetched https://github.com/SDWebImage/libaom-Xcode.git (0.32s)
Computed https://github.com/SDWebImage/SDWebImage.git at 5.10.4 (0.79s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.11.1 (0.65s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (0.76s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.2.0 (0.65s)
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/SDWebImage.git
Working copy of https://github.com/SDWebImage/SDWebImage.git resolved at 5.10.4
Creating working copy for https://github.com/SDWebImage/libvmaf-Xcode.git
Working copy of https://github.com/SDWebImage/libvmaf-Xcode.git resolved at 2.2.0
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
========================================
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": "sdwebimageavifcoder",
"name": "SDWebImageAVIFCoder",
"url": "https://github.com/SDWebImage/SDWebImageAVIFCoder.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImageAVIFCoder",
"dependencies": [
{
"identity": "sdwebimage",
"name": "SDWebImage",
"url": "https://github.com/SDWebImage/SDWebImage.git",
"version": "5.18.7",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImage",
"dependencies": [
]
},
{
"identity": "libavif-xcode",
"name": "libavif",
"url": "https://github.com/SDWebImage/libavif-Xcode.git",
"version": "0.11.1",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libavif-Xcode",
"dependencies": [
{
"identity": "libaom-xcode",
"name": "libaom",
"url": "https://github.com/SDWebImage/libaom-Xcode.git",
"version": "2.0.2",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libaom-Xcode",
"dependencies": [
{
"identity": "libvmaf-xcode",
"name": "libvmaf",
"url": "https://github.com/SDWebImage/libvmaf-Xcode.git",
"version": "2.3.1",
"path": "/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libvmaf-Xcode",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/SDWebImage/SDWebImageAVIFCoder.git
[1/3602] Fetching sdwebimageavifcoder
Fetched https://github.com/SDWebImage/SDWebImageAVIFCoder.git (1.32s)
Fetching https://github.com/SDWebImage/libavif-Xcode.git from cache
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetched https://github.com/SDWebImage/libavif-Xcode.git (0.22s)
Fetched https://github.com/SDWebImage/SDWebImage.git (0.36s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.11.1 (0.04s)
Fetching https://github.com/SDWebImage/libaom-Xcode.git from cache
Fetched https://github.com/SDWebImage/libaom-Xcode.git (0.19s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (0.03s)
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git from cache
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git (0.19s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.3.1 (0.03s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.18.7 (0.62s)
Creating working copy for https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Working copy of https://github.com/SDWebImage/SDWebImageAVIFCoder.git resolved at master
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.18.7
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
warning: '.resolve-product-dependencies': dependency 'sdwebimageavifcoder' is not used by any target
Found 2 product dependencies
- SDWebImage
- libavif
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Compiling Conversion.m
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:151:45: error: no known class method for selector 'scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:'
CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:thumbnailSize preserveAspectRatio:preserveAspectRatio shouldScaleUp:NO];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:151:12: error: initializing 'CGSize' (aka 'struct CGSize') with an expression of incompatible type 'id'
CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:thumbnailSize preserveAspectRatio:preserveAspectRatio shouldScaleUp:NO];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:308:54: warning: 'CGColorSpaceCopyICCProfile' is deprecated: first deprecated in macOS 10.13 - No longer supported [-Wdeprecated-declarations]
NSData *iccProfile = (__bridge_transfer NSData *)CGColorSpaceCopyICCProfile([SDImageCoderHelper colorSpaceGetDeviceRGB]);
^
/Applications/Xcode-15.2.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h:484:32: note: 'CGColorSpaceCopyICCProfile' has been explicitly marked deprecated here
CG_EXTERN CFDataRef __nullable CGColorSpaceCopyICCProfile(CGColorSpaceRef cg_nullable space)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:446:45: error: no known class method for selector 'scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:'
CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:_thumbnailSize preserveAspectRatio:_preserveAspectRatio shouldScaleUp:NO];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:446:12: error: initializing 'CGSize' (aka 'struct CGSize') with an expression of incompatible type 'id'
CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:_thumbnailSize preserveAspectRatio:_preserveAspectRatio shouldScaleUp:NO];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 4 errors generated.
[1/3] Compiling SDImageAVIFCoder.m
[1/3] Compiling ColorSpace.m
[0/1] Planning build
Building for debugging...
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:151:45: error: no known class method for selector 'scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:'
CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:thumbnailSize preserveAspectRatio:preserveAspectRatio shouldScaleUp:NO];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:151:12: error: initializing 'CGSize' (aka 'struct CGSize') with an expression of incompatible type 'id'
CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:thumbnailSize preserveAspectRatio:preserveAspectRatio shouldScaleUp:NO];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:308:54: warning: 'CGColorSpaceCopyICCProfile' is deprecated: first deprecated in macOS 10.13 - No longer supported [-Wdeprecated-declarations]
NSData *iccProfile = (__bridge_transfer NSData *)CGColorSpaceCopyICCProfile([SDImageCoderHelper colorSpaceGetDeviceRGB]);
^
/Applications/Xcode-15.2.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h:484:32: note: 'CGColorSpaceCopyICCProfile' has been explicitly marked deprecated here
CG_EXTERN CFDataRef __nullable CGColorSpaceCopyICCProfile(CGColorSpaceRef cg_nullable space)
^
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:446:45: error: no known class method for selector 'scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:'
CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:_thumbnailSize preserveAspectRatio:_preserveAspectRatio shouldScaleUp:NO];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:446:12: error: initializing 'CGSize' (aka 'struct CGSize') with an expression of incompatible type 'id'
CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:_thumbnailSize preserveAspectRatio:_preserveAspectRatio shouldScaleUp:NO];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 4 errors generated.
[0/2] Compiling SDImageAVIFCoder.m
/Users/admin/builds/h8344Zi3/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/ColorSpace.m:216:20: warning: 'CGColorSpaceCreateWithICCProfile' is deprecated: first deprecated in macOS 10.13 - No longer supported [-Wdeprecated-declarations]
*ref = CGColorSpaceCreateWithICCProfile((__bridge CFDataRef)iccData);
^
/Applications/Xcode-15.2.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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/SDWebImageAVIFCoder/Classes/ColorSpace.m:314:20: warning: 'CGColorSpaceCreateWithICCProfile' is deprecated: first deprecated in macOS 10.13 - No longer supported [-Wdeprecated-declarations]
*ref = CGColorSpaceCreateWithICCProfile((__bridge CFDataRef)iccData);
^
/Applications/Xcode-15.2.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.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)
^
[0/2] Compiling ColorSpace.m
BUILD FAILURE 5.9 macosSpm