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 1.2.0 (0143c7), with Swift 6.1 for Wasm on 28 May 2025 15:28:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 1.2.0
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
 * tag               1.2.0      -> FETCH_HEAD
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 1.2.0
========================================
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-4606859-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...
In file included from /host/spi-builder-workspace/dav1d/src/data.c:41:
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.
[0/69] Compiling data.c
[0/69] Compiling getbits.c
In file included from /host/spi-builder-workspace/dav1d/src/decode.c:42:
In file included from /host/spi-builder-workspace/dav1d/src/decode.h:31:
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>
      |          ^~~~~~~~~~~
[0/69] Compiling decode.c
In file included from /host/spi-builder-workspace/dav1d/src/fg_apply_tmpl.c:40:
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>
      [0/69] Compiling fg_apply_tmpl.c
[0/69] Compiling util.S
[0/69] Compiling refmvs.S
[0/69] Compiling filmgrain_tmpl.c
[0/69] Compiling dequant_tables.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/69] Compiling refmvs.S
[0/69] Compiling msac.S
[2/69] Compiling util.S
[3/69] Compiling looprestoration_tmpl.S
[4/69] Compiling looprestoration_common.S
[4/69] Compiling mc.S
[6/69] Compiling looprestoration16.S
[7/69] Compiling mc16.S
[8/69] Compiling looprestoration.S
[9/69] Compiling itx.S
[10/69] Compiling itx16.S
[10/69] Compiling loopfilter16.S
[10/69] Compiling loopfilter.S
[13/69] Compiling ipred16.S
[14/69] Compiling ipred.S
[15/69] Compiling filmgrain16.S
[16/69] Compiling cdef.S
[17/69] Compiling filmgrain.S
[17/69] Compiling cdef_tmpl.S
[19/69] Compiling cdef16.S
[20/69] 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/69] Compiling lr_apply_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>
      |          ^~~~~~~~~~~
1 error generated.
[63/69] Compiling lf_apply_tmpl_16.c
[63/69] Compiling itx_tmpl_16.c
[63/69] Compiling mc_tmpl_16.c
[63/69] Compiling ipred_tmpl_16.c
[63/69] Compiling looprestoration_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>
      |          ^~~~~~~~~~~
[63/69] Compiling recon_tmpl_16.c
BUILD FAILURE 6.1 wasm