The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenCV, reference main (a251a9), with Swift 6.3 for Android on 22 Apr 2026 16:17:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
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-4609320-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/root/.local/share/swiftly/toolchains/6.3.0/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.He9Y5H/vfs.yaml", "-L", "/root/.local/share/swiftly/toolchains/6.3.0/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/root/.local/share/swiftly/toolchains/6.3.0/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/root/.local/share/swiftly/toolchains/6.3.0/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.UdqEPO/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: ["/root/.local/share/swiftly/toolchains/6.3.0/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.EJhsb8/vfs.yaml", "-L", "/root/.local/share/swiftly/toolchains/6.3.0/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/root/.local/share/swiftly/toolchains/6.3.0/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/root/.local/share/swiftly/toolchains/6.3.0/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.Oi5iud/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 android