The Swift Package Index logo.Swift Package Index

Build Information

Failed to build java_swift, reference master (ebf330), with Swift 6.4 for Linux on 20 Sep 2026 01:31:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/java_swift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/PureSwift/java_swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ebf330e Fixed macOS compilation
Cloned https://github.com/PureSwift/java_swift.git
Revision (git rev-parse @):
ebf330ea48b7170c55f6dd37b92f30e7241ce964
SUCCESS checkout https://github.com/PureSwift/java_swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/PureSwift/java_swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/PureSwift/CJavaVM.git
[1/58] Fetching cjavavm
Fetched https://github.com/PureSwift/CJavaVM.git (0.45s)
Creating working copy for https://github.com/PureSwift/CJavaVM.git
Working copy of https://github.com/PureSwift/CJavaVM.git resolved at master (3b19893)
Building for debugging...
[Pre-planning 1 / 97]
[21 / 30]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/host/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 ) {
/host/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 ) {
/host/spi-builder-workspace/Sources/JNIObject.swift:47:12: warning: class 'UnavailableProtocolForward' must restate inherited '@unchecked Sendable' conformance
 45 | }
 46 |
 47 | open class UnavailableProtocolForward: JNIObjectForward, UnavailableProtocol  {
    |            `- warning: class 'UnavailableProtocolForward' must restate inherited '@unchecked Sendable' conformance
 48 | }
 49 |
/host/spi-builder-workspace/Sources/JNIObject.swift:50:12: warning: class 'UnavailableObject' must restate inherited '@unchecked Sendable' conformance
 48 | }
 49 |
 50 | open class UnavailableObject: JavaObject, Error {
    |            `- warning: class 'UnavailableObject' must restate inherited '@unchecked Sendable' conformance
 51 | }
 52 |
/host/spi-builder-workspace/Sources/JNIObject.swift:53:12: warning: class 'UnavailableEnum' must restate inherited '@unchecked Sendable' conformance
 51 | }
 52 |
 53 | open class UnavailableEnum: JavaEnum {
    |            `- warning: class 'UnavailableEnum' must restate inherited '@unchecked Sendable' conformance
 54 | }
 55 |
/host/spi-builder-workspace/Sources/JNIObject.swift:111:12: warning: class 'JNIObjectForward' must restate inherited '@unchecked Sendable' conformance
109 | }
110 |
111 | open class JNIObjectForward: JNIObject {
    |            `- warning: class 'JNIObjectForward' must restate inherited '@unchecked Sendable' conformance
112 | }
113 |
/host/spi-builder-workspace/Sources/JNIProxy.swift:19:122: error: cannot find type 'uintptr_t' in scope
 17 | open class JNIReleasableProxy {
 18 |
 19 |     static fileprivate func recoverPointer( _ swiftObject: jlong, _ file: StaticString = #file, _ line: Int = #line ) -> uintptr_t {
    |                                                                                                                          `- error: cannot find type 'uintptr_t' in scope
 20 | #if os(Android)
 21 |         let swiftPointer = uintptr_t(swiftObject&0xffffffff)
/host/spi-builder-workspace/Sources/JavaClass.swift:6:12: warning: class 'JavaClass' must restate inherited '@unchecked Sendable' conformance
   4 | /// class java.lang.Class ///
   5 |
   6 | open class JavaClass: JavaObject, /* interface java.io.Serializable */ UnavailableProtocol {
     |            `- warning: class 'JavaClass' must restate inherited '@unchecked Sendable' conformance
   7 |
   8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/host/spi-builder-workspace/Sources/JavaEnum.swift:6:12: warning: class 'JavaEnum' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.lang.Enum ///
  5 |
  6 | open class JavaEnum: JavaObject, /* interface java.lang.Comparable */ UnavailableProtocol {
    |            `- warning: class 'JavaEnum' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/host/spi-builder-workspace/Sources/JavaMap.swift:111:12: warning: class 'JavaMapForward' must restate inherited '@unchecked Sendable' conformance
109 |
110 |
111 | open class JavaMapForward: JNIObjectForward, JavaMap {
    |            `- warning: class 'JavaMapForward' must restate inherited '@unchecked Sendable' conformance
112 |
113 |     private static var JavaMapJNIClass: jclass?
/host/spi-builder-workspace/Sources/JavaObject.swift:6:12: warning: class 'JavaObject' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.lang.Object ///
  5 |
  6 | open class JavaObject: JNIObject {
    |            `- warning: class 'JavaObject' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/host/spi-builder-workspace/Sources/JavaSet.swift:75:12: warning: class 'JavaSetForward' must restate inherited '@unchecked Sendable' conformance
 73 |
 74 |
 75 | open class JavaSetForward: /* interface java.util.Collection */ UnavailableProtocolForward, JavaSet {
    |            `- warning: class 'JavaSetForward' must restate inherited '@unchecked Sendable' conformance
 76 |
 77 |     private static var JavaSetJNIClass: jclass?
/host/spi-builder-workspace/Sources/JavaThread.swift:6:12: warning: class 'JavaThread' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.lang.Thread ///
  5 |
  6 | open class JavaThread: JavaObject, Runnable {
    |            `- warning: class 'JavaThread' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/host/spi-builder-workspace/Sources/Runnable.swift:22:12: warning: class 'RunnableForward' must restate inherited '@unchecked Sendable' conformance
20 |
21 |
22 | open class RunnableForward: JNIObjectForward, Runnable {
   |            `- warning: class 'RunnableForward' must restate inherited '@unchecked Sendable' conformance
23 |
24 |     private static var RunnableJNIClass: jclass?
/host/spi-builder-workspace/Sources/Throwable.swift:6:12: warning: class 'Throwable' must restate inherited '@unchecked Sendable' conformance
  4 | /// class java.lang.Throwable ///
  5 |
  6 | open class Throwable: JavaObject, /* interface java.io.Serializable */ UnavailableProtocol {
    |            `- warning: class 'Throwable' must restate inherited '@unchecked Sendable' conformance
  7 |
  8 |     public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Exception.swift /host/spi-builder-workspace/Sources/HashMap.swift /host/spi-builder-workspace/Sources/JNICore.swift /host/spi-builder-workspace/Sources/JNIField.swift /host/spi-builder-workspace/Sources/JNIMethod.swift /host/spi-builder-workspace/Sources/JNIObject.swift /host/spi-builder-workspace/Sources/JNIProxy.swift /host/spi-builder-workspace/Sources/JNIType.swift /host/spi-builder-workspace/Sources/JavaClass.swift /host/spi-builder-workspace/Sources/JavaEnum.swift /host/spi-builder-workspace/Sources/JavaMap.swift /host/spi-builder-workspace/Sources/JavaObject.swift /host/spi-builder-workspace/Sources/JavaSet.swift /host/spi-builder-workspace/Sources/JavaThread.swift /host/spi-builder-workspace/Sources/Runnable.swift /host/spi-builder-workspace/Sources/Throwable.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/CJavaVM/Sources/CJavaVM/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/CJavaVM/Sources/CJavaVM/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name java_swift -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/Objects-normal/x86_64/java_swift_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/Objects-normal/x86_64/Modules/java_swift.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/Objects-normal/x86_64/Modules/java_swift.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/Objects-normal/x86_64/java_swift-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/Objects-normal/x86_64/java_swift-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/Objects-normal/x86_64/java_swift-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/java_swift.build/Debug-linux-x86_64/java_swift-t.build/Objects-normal/x86_64/Modules/java_swift.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux