The Swift Package Index logo.Swift Package Index

Build Information

Failed to build java_lang, reference 2.5.0 (6db935), with Swift 6.3 for Wasm on 10 Apr 2026 22:39:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftjava/java_lang.git
Reference: 2.5.0
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/swiftjava/java_lang
 * tag               2.5.0      -> FETCH_HEAD
HEAD is now at 6db935c Swift 5 SPM
Cloned https://github.com/swiftjava/java_lang.git
Revision (git rev-parse @):
6db935cf4059165652ed7e8830958db76edd0ec2
SUCCESS checkout https://github.com/swiftjava/java_lang.git at 2.5.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swiftjava/java_lang.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/SwiftJava/java_swift.git
[1/290] Fetching java_swift
Fetched https://github.com/SwiftJava/java_swift.git from cache (0.22s)
Fetching https://github.com/SwiftJava/CJavaVM.git
[1/54] Fetching cjavavm
Fetched https://github.com/SwiftJava/CJavaVM.git from cache (0.22s)
Creating working copy for https://github.com/SwiftJava/java_swift.git
Working copy of https://github.com/SwiftJava/java_swift.git resolved at master (ef87de5)
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling java_swift JNIProxy.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[5/18] Compiling java_swift JNIType.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[6/18] Compiling java_swift JavaMap.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[7/18] Compiling java_swift JavaObject.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[8/18] Compiling java_swift JavaSet.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[9/18] Compiling java_swift JavaThread.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[10/18] Compiling java_swift JavaClass.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[11/18] Compiling java_swift JavaEnum.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[12/20] Compiling java_swift Runnable.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[13/20] Compiling java_swift Throwable.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[14/20] Compiling java_swift JNIMethod.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[15/20] Compiling java_swift JNIObject.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/20] Emitting module java_swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[17/20] Compiling java_swift JNICore.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[18/20] Compiling java_swift JNIField.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[19/20] Compiling java_swift Exception.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
[20/20] Compiling java_swift HashMap.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:13:8: error: no such module 'Dispatch'
 11 |
 12 | import Foundation
 13 | import Dispatch
    |        `- error: no such module 'Dispatch'
 14 |
 15 | @_exported import CJavaVM
BUILD FAILURE 6.3 wasm