The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JavaCoder, reference master (065a7d), with Swift 6.2 for Android on 17 Jun 2025 20:01:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readdle/swift-java-coder.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/readdle/swift-java-coder
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 065a7d0 Dev: fix warnings after migration to Swift 5
Cloned https://github.com/readdle/swift-java-coder.git
Revision (git rev-parse @):
065a7d03a5a77637ea5fc64ead050bbb93a9f8c3
SUCCESS checkout https://github.com/readdle/swift-java-coder.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/readdle/swift-java-coder.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/readdle/swift-anycodable.git
Fetching https://github.com/readdle/java_swift.git
[1/320] Fetching java_swift
[321/412] Fetching java_swift, swift-anycodable
Fetched https://github.com/readdle/swift-anycodable.git from cache (0.24s)
Fetched https://github.com/readdle/java_swift.git from cache (0.24s)
Computing version for https://github.com/readdle/swift-anycodable.git
Computed https://github.com/readdle/swift-anycodable.git at 1.0.3 (1.88s)
Computing version for https://github.com/readdle/java_swift.git
Computed https://github.com/readdle/java_swift.git at 2.1.9 (0.79s)
Fetching https://github.com/readdle/CJavaVM.git
[1/57] Fetching cjavavm
Fetched https://github.com/readdle/CJavaVM.git from cache (0.22s)
Computing version for https://github.com/readdle/CJavaVM.git
Computed https://github.com/readdle/CJavaVM.git at 2.4.1 (1.07s)
Creating working copy for https://github.com/readdle/CJavaVM.git
Working copy of https://github.com/readdle/CJavaVM.git resolved at 2.4.1
Creating working copy for https://github.com/readdle/java_swift.git
Working copy of https://github.com/readdle/java_swift.git resolved at 2.1.9
Creating working copy for https://github.com/readdle/swift-anycodable.git
Working copy of https://github.com/readdle/swift-anycodable.git resolved at 1.0.3
warning: 'cjavavm': ignoring declared target(s) 'CJavaVM' in the system package
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/21] Compiling java_swift JavaSet.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[6/21] Compiling java_swift Runnable.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[7/22] Compiling java_swift JavaClass.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[8/22] Compiling java_swift JavaEnum.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[9/22] Compiling java_swift JavaMap.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[10/22] Compiling java_swift JavaObject.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/22] Emitting module java_swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[12/22] Compiling java_swift Exception.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[13/22] Compiling java_swift HashMap.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[14/22] Compiling java_swift Throwable.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[15/22] Compiling java_swift JNIProxy.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[16/22] Compiling java_swift JNIType.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[17/22] Compiling java_swift JNIMethod.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[18/22] Compiling java_swift JNIObject.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[19/22] Compiling java_swift JNICore.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[20/22] Compiling java_swift JNIField.swift
/host/spi-builder-workspace/.build/checkouts/java_swift/Sources/JNICore.swift:14:8: error: no such module 'Glibc'
 12 | import Foundation
 13 | import Dispatch
 14 | import Glibc
    |        `- error: no such module 'Glibc'
 15 |
 16 | @_exported import CJavaVM
[21/22] Emitting module AnyCodable
[22/22] Compiling AnyCodable AnyCodable.swift
BUILD FAILURE 6.2 android