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

Failed to build libaom, reference master (b00c20), with Swift 6.1 for Wasm on 28 May 2025 15:24:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/libaom-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/libaom-Xcode
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b00c20d Fix podspec build issue because of missing srcs
Submodule path 'aom': checked out 'd853caa2ab62d161e5edf344ffee7b597449dc0d'
Submodule 'aom' (https://aomedia.googlesource.com/aom.git) registered for path 'aom'
Cloning into '/host/spi-builder-workspace/aom'...
Cloned https://github.com/SDWebImage/libaom-Xcode.git
Revision (git rev-parse @):
b00c20d10f13608c7579aad1f849e0f815d4d3a8
SUCCESS checkout https://github.com/SDWebImage/libaom-Xcode.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SDWebImage/libaom-Xcode.git
https://github.com/SDWebImage/libaom-Xcode.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
    {
      "identity" : "libvmaf-xcode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libvmaf-Xcode.git"
    }
  ],
  "manifest_display_name" : "libaom",
  "name" : "libaom",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "libaom",
      "targets" : [
        "libaom"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libaom",
      "module_type" : "ClangTarget",
      "name" : "libaom",
      "path" : ".",
      "product_dependencies" : [
        "libvmaf"
      ],
      "product_memberships" : [
        "libaom"
      ],
      "sources" : [
        "aom/aom/src/aom_codec.c",
        "aom/aom/src/aom_decoder.c",
        "aom/aom/src/aom_encoder.c",
        "aom/aom/src/aom_image.c",
        "aom/aom/src/aom_integer.c",
        "aom/aom_dsp/aom_convolve.c",
        "aom/aom_dsp/aom_dsp_rtcd.c",
        "aom/aom_dsp/avg.c",
        "aom/aom_dsp/binary_codes_reader.c",
        "aom/aom_dsp/binary_codes_writer.c",
        "aom/aom_dsp/bitreader.c",
        "aom/aom_dsp/bitreader_buffer.c",
        "aom/aom_dsp/bitwriter.c",
        "aom/aom_dsp/bitwriter_buffer.c",
        "aom/aom_dsp/blend_a64_hmask.c",
        "aom/aom_dsp/blend_a64_mask.c",
        "aom/aom_dsp/blend_a64_vmask.c",
        "aom/aom_dsp/blk_sse_sum.c",
        "aom/aom_dsp/entcode.c",
        "aom/aom_dsp/entdec.c",
        "aom/aom_dsp/entenc.c",
        "aom/aom_dsp/fastssim.c",
        "aom/aom_dsp/fft.c",
        "aom/aom_dsp/fwd_txfm.c",
        "aom/aom_dsp/grain_synthesis.c",
        "aom/aom_dsp/grain_table.c",
        "aom/aom_dsp/intrapred.c",
        "aom/aom_dsp/loopfilter.c",
        "aom/aom_dsp/noise_model.c",
        "aom/aom_dsp/noise_util.c",
        "aom/aom_dsp/psnr.c",
        "aom/aom_dsp/psnrhvs.c",
        "aom/aom_dsp/quantize.c",
        "aom/aom_dsp/sad.c",
        "aom/aom_dsp/sad_av1.c",
        "aom/aom_dsp/sse.c",
        "aom/aom_dsp/subtract.c",
        "aom/aom_dsp/sum_squares.c",
        "aom/aom_dsp/variance.c",
        "aom/aom_dsp/vmaf.c",
        "aom/aom_mem/aom_mem.c",
        "aom/aom_scale/aom_scale_rtcd.c",
        "aom/aom_scale/generic/aom_scale.c",
        "aom/aom_scale/generic/gen_scalers.c",
        "aom/aom_scale/generic/yv12config.c",
        "aom/aom_scale/generic/yv12extend.c",
        "aom/aom_util/aom_thread.c",
        "aom/aom_util/debug_util.c",
        "aom/av1/arg_defs.c",
        "aom/av1/av1_cx_iface.c",
        "aom/av1/av1_dx_iface.c",
        "aom/av1/common/alloccommon.c",
        "aom/av1/common/av1_inv_txfm1d.c",
        "aom/av1/common/av1_inv_txfm2d.c",
        "aom/av1/common/av1_loopfilter.c",
        "aom/av1/common/av1_rtcd.c",
        "aom/av1/common/av1_txfm.c",
        "aom/av1/common/blockd.c",
        "aom/av1/common/cdef.c",
        "aom/av1/common/cdef_block.c",
        "aom/av1/common/cdef_block_avx2.c",
        "aom/av1/common/cdef_block_neon.c",
        "aom/av1/common/cdef_block_sse2.c",
        "aom/av1/common/cdef_block_sse4.c",
        "aom/av1/common/cdef_block_ssse3.c",
        "aom/av1/common/cfl.c",
        "aom/av1/common/convolve.c",
        "aom/av1/common/debugmodes.c",
        "aom/av1/common/entropy.c",
        "aom/av1/common/entropymode.c",
        "aom/av1/common/entropymv.c",
        "aom/av1/common/frame_buffers.c",
        "aom/av1/common/idct.c",
        "aom/av1/common/loopfiltermask.c",
        "aom/av1/common/mvref_common.c",
        "aom/av1/common/obu_util.c",
        "aom/av1/common/odintrin.c",
        "aom/av1/common/pred_common.c",
        "aom/av1/common/quant_common.c",
        "aom/av1/common/reconinter.c",
        "aom/av1/common/reconintra.c",
        "aom/av1/common/resize.c",
        "aom/av1/common/restoration.c",
        "aom/av1/common/scale.c",
        "aom/av1/common/scan.c",
        "aom/av1/common/seg_common.c",
        "aom/av1/common/thread_common.c",
        "aom/av1/common/tile_common.c",
        "aom/av1/common/timing.c",
        "aom/av1/common/txb_common.c",
        "aom/av1/common/warped_motion.c",
        "aom/av1/decoder/accounting.c",
        "aom/av1/decoder/decodeframe.c",
        "aom/av1/decoder/decodemv.c",
        "aom/av1/decoder/decoder.c",
        "aom/av1/decoder/decodetxb.c",
        "aom/av1/decoder/detokenize.c",
        "aom/av1/decoder/obu.c",
        "aom/av1/encoder/aq_complexity.c",
        "aom/av1/encoder/aq_cyclicrefresh.c",
        "aom/av1/encoder/aq_variance.c",
        "aom/av1/encoder/av1_fwd_txfm1d.c",
        "aom/av1/encoder/av1_fwd_txfm2d.c",
        "aom/av1/encoder/av1_noise_estimate.c",
        "aom/av1/encoder/av1_quantize.c",
        "aom/av1/encoder/av1_temporal_denoiser.c",
        "aom/av1/encoder/bitstream.c",
        "aom/av1/encoder/blockiness.c",
        "aom/av1/encoder/cnn.c",
        "aom/av1/encoder/compound_type.c",
        "aom/av1/encoder/context_tree.c",
        "aom/av1/encoder/corner_detect.c",
        "aom/av1/encoder/corner_match.c",
        "aom/av1/encoder/cost.c",
        "aom/av1/encoder/dwt.c",
        "aom/av1/encoder/encode_strategy.c",
        "aom/av1/encoder/encodeframe.c",
        "aom/av1/encoder/encodeframe_utils.c",
        "aom/av1/encoder/encodemb.c",
        "aom/av1/encoder/encodemv.c",
        "aom/av1/encoder/encoder.c",
        "aom/av1/encoder/encoder_utils.c",
        "aom/av1/encoder/encodetxb.c",
        "aom/av1/encoder/ethread.c",
        "aom/av1/encoder/extend.c",
        "aom/av1/encoder/firstpass.c",
        "aom/av1/encoder/global_motion.c",
        "aom/av1/encoder/global_motion_facade.c",
        "aom/av1/encoder/gop_structure.c",
        "aom/av1/encoder/hash.c",
        "aom/av1/encoder/hash_motion.c",
        "aom/av1/encoder/hybrid_fwd_txfm.c",
        "aom/av1/encoder/interp_search.c",
        "aom/av1/encoder/intra_mode_search.c",
        "aom/av1/encoder/level.c",
        "aom/av1/encoder/lookahead.c",
        "aom/av1/encoder/mcomp.c",
        "aom/av1/encoder/ml.c",
        "aom/av1/encoder/motion_search_facade.c",
        "aom/av1/encoder/mv_prec.c",
        "aom/av1/encoder/nonrd_pickmode.c",
        "aom/av1/encoder/optical_flow.c",
        "aom/av1/encoder/palette.c",
        "aom/av1/encoder/partition_search.c",
        "aom/av1/encoder/partition_strategy.c",
        "aom/av1/encoder/pass2_strategy.c",
        "aom/av1/encoder/pickcdef.c",
        "aom/av1/encoder/picklpf.c",
        "aom/av1/encoder/pickrst.c",
        "aom/av1/encoder/ransac.c",
        "aom/av1/encoder/ratectrl.c",
        "aom/av1/encoder/rd.c",
        "aom/av1/encoder/rdopt.c",
        "aom/av1/encoder/reconinter_enc.c",
        "aom/av1/encoder/segmentation.c",
        "aom/av1/encoder/speed_features.c",
        "aom/av1/encoder/superres_scale.c",
        "aom/av1/encoder/svc_layercontext.c",
        "aom/av1/encoder/temporal_filter.c",
        "aom/av1/encoder/tokenize.c",
        "aom/av1/encoder/tpl_model.c",
        "aom/av1/encoder/tune_vmaf.c",
        "aom/av1/encoder/tx_search.c",
        "aom/av1/encoder/txb_rdopt.c",
        "aom/av1/encoder/var_based_part.c",
        "aom/av1/encoder/wedge_utils.c",
        "aom/common/args_helper.c",
        "aom/third_party/fastfeat/fast.c",
        "aom/third_party/fastfeat/fast_9.c",
        "aom/third_party/fastfeat/nonmax.c",
        "aom/third_party/vector/vector.c",
        "generate/config/aom_config.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git
[1/98] Fetching libvmaf-xcode
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git from cache (0.53s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.3.1 (2.00s)
Creating working copy for https://github.com/SDWebImage/libvmaf-Xcode.git
Working copy of https://github.com/SDWebImage/libvmaf-Xcode.git resolved at 2.3.1
Building for debugging...
In file included from /host/spi-builder-workspace/aom/aom/src/aom_decoder.c:17:
In file included from /host/spi-builder-workspace/aom/aom/internal/aom_codec_internal.h:368:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
1 error generated.
[0/172] Compiling aom_decoder.c
[0/172] Compiling palette.c
[0/172] Compiling partition_strategy.c
[0/172] Compiling aom_image.c
In file included from /host/spi-builder-workspace/aom/aom/src/aom_encoder.c:29:
In file included from /host/spi-builder-workspace/aom/aom/internal/aom_codec_internal.h:368:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
1[0/172] Compiling aom_encoder.c
[0/172] Compiling aom_convolve.c
[0/172] Compiling partition_search.c
[0/172] Compiling optical_flow.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[0/1] Planning build
Building for debugging...
[0/172] Compiling aom_config.c
[1/172] Compiling fast.c
[2/172] Compiling nonmax.c
[3/172] Compiling args_helper.c
[4/172] Compiling vector.c
In file included from /host/spi-builder-workspace/aom/av1/encoder/wedge_utils.c:20:
In file included from /host/spi-builder-workspace/aom/av1/common/reconinter.h:15:
In file included from /host/spi-builder-workspace/aom/av1/common/av1_common_int.h:18:
In file included from /host/spi-builder-workspace/aom/aom/internal/aom_codec_internal.h:368:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/aom/av1/encoder/wedge_utils.c:20:
In file included from /host/spi-builder-workspace/aom/av1/common/reconinter.h:15:
In file included from /host/spi-builder-workspace/aom/av1/common/av1_common_int.h:19:
/host/spi-builder-workspace/aom/aom_util/aom_thread.h:287:10: fatal error: 'pthread.h' file not found
  287 | #include <pthread.h>  // NOLINT
      |          ^~~~~~~~~~~
2 errors generated.
[5/172] Compiling wedge_utils.c
[5/172] Compiling tpl_model.c
[5/172] Compiling tokenize.c
[5/172] Compiling tx_search.c
In file included from /host/spi-builder-workspace/aom/av1/encoder/txb_rdopt.c:12:
In file included from /host/spi-builder-workspace/aom/av1/encoder/txb_rdopt.h:16:
In file included from /host/spi-builder-workspace/aom/av1/common/txb_common.h:15:
In file included from /host/spi-builder-workspace/aom/av1/common/av1_common_int.h:18:
In file included from /host/spi-builder-workspace/aom/aom/internal/aom_codec_internal.h:368:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
   13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
      |  ^
In file included from /host/spi-builder-workspace/aom/av1/encoder/txb_rdopt.c:12:
In file included from /host/spi-builder-workspace/aom/av1/encoder/txb_rdopt.h:16:
In file included from /host/spi-builder-workspace/aom/av1/common/txb_common.h:15:
In file included from /host/spi-builder-workspace/aom/av1/common/av1_common_int.h:19:
/host/spi-builder-workspace/aom/aom_util/aom_thread.h:287:10: fatal error: 'pthread.h' file not found
  287 | #include <pthread.h>  // NOLINT
      |          ^~~~~~~~~~~
[5/172] Compiling tune_vmaf.c
[5/172] Compiling txb_rdopt.c
[5/172] Compiling fast_9.c
[5/172] Compiling var_based_part.c
BUILD FAILURE 6.1 wasm