Build Information
Failed to build libvmaf, reference master (41db5d
), with Swift 6.1 for Wasm on 28 May 2025 15:09:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/SDWebImage/libvmaf-Xcode.git
https://github.com/SDWebImage/libvmaf-Xcode.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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"
}
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/vmaf/libvmaf/src/libvmaf.cpp': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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 cpu.c
[1/66] Compiling vmaf_4k_v0.6.1.json.c
In file included from /host/spi-builder-workspace/vmaf/libvmaf/src/fex_ctx_vector.c:22:
In file included from /host/spi-builder-workspace/vmaf/libvmaf/src/feature/feature_extractor.h:27:
/host/spi-builder-workspace/vmaf/libvmaf/src/feature/feature_collector.h:22:10: fatal error: 'pthread.h' file not found
22 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[2/66] Compiling fex_ctx_vector.c
[2/66] Compiling dict.c
[2/66] Compiling svm.cpp
[2/66] Compiling vif.c
[2/66] Compiling vmaf_v0.6.1.json.c
[2/66] Compiling thread_pool.c
[2/66] Compiling vmaf_b_v0.6.3.json.c
[2/66] Compiling vif_tools.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/vmaf/libvmaf/src/libvmaf.cpp': File not found.
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/vmaf/libvmaf/src/thread_pool.c:20:10: fatal error: 'pthread.h' file not found
20 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/64] Compiling thread_pool.c
[0/64] Compiling ref.c
[0/64] Compiling output.c
[0/64] Compiling picture.c
[0/64] Compiling pdjson.c
[0/64] Compiling read_json_model.c
[0/64] Compiling predict.c
[0/64] Compiling svm.cpp
BUILD FAILURE 6.1 wasm