The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build java_swift, reference 2.4.0 (6172ff), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 22:01:02 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/PureSwift/java_swift.git
Reference: 2.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PureSwift/java_swift
 * tag               2.4.0      -> FETCH_HEAD
HEAD is now at 6172ff6 Swift 4.2/5
Cloned https://github.com/PureSwift/java_swift.git
Revision (git rev-parse @):
6172ff68d6fc575f3f4b9adc2bc8e1362f1b1dd9
SUCCESS checkout https://github.com/PureSwift/java_swift.git at 2.4.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/PureSwift/java_swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier
error: 'spi-builder-workspace': the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier
error: the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier
BUILD FAILURE 6.2 macosSpm