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 master (41db5d), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 04:40:10 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/libvmaf-Xcode.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/SDWebImage/libvmaf-Xcode
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 '/host/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 master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SDWebImage/libvmaf-Xcode.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/vmaf/libvmaf/src/libvmaf.cpp': File not found.
Building for debugging...
[0/66] Compiling thread_pool.c
[1/66] Compiling all.c
[2/66] Compiling vmaf_4k_v0.6.1.json.c
[2/66] Compiling vmaf_v0.6.1neg.json.c
[4/66] Compiling ciede.c
[5/66] Compiling alignment.c
[6/66] Compiling ref.c
[7/66] Compiling opt.c
[8/66] Compiling read_json_model.c
[9/66] Compiling predict.c
[10/66] Compiling picture.c
[11/66] Compiling pdjson.c
[12/66] Compiling output.c
[13/66] Compiling mem.c
[14/66] Compiling model.c
[15/66] Compiling log.c
[16/66] Compiling fex_ctx_vector.c
[17/66] Compiling psnr_hvs.c
[18/66] Compiling libvmaf.c
[19/66] Compiling ssim.c
[20/66] Compiling vif_tools.c
[20/66] Compiling vif.c
[22/66] Compiling psnr_tools.c
[22/66] Compiling psnr.c
[23/66] Compiling picture_copy.c
[25/66] Compiling offset.c
[26/66] Compiling motion.c
[27/66] Compiling mkdirp.c
[27/66] Compiling null.c
[29/66] Compiling luminance_tools.c
[30/66] Compiling ms_ssim.c
[31/66] Compiling moment.c
[32/66] Compiling math_utils.c
[33/66] Compiling decimate.c
[34/66] Compiling convolve.c
[35/66] Compiling ssim_tools.c
[36/66] Compiling integer_ssim.c
[37/66] Compiling integer_psnr.c
[38/66] Compiling integer_vif.c
[39/66] Compiling float_vif.c
[40/66] Compiling integer_motion.c
[40/66] Compiling float_psnr.c
[42/66] Compiling float_ssim.c
[43/66] Compiling float_motion.c
[44/66] Compiling float_ms_ssim.c
[45/66] Compiling float_ansnr.c
[46/66] Compiling float_moment.c
[47/66] Compiling float_adm.c
[48/66] Compiling feature_name.c
[49/66] Compiling convolution.c
[50/66] Compiling feature_extractor.c
[51/66] Compiling blur_array.c
/host/spi-builder-workspace/vmaf/libvmaf/src/feature/feature_collector.c:255:42: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
  255 |         feature_collector->timer.begin = clock();
      |                                          ^
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
/host/spi-builder-workspace/vmaf/libvmaf/src/feature/feature_collector.c:285:36: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
  285 |     feature_collector->timer.end = clock();
      |                                    ^
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
2 warnings generated.
[52/66] Compiling feature_collector.c
[53/66] Compiling ansnr_tools.c
[54/66] Compiling alias.c
[55/66] Compiling ansnr.c
[56/66] Compiling adm.c
[57/66] Compiling cpu.c
[58/66] Compiling dict.c
[59/66] Compiling integer_adm.c
[60/66] Compiling cambi.c
[61/66] Compiling compute_vmaf.c
[62/66] Compiling vmaf_v0.6.1.json.c
[62/66] Compiling adm_tools.c
[64/66] Compiling vmaf_b_v0.6.3.json.c
[65/66] Compiling svm.cpp
Build complete! (4.69s)
Build complete.
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
  ],
  "manifest_display_name" : "libvmaf",
  "name" : "libvmaf",
  "path" : "/host/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"
}
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/vmaf/libvmaf/src/libvmaf.cpp': File not found.
Done.