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

Successful build of java_swift, reference 2.5.1 (ef87de), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 01:34:59 UTC.

Swift 6 data race errors: 0

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/swiftjava/java_swift.git
Reference: 2.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftjava/java_swift
 * tag               2.5.1      -> FETCH_HEAD
HEAD is now at ef87de5 Xcode 14/Swift 5.7
Cloned https://github.com/swiftjava/java_swift.git
Revision (git rev-parse @):
ef87de5b195c5df821a37b97306a8e42538a8d06
SUCCESS checkout https://github.com/swiftjava/java_swift.git at 2.5.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftjava/java_swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/18] Compiling java_swift Runnable.swift
[4/19] Compiling java_swift JNIProxy.swift
[5/19] Compiling java_swift JNIType.swift
[6/19] Compiling java_swift JavaSet.swift
[7/19] Compiling java_swift JavaThread.swift
[8/19] Compiling java_swift JavaClass.swift
[9/19] Compiling java_swift JavaEnum.swift
[10/19] Compiling java_swift JavaMap.swift
[11/19] Compiling java_swift JavaObject.swift
[12/19] Compiling java_swift Throwable.swift
[13/19] Compiling java_swift JNIMethod.swift
[14/19] Compiling java_swift JNIObject.swift
[15/19] Compiling java_swift Exception.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exception.swift:6:12: warning: class 'Exception' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.lang.Exception ///
  5 |
  6 | open class Exception: Throwable {
    |            `- warning: class 'Exception' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:6:12: warning: class 'HashMap' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.util.HashMap ///
  5 |
  6 | open class HashMap: /* class java.util.AbstractMap */ UnavailableObject {
    |            `- warning: class 'HashMap' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
[16/19] Compiling java_swift HashMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exception.swift:6:12: warning: class 'Exception' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.lang.Exception ///
  5 |
  6 | open class Exception: Throwable {
    |            `- warning: class 'Exception' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:6:12: warning: class 'HashMap' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.util.HashMap ///
  5 |
  6 | open class HashMap: /* class java.util.AbstractMap */ UnavailableObject {
    |            `- warning: class 'HashMap' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
[17/19] Emitting module java_swift
/Users/admin/builder/spi-builder-workspace/Sources/Exception.swift:6:12: warning: class 'Exception' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.lang.Exception ///
  5 |
  6 | open class Exception: Throwable {
    |            `- warning: class 'Exception' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:6:12: warning: class 'HashMap' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.util.HashMap ///
  5 |
  6 | open class HashMap: /* class java.util.AbstractMap */ UnavailableObject {
    |            `- warning: class 'HashMap' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
[18/19] Compiling java_swift JNICore.swift
[19/19] Compiling java_swift JNIField.swift
Build complete! (5.49s)
Fetching https://github.com/SwiftJava/CJavaVM.git
[1/54] Fetching cjavavm
Fetched https://github.com/SwiftJava/CJavaVM.git from cache (0.63s)
Creating working copy for https://github.com/SwiftJava/CJavaVM.git
Working copy of https://github.com/SwiftJava/CJavaVM.git resolved at master (654df50)
warning: 'cjavavm': ignoring declared target(s) 'CJavaVM' in the system package
warning: 'cjavavm': system packages are deprecated; use system library targets instead
warning: 'spi-builder-workspace': dependency 'cjavavm' is not used by any target
Build complete.
{
  "dependencies" : [
    {
      "identity" : "cjavavm",
      "requirement" : {
        "branch" : [
          "master"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftJava/CJavaVM.git"
    }
  ],
  "manifest_display_name" : "java_swift",
  "name" : "java_swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "java_swift",
      "targets" : [
        "java_swift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "java_swift",
      "module_type" : "SwiftTarget",
      "name" : "java_swift",
      "path" : "Sources",
      "product_memberships" : [
        "java_swift"
      ],
      "sources" : [
        "Exception.swift",
        "HashMap.swift",
        "JNICore.swift",
        "JNIField.swift",
        "JNIMethod.swift",
        "JNIObject.swift",
        "JNIProxy.swift",
        "JNIType.swift",
        "JavaClass.swift",
        "JavaEnum.swift",
        "JavaMap.swift",
        "JavaObject.swift",
        "JavaSet.swift",
        "JavaThread.swift",
        "Runnable.swift",
        "Throwable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.