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 libdav1d, reference master (0143c7), with Swift 6.1 for Wasm on 28 May 2025 15:29:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/libdav1d-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/libdav1d-Xcode
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0143c7c Bumped to libdav1d 1.2.0
Submodule path 'dav1d': checked out '676a864a11af2c0522e1f992e770589543894686'
Submodule 'dav1d' (https://github.com/videolan/dav1d.git) registered for path 'dav1d'
Cloning into '/host/spi-builder-workspace/dav1d'...
Cloned https://github.com/SDWebImage/libdav1d-Xcode.git
Revision (git rev-parse @):
0143c7ca8cf62ddc844031e1f3a661c99d086432
SUCCESS checkout https://github.com/SDWebImage/libdav1d-Xcode.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SDWebImage/libdav1d-Xcode.git
https://github.com/SDWebImage/libdav1d-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" : "libdav1d",
  "name" : "libdav1d",
  "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" : "libdav1d",
      "targets" : [
        "libdav1d"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libdav1d",
      "module_type" : "ClangTarget",
      "name" : "libdav1d",
      "path" : ".",
      "product_memberships" : [
        "libdav1d"
      ],
      "sources" : [
        "dav1d/src/cdef_apply_tmpl.c",
        "dav1d/src/cdef_tmpl.c",
        "dav1d/src/cdf.c",
        "dav1d/src/cpu.c",
        "dav1d/src/data.c",
        "dav1d/src/decode.c",
        "dav1d/src/dequant_tables.c",
        "dav1d/src/fg_apply_tmpl.c",
        "dav1d/src/filmgrain_tmpl.c",
        "dav1d/src/getbits.c",
        "dav1d/src/intra_edge.c",
        "dav1d/src/ipred_prepare_tmpl.c",
        "dav1d/src/ipred_tmpl.c",
        "dav1d/src/itx_1d.c",
        "dav1d/src/itx_tmpl.c",
        "dav1d/src/lf_apply_tmpl.c",
        "dav1d/src/lf_mask.c",
        "dav1d/src/lib.c",
        "dav1d/src/log.c",
        "dav1d/src/loopfilter_tmpl.c",
        "dav1d/src/looprestoration_tmpl.c",
        "dav1d/src/lr_apply_tmpl.c",
        "dav1d/src/mc_tmpl.c",
        "dav1d/src/mem.c",
        "dav1d/src/msac.c",
        "dav1d/src/obu.c",
        "dav1d/src/picture.c",
        "dav1d/src/qm.c",
        "dav1d/src/recon_tmpl.c",
        "dav1d/src/ref.c",
        "dav1d/src/refmvs.c",
        "dav1d/src/scan.c",
        "dav1d/src/tables.c",
        "dav1d/src/thread_task.c",
        "dav1d/src/warpmv.c",
        "dav1d/src/wedge.c",
        "generate/tmpl_16/cdef_apply_tmpl_16.c",
        "generate/tmpl_16/cdef_tmpl_16.c",
        "generate/tmpl_16/fg_apply_tmpl_16.c",
        "generate/tmpl_16/filmgrain_tmpl_16.c",
        "generate/tmpl_16/ipred_prepare_tmpl_16.c",
        "generate/tmpl_16/ipred_tmpl_16.c",
        "generate/tmpl_16/itx_tmpl_16.c",
        "generate/tmpl_16/lf_apply_tmpl_16.c",
        "generate/tmpl_16/loopfilter_tmpl_16.c",
        "generate/tmpl_16/looprestoration_tmpl_16.c",
        "generate/tmpl_16/lr_apply_tmpl_16.c",
        "generate/tmpl_16/mc_tmpl_16.c",
        "generate/tmpl_16/recon_tmpl_16.c",
        "generate/tmpl_arm/cdef.S",
        "generate/tmpl_arm/cdef16.S",
        "generate/tmpl_arm/cdef_tmpl.S",
        "generate/tmpl_arm/filmgrain.S",
        "generate/tmpl_arm/filmgrain16.S",
        "generate/tmpl_arm/ipred.S",
        "generate/tmpl_arm/ipred16.S",
        "generate/tmpl_arm/itx.S",
        "generate/tmpl_arm/itx16.S",
        "generate/tmpl_arm/loopfilter.S",
        "generate/tmpl_arm/loopfilter16.S",
        "generate/tmpl_arm/looprestoration.S",
        "generate/tmpl_arm/looprestoration16.S",
        "generate/tmpl_arm/looprestoration_common.S",
        "generate/tmpl_arm/looprestoration_tmpl.S",
        "generate/tmpl_arm/mc.S",
        "generate/tmpl_arm/mc16.S",
        "generate/tmpl_arm/msac.S",
        "generate/tmpl_arm/refmvs.S",
        "generate/tmpl_arm/util.S"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/69] Compiling dequant_tables.c
/host/spi-builder-workspace/dav1d/src/cpu.c:40:10: fatal error: 'pthread.h' file not found
   40 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[1/69] Compiling cpu.c
[1/69] Compiling refmvs.S
[1/69] Compiling cdef_tmpl.c
[1/69] Compiling filmgrain_tmpl.c
[1/69] Compiling msac.S
[1/69] Compiling util.S
In file included from /host/spi-builder-workspace/dav1d/src/cdf.c:34:
In file included from /host/spi-builder-workspace/dav1d/src/internal.h:43:
In file included from /host/spi-builder-workspace/dav1d/src/cdf.h:34:
In file included from /host/spi-builder-workspace/dav1d/src/ref.h:33:
In file included from /host/spi-builder-workspace/dav1d/src/mem.h:39:
/host/spi-builder-workspace/dav1d/src/thread.h:133:10: fatal error: 'pthread.h' file not found
  133 | #include <pthread.h>
      |          ^~~~~~~~~~~
[1/69] Compiling cdf.c
[1/69] Compiling mc16.S
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/68] Compiling msac.S
[1/68] Compiling mc.S
[2/68] Compiling looprestoration_common.S
[3/68] Compiling mc16.S
[3/68] Compiling refmvs.S
[5/68] Compiling util.S
[5/68] Compiling looprestoration.S
[5/68] Compiling looprestoration_tmpl.S
[8/68] Compiling looprestoration16.S
[9/68] Compiling loopfilter16.S
[10/68] Compiling filmgrain.S
[11/68] Compiling ipred16.S
[12/68] Compiling ipred.S
[13/68] Compiling filmgrain16.S
[13/68] Compiling itx.S
[15/68] Compiling loopfilter.S
[15/68] Compiling itx16.S
[17/68] Compiling cdef16.S
[17/68] Compiling cdef.S
[19/68] Compiling cdef_tmpl.S
[20/68] Compiling loopfilter_tmpl_16.c
In file included from /host/spi-builder-workspace/generate/tmpl_16/lr_apply_tmpl_16.c:4:
In file included from /host/spi-builder-workspace/dav1d/src/lr_apply_tmpl.c:34:
In file included from /host/spi-builder-workspace/dav1d/src/lr_apply.h:36:
In file included from /host/spi-builder-workspace/dav1d/src/internal.h:43:
In file included from /host/spi-builder-workspace/dav1d/src/cdf.h:34:
In file included from /host/spi-builder-workspace/dav1d/src/ref.h:33:
In file included from /host/spi-builder-workspace/dav1d/src/mem.h:39:
/host/spi-builder-workspace/dav1d/src/thread.h:133:10: fatal error: 'pthread.h' file not found
  133 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[21/68] Compiling lr_apply_tmpl_16.c
[21/68] Compiling looprestoration_tmpl_16.c
[21/68] Compiling ipred_prepare_tmpl_16.c
[21/68] Compiling ipred_tmpl_16.c
[21/68] Compiling itx_tmpl_16.c
In file included from /host/spi-builder-workspace/generate/tmpl_16/lf_apply_tmpl_16.c:4:
In file included from /host/spi-builder-workspace/dav1d/src/lf_apply_tmpl.c:34:
In file included from /host/spi-builder-workspace/dav1d/src/lf_apply.h:35:
In file included from /host/spi-builder-workspace/dav1d/src/internal.h:43:
In file included from /host/spi-builder-workspace/dav1d/src/cdf.h:34:
In file included from /host/spi-builder-workspace/dav1d/src/ref.h:33:
In file included from /host/spi-builder-workspace/dav1d/src/mem.h:39:
/host/spi-builder-workspace/dav1d/src/thread.h:133:10: fatal error: 'pthread.h' file not found
  133 | #include <pthread.h>
      |          ^~~~~~~~~~~
[21/68] Compiling lf_apply_tmpl_16.c
In file included from /host/spi-builder-workspace/generate/tmpl_16/recon_tmpl_16.c:4:
In file included from /host/spi-builder-workspace/dav1d/src/recon_tmpl.c:39:
In file included from /host/spi-builder-workspace/dav1d/src/cdef_apply.h:33:
In file included from /host/spi-builder-workspace/dav1d/src/internal.h:43:
In file included from /host/spi-builder-workspace/dav1d/src/cdf.h:34:
In file included from /host/spi-builder-workspace/dav1d/src/ref.h:33:
In file included from /host/spi-builder-workspace/dav1d/src/mem.h:39:
/host/spi-builder-workspace/dav1d/src/thread.h:133:10: fatal error: 'pthread.h' file not found
  133 | #include <pthread.h>
      |          ^~~~~~~~~~~
[21/68] Compiling recon_tmpl_16.c
[21/68] Compiling mc_tmpl_16.c
BUILD FAILURE 6.1 wasm