The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build OpenCV, reference main (a0847c), with Swift 5.8 for macOS (SPM) on 6 Sep 2024 07:41:58 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/r0ml/OpenCV.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/r0ml/OpenCV
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a0847cb changed submodule urls to use https: instead of git: -- and checkout out the 4.10.0 tag for both
Submodule path 'opencv': checked out '71d3237a093b60a27601c20e9ee6c3e52154e8b1'
Submodule path 'opencv_contrib': checked out '1ed3dd2c53888e3289afdb22ec4e9ebbff3dba87'
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 '/Users/admin/builder/spi-builder-workspace/opencv'...
Cloning into '/Users/admin/builder/spi-builder-workspace/opencv_contrib'...
Cloned https://github.com/r0ml/OpenCV.git
Revision (git rev-parse @):
a0847cb3190b4af859a9431f9251140f1b9238a4
SUCCESS checkout https://github.com/r0ml/OpenCV.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/r0ml/OpenCV.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 5.9.0 but the installed version is 5.8.1
BUILD FAILURE 5.8 macosSpm