The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AlphaVideo, reference main (30f17c), with Swift 6.3 for Wasm on 3 Nov 2026 13:13:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MediaCacheDev/alpha-video.git
Reference: main
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/MediaCacheDev/alpha-video
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 30f17c7 README: links to packages on npm go to npm first, then GitHub
Cloned https://github.com/MediaCacheDev/alpha-video.git
Revision (git rev-parse @):
30f17c76fd59b60bfdea472d01897edef161e28c
SUCCESS checkout https://github.com/MediaCacheDev/alpha-video.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/MediaCacheDev/alpha-video.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/MediaCacheDev/range-source.git
[1/328] Fetching range-source
Fetched https://github.com/MediaCacheDev/range-source.git from cache (0.48s)
Computing version for https://github.com/MediaCacheDev/range-source.git
Computed https://github.com/MediaCacheDev/range-source.git at 1.0.0 (1.38s)
Creating working copy for https://github.com/MediaCacheDev/range-source.git
Working copy of https://github.com/MediaCacheDev/range-source.git resolved at 1.0.0
Downloading binary artifact https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoLibvpx.xcframework.zip
Downloading binary artifact https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoDav1d.xcframework.zip
[16375/1728742] Downloading https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoDav1d.xcframework.zip
[212992/3320073] Downloading https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoDav1d.xcframework.zip, https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoLibvpx.xcframework.zip
Downloaded https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoLibvpx.xcframework.zip (0.34s)
Downloaded https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoDav1d.xcframework.zip (0.35s)
Building for debugging...
[0/44] Compiling YuvToRgb.cpp
[1/44] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling ancestory.cc
In file included from /host/spi-builder-workspace/.build/checkouts/range-source/native/src/range_source.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/range-source/native/src/RangeReader.h:3:
/host/spi-builder-workspace/.build/checkouts/range-source/native/src/Store.h:92:18: error: no type named 'mutex' in namespace 'std'
   92 |     mutable std::mutex mutex_;
      |             ~~~~~^
1 error generated.
[3/44] Compiling range_source.cpp
In file included from /host/spi-builder-workspace/ios/Sources/AlphaVideo/AlphaVideoView.mm:6:
In file included from /host/spi-builder-workspace/ios/Sources/AlphaVideo/AlphaVideoInternal.h:6:
/host/spi-builder-workspace/ios/Sources/AlphaVideo/include/AlphaVideo.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/44] Compiling AlphaVideoView.mm
In file included from /host/spi-builder-workspace/ios/Sources/AlphaVideo/AlphaVideoSource.mm:8:
In file included from /host/spi-builder-workspace/ios/Sources/AlphaVideo/AlphaVideoInternal.h:6:
/host/spi-builder-workspace/ios/Sources/AlphaVideo/include/AlphaVideo.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/44] Compiling AlphaVideoSource.mm
[3/44] Compiling Store.cpp
In file included from /host/spi-builder-workspace/ios/Sources/AlphaVideo/AlphaVideoCodecs.mm:6:
In file included from /host/spi-builder-workspace/ios/Sources/AlphaVideo/AlphaVideoInternal.h:6:
/host/spi-builder-workspace/ios/Sources/AlphaVideo/include/AlphaVideo.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
    8 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/44] Compiling AlphaVideoCodecs.mm
[3/44] Compiling WebMAlphaPlayer.cpp
[3/44] Compiling ByteSource.cpp
/host/spi-builder-workspace/cpp/VideoDecoder.cpp:17:6: error: no type named 'mutex' in namespace 'std'
   17 | std::mutex registryMutex;
      | ~~~~~^
/host/spi-builder-workspace/cpp/VideoDecoder.cpp:40:26: error: no member named 'mutex' in namespace 'std'
   40 |     std::lock_guard<std::mutex> lock(registryMutex);
      |                          ^~~~~
/host/spi-builder-workspace/cpp/VideoDecoder.cpp:67:26: error: no member named 'mutex' in namespace 'std'
   67 |     std::lock_guard<std::mutex> lock(registryMutex);
      |                          ^~~~~
/host/spi-builder-workspace/cpp/VideoDecoder.cpp:89:26: error: no member named 'mutex' in namespace 'std'
   89 |     std::lock_guard<std::mutex> lock(registryMutex);
      |                          ^~~~~
[3/44] Compiling VideoDecoder.cpp
BUILD FAILURE 6.3 wasm