The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Java, reference 2.0.0 (c5c3cd), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 18:00:08 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readdle/swift-java.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/readdle/swift-java
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at c5c3cd0 Merge commit 'master' into feature/coder2
Cloned https://github.com/readdle/swift-java.git
Revision (git rev-parse @):
c5c3cd00ffd4a6da63c8a5809d55e444c91f512d
SUCCESS checkout https://github.com/readdle/swift-java.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/readdle/swift-java.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Fetching https://github.com/andriydruk/swift-anycodable.git
Fetching https://github.com/SwiftJava/CJavaVM.git
[1/92] Fetching swift-anycodable
[28/146] Fetching swift-anycodable, cjavavm
Fetched https://github.com/SwiftJava/CJavaVM.git from cache (0.64s)
Fetched https://github.com/andriydruk/swift-anycodable.git from cache (0.64s)
Computing version for https://github.com/SwiftJava/CJavaVM.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.2' to specify the current tools version
BUILD FAILURE 6.2 macosSpm