The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AlphaVideo, reference main (30f17c), with Swift 6.1 for Wasm on 3 Nov 2026 13:00:54 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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.1
Building package at path:  $PWD
https://github.com/MediaCacheDev/alpha-video.git
https://github.com/MediaCacheDev/alpha-video.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.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 saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-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.61s)
Computing version for https://github.com/MediaCacheDev/range-source.git
Computed https://github.com/MediaCacheDev/range-source.git at 1.0.0 (1.57s)
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/1591331] Downloading https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoLibvpx.xcframework.zip
[114661/3320073] Downloading https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoLibvpx.xcframework.zip, https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoDav1d.xcframework.zip
Downloaded https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoLibvpx.xcframework.zip (0.36s)
Downloaded https://github.com/MediaCacheDev/alpha-video/releases/download/v1.0.0/AlphaVideoDav1d.xcframework.zip (0.37s)
Building for debugging...
[0/44] Compiling YuvToRgb.cpp
[1/44] Compiling bit_utils.cc
[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/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/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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/44] Compiling AlphaVideoView.mm
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.
[3/44] Compiling AlphaVideoCodecs.mm
[3/44] Compiling RangeReader.cpp
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] Write swift-version-24593BA9C3E375BF.txt
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/44] Compiling AlphaVideoPlayer.mm
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/41] Write sources
In file included from /host/spi-builder-workspace/ios/Sources/AlphaVideoVPX/AlphaVideoVPXCodec.mm:7:
/host/spi-builder-workspace/ios/Sources/AlphaVideoVPX/include/AlphaVideoVPX.h:6:9: fatal error: 'Foundation/Foundation.h' file not found
    6 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/41] Compiling AlphaVideoVPXCodec.mm
In file included from /host/spi-builder-workspace/.build/checkouts/range-source/ios/Sources/RangeSource/RangeSourceUpstreams.mm:6:
In file included from /host/spi-builder-workspace/.build/checkouts/range-source/ios/Sources/RangeSource/RangeSourceInternal.h:6:
/host/spi-builder-workspace/.build/checkouts/range-source/ios/Sources/RangeSource/include/RangeSource.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
   10 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/41] Compiling RangeSourceUpstreams.mm
In file included from /host/spi-builder-workspace/.build/checkouts/range-source/ios/Sources/RangeSource/RangeSource.mm:6:
In file included from /host/spi-builder-workspace/.build/checkouts/range-source/ios/Sources/RangeSource/RangeSourceInternal.h:6:
/host/spi-builder-workspace/.build/checkouts/range-source/ios/Sources/RangeSource/include/RangeSource.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
   10 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/41] Compiling RangeSource.mm
[2/41] Compiling RangeReader.cpp
[2/41] Compiling range_source.cpp
/host/spi-builder-workspace/codecs/vpx/VpxDecoderPlugin.cpp:3:10: fatal error: 'vpx/vp8dx.h' file not found
    3 | #include <vpx/vp8dx.h>
      |          ^~~~~~~~~~~~~
[2/41] Compiling VpxDecoderPlugin.cpp
[2/41] Compiling Store.cpp
[2/41] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm