The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Java with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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/builds/J1XnyXFH/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
Revision (git rev-parse @):
c5c3cd00ffd4a6da63c8a5809d55e444c91f512d
SUCCESS checkout https://github.com/readdle/swift-java.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/readdle/swift-java.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.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
[90/146] Fetching swift-anycodable, cjavavm
Fetched https://github.com/andriydruk/swift-anycodable.git from cache (0.36s)
Fetched https://github.com/SwiftJava/CJavaVM.git from cache (0.36s)
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.10' to specify the current tools version
Updating https://github.com/SwiftJava/CJavaVM.git
Updating https://github.com/andriydruk/swift-anycodable.git
Updated https://github.com/andriydruk/swift-anycodable.git (0.15s)
Updated https://github.com/SwiftJava/CJavaVM.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.10' to specify the current tools version
BUILD FAILURE 5.10 macosSpm