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 master (29bbad), with Swift 5.9 for macOS (SPM) on 12 Aug 2024 15:15:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/libheif-Xcode.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/libheif-Xcode
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/SDWebImage/libheif-Xcode.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/36] Compiling decoder_libde265.cc
[1/36] Compiling encoder_mask.cc
[2/36] Compiling encoder_uncompressed.cc
[3/36] Compiling vvc.cc
[4/36] Compiling plugin_registry.cc
[5/36] Compiling alpha.cc
[6/36] Compiling chroma_sampling.cc
[7/36] Compiling pixelimage.cc
[8/36] Compiling metadata_compression.cc
[9/36] Compiling region.cc
[10/36] Compiling heif_plugin.cc
[11/36] Compiling nclx.cc
[12/36] Compiling jpeg.cc
[13/36] Compiling uncompressed_image.cc
[14/36] Compiling init.cc
[15/36] Compiling mask_image.cc
[16/36] Compiling common_utils.cc
[17/36] Compiling hevc.cc
[18/36] Compiling exif.cc
[19/36] Compiling jpeg2000.cc
[20/36] Compiling heif_properties.cc
[21/36] Compiling heif_regions.cc
[22/36] Compiling error.cc
[23/36] Compiling yuv2rgb.cc
[24/36] Compiling rgb2yuv_sharp.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]
      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]
      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]
      mc > std::numeric_limits<std::underlying_type<heif_matrix_coefficients>::type>::max()) {
      ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
[25/36] Compiling heif.cc
[26/36] Compiling rgb2rgb.cc
[27/36] Compiling rgb2yuv.cc
[28/36] Compiling monochrome.cc
[29/36] Compiling hdr_sdr.cc
[30/36] Compiling file.cc
[31/36] Compiling bitstream.cc
[32/36] Compiling context.cc
[33/36] Compiling avif.cc
[34/36] Compiling colorconversion.cc
[35/36] Compiling box.cc
Build complete! (13.18s)
Fetching https://github.com/SDWebImage/libde265-Xcode.git
[1/276] Fetching libde265-xcode
Fetched https://github.com/SDWebImage/libde265-Xcode.git (1.45s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.15 (0.62s)
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: '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.
Done.