Build Information
Failed to build Java with Swift 5.9 for macOS (SPM).
Build Command
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.19.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/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-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 into spi-builder-workspace
c5c3cd00ffd4a6da63c8a5809d55e444c91f512d
SUCCESS checkout https://github.com/readdle/swift-java.git at 2.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/SwiftJava/CJavaVM.git from cache
Fetching https://github.com/andriydruk/swift-anycodable.git from cache
Fetched https://github.com/andriydruk/swift-anycodable.git (0.20s)
Fetched https://github.com/SwiftJava/CJavaVM.git (0.20s)
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: 5.9' to specify the current tools version
Retrying in 0 seconds ...
Building ... (attempt 2)
Updating https://github.com/SwiftJava/CJavaVM.git
Updating https://github.com/andriydruk/swift-anycodable.git
Updated https://github.com/SwiftJava/CJavaVM.git (0.16s)
Updated https://github.com/andriydruk/swift-anycodable.git (0.16s)
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: 5.9' to specify the current tools version
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm