Build Information
Failed to build OpenCV, reference main (a251a9), with Swift 6.3 for Wasm on 15 Apr 2026 00:19:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/r0ml/OpenCV.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/r0ml/OpenCV
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a251a99 fixing the problem with XCode 26 and ios shallow bundle validation
Submodule path 'opencv': checked out '49486f61fb25722cbcf586b7f4320921d46fb38e'
Submodule path 'opencv_contrib': checked out 'd943e1d61c8bc556a13783e1546ee7c1a9e0b1cf'
Submodule 'opencv' (https://github.com/opencv/opencv.git) registered for path 'opencv'
Submodule 'opencv_contrib' (https://github.com/opencv/opencv_contrib.git) registered for path 'opencv_contrib'
Cloning into '/host/spi-builder-workspace/opencv'...
Cloning into '/host/spi-builder-workspace/opencv_contrib'...
Cloned https://github.com/r0ml/OpenCV.git
Revision (git rev-parse @):
a251a99ec9e849530180a63ddf306fcfebefb251
SUCCESS checkout https://github.com/r0ml/OpenCV.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/r0ml/OpenCV.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.9crKZA/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.Y4ISG7/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:8:13: error: reference to member 'v18' cannot be resolved without a contextual type
6 | name: "OpenCV",
7 | platforms: [
8 | .macOS(.v18), .iOS(.v18), .macCatalyst(.v18)
| `- error: reference to member 'v18' cannot be resolved without a contextual type
9 | ],
10 | products: [
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.56VoUV/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.wFtalr/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:8:13: error: reference to member 'v18' cannot be resolved without a contextual type
6 | name: "OpenCV",
7 | platforms: [
8 | .macOS(.v18), .iOS(.v18), .macCatalyst(.v18)
| `- error: reference to member 'v18' cannot be resolved without a contextual type
9 | ],
10 | products: [
BUILD FAILURE 6.3 wasm