Build Information
Failed to build AlphaVideo, reference main (30f17c), with Swift 6.2 for Wasm on 3 Nov 2026 12:49:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build 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.2
Building package at path: $PWD
https://github.com/MediaCacheDev/alpha-video.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-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.44s)
Computing version for https://github.com/MediaCacheDev/range-source.git
Computed https://github.com/MediaCacheDev/range-source.git at 1.0.0 (1.35s)
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
[11015/1728742] Downloading https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoDav1d.xcframework.zip
[148069/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.49s)
Downloaded https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoDav1d.xcframework.zip (0.49s)
Building for debugging...
[0/44] Compiling YuvToRgb.cpp
[1/44] Compiling Av1SequenceHeader.cpp
[2/44] Write swift-version-24593BA9C3E375BF.txt
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/44] Compiling AlphaVideoSource.mm
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
[3/44] Compiling AlphaVideoCodecs.mm
In file included from /host/spi-builder-workspace/ios/Sources/AlphaVideo/AlphaVideoPlayer.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/44] Compiling AlphaVideoPlayer.mm
In file included from /host/spi-builder-workspace/.build/checkouts/range-source/native/src/Store.cpp:1:
/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_;
| ~~~~~^
[3/44] Compiling Store.cpp
[3/44] Compiling WebMAlphaPlayer.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
[3/44] Compiling ByteSource.cpp
BUILD FAILURE 6.2 wasm