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

Successful build of OpenCV, reference main (a0847c), with Swift 6.0 for macOS (Xcode) using Xcode 16.0 on 17 Sep 2024 06:55:04 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.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:         macosXcodebuild
Swift version:             6.0
Building package at path:  $PWD
https://github.com/r0ml/OpenCV.git
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  OpenCV: /Users/admin/builder/spi-builder-workspace
resolved source packages: OpenCV
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OpenCV",
  "name" : "OpenCV",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenCV",
      "targets" : [
        "OpenCV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenCV",
      "module_type" : "BinaryTarget",
      "name" : "OpenCV",
      "path" : "remote/archive/OpenCV.xcframework.zip",
      "product_memberships" : [
        "OpenCV"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.9"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "OpenCV"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenCV -destination platform=macOS,arch=arm64 OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme OpenCV -destination platform=macOS,arch=arm64 "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  OpenCV: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
    Target 'OpenCV' in project 'OpenCV' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk -x c -c /dev/null
Build description signature: e13cde36cd28e50718fd23144fbfa302
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/e13cde36cd28e50718fd23144fbfa302.xcbuilddata
ProcessXCFramework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/OpenCV/OpenCV.xcframework /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/OpenCV.framework macos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-process-xcframework --xcframework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/OpenCV/OpenCV.xcframework --platform macos --target-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
** BUILD SUCCEEDED **
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OpenCV",
  "name" : "OpenCV",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "OpenCV",
      "targets" : [
        "OpenCV"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OpenCV",
      "module_type" : "BinaryTarget",
      "name" : "OpenCV",
      "path" : "remote/archive/OpenCV.xcframework.zip",
      "product_memberships" : [
        "OpenCV"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.9"
}
Done.