The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SDWebImageAVIFCoder, reference 0.11.0 (715df4), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 01:55:16 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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Reference: 0.11.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/SDWebImageAVIFCoder
 * tag               0.11.0     -> FETCH_HEAD
HEAD is now at 715df4a Bumped version to 0.11.0
Cloned https://github.com/SDWebImage/SDWebImageAVIFCoder.git
Revision (git rev-parse @):
715df4ace986e1fb332c8c28b45b73dba6a40e5a
SUCCESS checkout https://github.com/SDWebImage/SDWebImageAVIFCoder.git at 0.11.0
Fetching https://github.com/SDWebImage/libavif-Xcode.git
Fetching https://github.com/SDWebImage/libaom-Xcode.git
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git
Fetching https://github.com/SDWebImage/SDWebImage.git
[1/250] Fetching libaom-xcode
[79/757] Fetching libaom-xcode, libavif-xcode
[308/855] Fetching libaom-xcode, libavif-xcode, libvmaf-xcode
[701/26104] Fetching libaom-xcode, libavif-xcode, libvmaf-xcode, sdwebimage
Fetched https://github.com/SDWebImage/libavif-Xcode.git from cache (1.60s)
Fetched https://github.com/SDWebImage/libaom-Xcode.git from cache (1.60s)
[3886/25347] Fetching libvmaf-xcode, sdwebimage
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (2.48s)
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git from cache (2.48s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.10.4 (0.58s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.11.1 (0.56s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (0.54s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.2.0 (0.56s)
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.10.4
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/libvmaf-Xcode.git
Working copy of https://github.com/SDWebImage/libvmaf-Xcode.git resolved at 2.2.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": "sdwebimageavifcoder",
      "name": "SDWebImageAVIFCoder",
      "url": "https://github.com/SDWebImage/SDWebImageAVIFCoder.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SDWebImageAVIFCoder",
      "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": "libavif-xcode",
          "name": "libavif",
          "url": "https://github.com/SDWebImage/libavif-Xcode.git",
          "version": "0.11.1",
          "path": "/Users/admin/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/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/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 from cache (1.29s)
Fetching https://github.com/SDWebImage/SDWebImage.git from cache
Fetching https://github.com/SDWebImage/libavif-Xcode.git from cache
Fetched https://github.com/SDWebImage/libavif-Xcode.git from cache (0.67s)
Fetched https://github.com/SDWebImage/SDWebImage.git from cache (0.67s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.11.1 (0.02s)
Fetching https://github.com/SDWebImage/libaom-Xcode.git from cache
Fetched https://github.com/SDWebImage/libaom-Xcode.git from cache (0.45s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (0.02s)
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git from cache
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git from cache (0.46s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.3.1 (0.02s)
Computing version for https://github.com/SDWebImage/SDWebImage.git
Computed https://github.com/SDWebImage/SDWebImage.git at 5.20.0 (0.54s)
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/SDWebImageAVIFCoder.git
Working copy of https://github.com/SDWebImage/SDWebImageAVIFCoder.git resolved at 0.11.0 (715df4a)
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.20.0
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
warning: '.resolve-product-dependencies': dependency 'sdwebimageavifcoder' is not used by any target
Found 2 product dependencies
  - SDWebImage
  - libavif
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SDWebImage/SDWebImageAVIFCoder.git
{
  "dependencies" : [
    {
      "identity" : "sdwebimage",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.10.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/SDWebImage.git"
    },
    {
      "identity" : "libavif-xcode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libavif-Xcode.git"
    }
  ],
  "manifest_display_name" : "SDWebImageAVIFCoder",
  "name" : "SDWebImageAVIFCoder",
  "path" : "/Users/admin/builder/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" : "SDWebImageAVIFCoder",
      "targets" : [
        "SDWebImageAVIFCoder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SDWebImageAVIFCoder",
      "module_type" : "ClangTarget",
      "name" : "SDWebImageAVIFCoder",
      "path" : ".",
      "product_dependencies" : [
        "SDWebImage",
        "libavif"
      ],
      "product_memberships" : [
        "SDWebImageAVIFCoder"
      ],
      "sources" : [
        "SDWebImageAVIFCoder/Classes/ColorSpace.m",
        "SDWebImageAVIFCoder/Classes/Conversion.m",
        "SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:151:45: error: no known class method for selector 'scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:'
  151 |     CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:thumbnailSize preserveAspectRatio:preserveAspectRatio shouldScaleUp:NO];
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:151:12: error: initializing 'CGSize' (aka 'struct CGSize') with an expression of incompatible type 'id'
  151 |     CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:thumbnailSize preserveAspectRatio:preserveAspectRatio shouldScaleUp:NO];
      |            ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/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]
  308 |     NSData *iccProfile = (__bridge_transfer NSData *)CGColorSpaceCopyICCProfile([SDImageCoderHelper colorSpaceGetDeviceRGB]);
      |                                                      ^
/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h:497:32: note: 'CGColorSpaceCopyICCProfile' has been explicitly marked deprecated here
  497 | CG_EXTERN CFDataRef __nullable CGColorSpaceCopyICCProfile(CGColorSpaceRef cg_nullable space)
      |                                ^
/Users/admin/builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:446:45: error: no known class method for selector 'scaledSizeWithImageSize:scaleSize:preserveAspectRatio:shouldScaleUp:'
  446 |     CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:_thumbnailSize preserveAspectRatio:_preserveAspectRatio shouldScaleUp:NO];
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m:446:12: error: initializing 'CGSize' (aka 'struct CGSize') with an expression of incompatible type 'id'
  446 |     CGSize scaledSize = [SDImageCoderHelper scaledSizeWithImageSize:CGSizeMake(width, height) scaleSize:_thumbnailSize preserveAspectRatio:_preserveAspectRatio shouldScaleUp:NO];
      |            ^            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 4 errors generated.
[0/3] Compiling SDImageAVIFCoder.m
[0/3] Compiling ColorSpace.m
[0/3] Compiling Conversion.m
BUILD FAILURE 6.0 macosSpm