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 CJavaVM, reference 2.5.0 (654df5), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 01:51:50 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftJava/CJavaVM.git
Reference: 2.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftJava/CJavaVM
 * tag               2.5.0      -> FETCH_HEAD
HEAD is now at 654df50 Swift 4.2/5
Cloned https://github.com/SwiftJava/CJavaVM.git
Revision (git rev-parse @):
654df50b44ba88e7382f6f5cc8eb2aa5179f544d
SUCCESS checkout https://github.com/SwiftJava/CJavaVM.git at 2.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "cjavavm",
      "name": "CJavaVM",
      "url": "https://github.com/SwiftJava/CJavaVM.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CJavaVM",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SwiftJava/CJavaVM.git
[1/54] Fetching cjavavm
Fetched https://github.com/SwiftJava/CJavaVM.git from cache (0.66s)
Creating working copy for https://github.com/SwiftJava/CJavaVM.git
Working copy of https://github.com/SwiftJava/CJavaVM.git resolved at 2.5.0 (654df50)
warning: 'cjavavm': ignoring declared target(s) 'CJavaVM' in the system package
warning: 'cjavavm': system packages are deprecated; use system library targets instead
warning: '.resolve-product-dependencies': dependency 'cjavavm' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/SwiftJava/CJavaVM.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
warning: 'spi-builder-workspace': ignoring declared target(s) 'CJavaVM' in the system package
warning: 'spi-builder-workspace': system packages are deprecated; use system library targets instead
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.0 macosSpm