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

Successful build of libheif, reference 1.17.0 (29bbad), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 06:11:29 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/libheif-Xcode.git
Reference: 1.17.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/libheif-Xcode
 * tag               1.17.0     -> FETCH_HEAD
HEAD is now at 29bbada Fix CocoaPods again
Submodule path 'libheif': checked out '588b096027d620a9b9a617d1111e5a25d02d48e5'
Submodule 'libheif' (https://github.com/strukturag/libheif.git) registered for path 'libheif'
Cloning into '/Users/admin/builder/spi-builder-workspace/libheif'...
Cloned https://github.com/SDWebImage/libheif-Xcode.git
Revision (git rev-parse @):
29bbadaf0cccf1a62138377fda7da5954d0f73ae
SUCCESS checkout https://github.com/SDWebImage/libheif-Xcode.git at 1.17.0
Fetching https://github.com/SDWebImage/libde265-Xcode.git
[1/276] Fetching libde265-xcode
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (0.73s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.15 (1.39s)
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
========================================
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": "libheif-xcode",
      "name": "libheif",
      "url": "https://github.com/SDWebImage/libheif-Xcode.git",
      "version": "unspecified",
      "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/libheif-Xcode.git
[1/663] Fetching libheif-xcode
Fetched https://github.com/SDWebImage/libheif-Xcode.git from cache (0.94s)
Fetching https://github.com/SDWebImage/libde265-Xcode.git from cache
Fetched https://github.com/SDWebImage/libde265-Xcode.git from cache (0.51s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.15 (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.17.0 (29bbada)
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
warning: '.resolve-product-dependencies': dependency 'libheif-xcode' is not used by any target
Found 1 product dependencies
  - libde265
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SDWebImage/libheif-Xcode.git
https://github.com/SDWebImage/libheif-Xcode.git
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
    {
      "identity" : "libde265-xcode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.9",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libde265-Xcode.git"
    }
  ],
  "manifest_display_name" : "libheif",
  "name" : "libheif",
  "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" : "libheif",
      "targets" : [
        "libheif"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libheif",
      "module_type" : "ClangTarget",
      "name" : "libheif",
      "path" : ".",
      "product_dependencies" : [
        "libde265"
      ],
      "product_memberships" : [
        "libheif"
      ],
      "sources" : [
        "libheif/libheif/avif.cc",
        "libheif/libheif/bitstream.cc",
        "libheif/libheif/box.cc",
        "libheif/libheif/color-conversion/alpha.cc",
        "libheif/libheif/color-conversion/chroma_sampling.cc",
        "libheif/libheif/color-conversion/colorconversion.cc",
        "libheif/libheif/color-conversion/hdr_sdr.cc",
        "libheif/libheif/color-conversion/monochrome.cc",
        "libheif/libheif/color-conversion/rgb2rgb.cc",
        "libheif/libheif/color-conversion/rgb2yuv.cc",
        "libheif/libheif/color-conversion/rgb2yuv_sharp.cc",
        "libheif/libheif/color-conversion/yuv2rgb.cc",
        "libheif/libheif/common_utils.cc",
        "libheif/libheif/context.cc",
        "libheif/libheif/error.cc",
        "libheif/libheif/exif.cc",
        "libheif/libheif/file.cc",
        "libheif/libheif/heif.cc",
        "libheif/libheif/heif_plugin.cc",
        "libheif/libheif/heif_properties.cc",
        "libheif/libheif/heif_regions.cc",
        "libheif/libheif/hevc.cc",
        "libheif/libheif/init.cc",
        "libheif/libheif/jpeg.cc",
        "libheif/libheif/jpeg2000.cc",
        "libheif/libheif/mask_image.cc",
        "libheif/libheif/metadata_compression.cc",
        "libheif/libheif/nclx.cc",
        "libheif/libheif/pixelimage.cc",
        "libheif/libheif/plugin_registry.cc",
        "libheif/libheif/plugins/decoder_libde265.cc",
        "libheif/libheif/plugins/encoder_mask.cc",
        "libheif/libheif/plugins/encoder_uncompressed.cc",
        "libheif/libheif/region.cc",
        "libheif/libheif/uncompressed_image.cc",
        "libheif/libheif/vvc.cc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/libheif/libheif/plugins/encoder_ffmpeg.cc': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/libheif/libheif/plugins/encoder_ffmpeg.h': File not found.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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...
[0/36] Compiling decoder_libde265.cc
[1/36] Compiling encoder_mask.cc
[2/36] Compiling bitstream.cc
[3/36] Compiling avif.cc
[4/36] Compiling alpha.cc
[5/36] Compiling monochrome.cc
[6/36] Compiling rgb2rgb.cc
[7/36] Compiling rgb2yuv.cc
[8/36] Compiling chroma_sampling.cc
[9/36] Compiling vvc.cc
[10/36] Compiling encoder_uncompressed.cc
[11/36] Compiling metadata_compression.cc
[12/36] Compiling plugin_registry.cc
[13/36] Compiling nclx.cc
[14/36] Compiling region.cc
[15/36] Compiling pixelimage.cc
[16/36] Compiling heif_plugin.cc
[17/36] Compiling mask_image.cc
[18/36] Compiling uncompressed_image.cc
[19/36] Compiling jpeg2000.cc
[20/36] Compiling box.cc
[21/36] Compiling jpeg.cc
[22/36] Compiling init.cc
[23/36] Compiling common_utils.cc
[24/36] Compiling hevc.cc
[25/36] Compiling exif.cc
[26/36] Compiling heif_properties.cc
[27/36] Compiling heif_regions.cc
[28/36] Compiling error.cc
[29/36] Compiling rgb2yuv_sharp.cc
[30/36] Compiling yuv2rgb.cc
/Users/admin/builder/spi-builder-workspace/libheif/libheif/heif.cc:1636:10: warning: result of comparison of constant 4294967295 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
 1636 |       cp > std::numeric_limits<std::underlying_type<heif_color_primaries>::type>::max()) {
      |       ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/libheif/libheif/heif.cc:1677:10: warning: result of comparison of constant 4294967295 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
 1677 |       tc > std::numeric_limits<std::underlying_type<heif_transfer_characteristics>::type>::max()) {
      |       ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/libheif/libheif/heif.cc:1714:10: warning: result of comparison of constant 4294967295 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
 1714 |       mc > std::numeric_limits<std::underlying_type<heif_matrix_coefficients>::type>::max()) {
      |       ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
[31/36] Compiling heif.cc
[32/36] Compiling hdr_sdr.cc
[33/36] Compiling file.cc
[34/36] Compiling context.cc
[35/36] Compiling colorconversion.cc
Build complete! (4.55s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/libheif/libheif/plugins/encoder_ffmpeg.cc': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/libheif/libheif/plugins/encoder_ffmpeg.h': File not found.
Build complete.
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
    {
      "identity" : "libde265-xcode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.9",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libde265-Xcode.git"
    }
  ],
  "manifest_display_name" : "libheif",
  "name" : "libheif",
  "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" : "libheif",
      "targets" : [
        "libheif"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libheif",
      "module_type" : "ClangTarget",
      "name" : "libheif",
      "path" : ".",
      "product_dependencies" : [
        "libde265"
      ],
      "product_memberships" : [
        "libheif"
      ],
      "sources" : [
        "libheif/libheif/avif.cc",
        "libheif/libheif/bitstream.cc",
        "libheif/libheif/box.cc",
        "libheif/libheif/color-conversion/alpha.cc",
        "libheif/libheif/color-conversion/chroma_sampling.cc",
        "libheif/libheif/color-conversion/colorconversion.cc",
        "libheif/libheif/color-conversion/hdr_sdr.cc",
        "libheif/libheif/color-conversion/monochrome.cc",
        "libheif/libheif/color-conversion/rgb2rgb.cc",
        "libheif/libheif/color-conversion/rgb2yuv.cc",
        "libheif/libheif/color-conversion/rgb2yuv_sharp.cc",
        "libheif/libheif/color-conversion/yuv2rgb.cc",
        "libheif/libheif/common_utils.cc",
        "libheif/libheif/context.cc",
        "libheif/libheif/error.cc",
        "libheif/libheif/exif.cc",
        "libheif/libheif/file.cc",
        "libheif/libheif/heif.cc",
        "libheif/libheif/heif_plugin.cc",
        "libheif/libheif/heif_properties.cc",
        "libheif/libheif/heif_regions.cc",
        "libheif/libheif/hevc.cc",
        "libheif/libheif/init.cc",
        "libheif/libheif/jpeg.cc",
        "libheif/libheif/jpeg2000.cc",
        "libheif/libheif/mask_image.cc",
        "libheif/libheif/metadata_compression.cc",
        "libheif/libheif/nclx.cc",
        "libheif/libheif/pixelimage.cc",
        "libheif/libheif/plugin_registry.cc",
        "libheif/libheif/plugins/decoder_libde265.cc",
        "libheif/libheif/plugins/encoder_mask.cc",
        "libheif/libheif/plugins/encoder_uncompressed.cc",
        "libheif/libheif/region.cc",
        "libheif/libheif/uncompressed_image.cc",
        "libheif/libheif/vvc.cc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/libheif/libheif/plugins/encoder_ffmpeg.cc': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/libheif/libheif/plugins/encoder_ffmpeg.h': File not found.
Done.