The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of libvmaf, reference 2.3.1 (41db5d), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 04:43:07 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/libvmaf-Xcode.git
Reference: 2.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/libvmaf-Xcode
 * tag               2.3.1      -> FETCH_HEAD
HEAD is now at 41db5dc Release v2.3.1
Submodule path 'vmaf': checked out 'f2661673a078718ddfc1ddb6042048c1b1284946'
Submodule 'vmaf' (https://github.com/Netflix/vmaf.git) registered for path 'vmaf'
Cloning into '/Users/admin/builder/spi-builder-workspace/vmaf'...
Cloned https://github.com/SDWebImage/libvmaf-Xcode.git
Revision (git rev-parse @):
41db5dc11d05c02d1aca7de0b572a068f528c37c
SUCCESS checkout https://github.com/SDWebImage/libvmaf-Xcode.git at 2.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SDWebImage/libvmaf-Xcode.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/66] Compiling vmaf_4k_v0.6.1.json.c
[0/66] Compiling vmaf_v0.6.1.json.c
[0/66] Compiling vmaf_v0.6.1neg.json.c
[3/66] Compiling cpu.c
[4/66] Compiling adm_tools.c
[5/66] Compiling adm.c
[6/66] Compiling vmaf_b_v0.6.3.json.c
[7/66] Compiling compute_vmaf.c
[8/66] Compiling alias.c
[9/66] Compiling thread_pool.c
[10/66] Compiling dict.c
/Users/admin/builder/spi-builder-workspace/vmaf/libvmaf/src/read_json_model.c:492:24: warning: variable length array folded to constant array as an extension [-Wgnu-folding-constant]
  492 |     char generated_key[generated_key_sz];
      |                        ^~~~~~~~~~~~~~~~
1 warning generated.
[11/66] Compiling read_json_model.c
[12/66] Compiling picture.c
[13/66] Compiling ref.c
[14/66] Compiling predict.c
[15/66] Compiling pdjson.c
[16/66] Compiling output.c
[17/66] Compiling opt.c
[18/66] Compiling mem.c
[19/66] Compiling log.c
[20/66] Compiling fex_ctx_vector.c
[21/66] Compiling libvmaf.c
[22/66] Compiling vif_tools.c
[23/66] Compiling vif.c
[24/66] Compiling psnr_tools.c
[25/66] Compiling ssim.c
[26/66] Compiling psnr_hvs.c
[27/66] Compiling psnr.c
[28/66] Compiling offset.c
[29/66] Compiling picture_copy.c
[30/66] Compiling null.c
[31/66] Compiling ms_ssim.c
[32/66] Compiling moment.c
[33/66] Compiling motion.c
[34/66] Compiling math_utils.c
[35/66] Compiling luminance_tools.c
[36/66] Compiling decimate.c
[37/66] Compiling ssim_tools.c
[38/66] Compiling convolve.c
[39/66] Compiling integer_ssim.c
[40/66] Compiling integer_psnr.c
[41/66] Compiling integer_vif.c
[42/66] Compiling float_vif.c
[43/66] Compiling float_ssim.c
[44/66] Compiling integer_motion.c
[45/66] Compiling integer_adm.c
[46/66] Compiling float_psnr.c
[47/66] Compiling float_ms_ssim.c
[48/66] Compiling float_moment.c
[48/66] Compiling float_ansnr.c
[49/66] Compiling float_motion.c
[51/66] Compiling float_adm.c
[52/66] Compiling model.c
[53/66] Compiling feature_name.c
[54/66] Compiling feature_extractor.c
[55/66] Compiling feature_collector.c
[56/66] Compiling mkdirp.c
[57/66] Compiling alignment.c
[58/66] Compiling convolution.c
[59/66] Compiling blur_array.c
[60/66] Compiling ansnr_tools.c
[61/66] Compiling ciede.c
[62/66] Compiling ansnr.c
[63/66] Compiling all.c
[64/66] Compiling cambi.c
/Users/admin/builder/spi-builder-workspace/vmaf/libvmaf/src/svm.cpp:57:2: warning: 'vsprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use vsnprintf(3) instead. [-Wdeprecated-declarations]
   57 |         vsprintf(buf,fmt,ap);
      |         ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/_stdio.h:298:1: note: 'vsprintf' has been explicitly marked deprecated here
  298 | __deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use vsnprintf(3) instead.")
      | ^
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
  227 |         #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
      |                                                       ^
1 warning generated.
[65/66] Compiling svm.cpp
Build complete! (1.73s)
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/vmaf/libvmaf/src/libvmaf.cpp': File not found.
Build complete.
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "libvmaf",
  "name" : "libvmaf",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "libvmaf",
      "targets" : [
        "libvmaf"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libvmaf",
      "module_type" : "ClangTarget",
      "name" : "libvmaf",
      "path" : ".",
      "product_memberships" : [
        "libvmaf"
      ],
      "sources" : [
        "generate/vmaf_4k_v0.6.1.json.c",
        "generate/vmaf_b_v0.6.3.json.c",
        "generate/vmaf_v0.6.1.json.c",
        "generate/vmaf_v0.6.1neg.json.c",
        "vmaf/libvmaf/src/compute_vmaf.c",
        "vmaf/libvmaf/src/cpu.c",
        "vmaf/libvmaf/src/dict.c",
        "vmaf/libvmaf/src/feature/adm.c",
        "vmaf/libvmaf/src/feature/adm_tools.c",
        "vmaf/libvmaf/src/feature/alias.c",
        "vmaf/libvmaf/src/feature/all.c",
        "vmaf/libvmaf/src/feature/ansnr.c",
        "vmaf/libvmaf/src/feature/ansnr_tools.c",
        "vmaf/libvmaf/src/feature/cambi.c",
        "vmaf/libvmaf/src/feature/ciede.c",
        "vmaf/libvmaf/src/feature/common/alignment.c",
        "vmaf/libvmaf/src/feature/common/blur_array.c",
        "vmaf/libvmaf/src/feature/common/convolution.c",
        "vmaf/libvmaf/src/feature/feature_collector.c",
        "vmaf/libvmaf/src/feature/feature_extractor.c",
        "vmaf/libvmaf/src/feature/feature_name.c",
        "vmaf/libvmaf/src/feature/float_adm.c",
        "vmaf/libvmaf/src/feature/float_ansnr.c",
        "vmaf/libvmaf/src/feature/float_moment.c",
        "vmaf/libvmaf/src/feature/float_motion.c",
        "vmaf/libvmaf/src/feature/float_ms_ssim.c",
        "vmaf/libvmaf/src/feature/float_psnr.c",
        "vmaf/libvmaf/src/feature/float_ssim.c",
        "vmaf/libvmaf/src/feature/float_vif.c",
        "vmaf/libvmaf/src/feature/integer_adm.c",
        "vmaf/libvmaf/src/feature/integer_motion.c",
        "vmaf/libvmaf/src/feature/integer_psnr.c",
        "vmaf/libvmaf/src/feature/integer_ssim.c",
        "vmaf/libvmaf/src/feature/integer_vif.c",
        "vmaf/libvmaf/src/feature/iqa/convolve.c",
        "vmaf/libvmaf/src/feature/iqa/decimate.c",
        "vmaf/libvmaf/src/feature/iqa/math_utils.c",
        "vmaf/libvmaf/src/feature/iqa/ssim_tools.c",
        "vmaf/libvmaf/src/feature/luminance_tools.c",
        "vmaf/libvmaf/src/feature/mkdirp.c",
        "vmaf/libvmaf/src/feature/moment.c",
        "vmaf/libvmaf/src/feature/motion.c",
        "vmaf/libvmaf/src/feature/ms_ssim.c",
        "vmaf/libvmaf/src/feature/null.c",
        "vmaf/libvmaf/src/feature/offset.c",
        "vmaf/libvmaf/src/feature/picture_copy.c",
        "vmaf/libvmaf/src/feature/psnr.c",
        "vmaf/libvmaf/src/feature/psnr_tools.c",
        "vmaf/libvmaf/src/feature/ssim.c",
        "vmaf/libvmaf/src/feature/third_party/xiph/psnr_hvs.c",
        "vmaf/libvmaf/src/feature/vif.c",
        "vmaf/libvmaf/src/feature/vif_tools.c",
        "vmaf/libvmaf/src/fex_ctx_vector.c",
        "vmaf/libvmaf/src/libvmaf.c",
        "vmaf/libvmaf/src/log.c",
        "vmaf/libvmaf/src/mem.c",
        "vmaf/libvmaf/src/model.c",
        "vmaf/libvmaf/src/opt.c",
        "vmaf/libvmaf/src/output.c",
        "vmaf/libvmaf/src/pdjson.c",
        "vmaf/libvmaf/src/picture.c",
        "vmaf/libvmaf/src/predict.c",
        "vmaf/libvmaf/src/read_json_model.c",
        "vmaf/libvmaf/src/ref.c",
        "vmaf/libvmaf/src/svm.cpp",
        "vmaf/libvmaf/src/thread_pool.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/vmaf/libvmaf/src/libvmaf.cpp': File not found.
Done.