Build Information
Failed to build Java, reference 2.0.0 (c5c3cd), with Swift 6.1 for Wasm on 27 May 2025 09:22:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/readdle/swift-java.git
Reference: 2.0.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/readdle/swift-java
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at c5c3cd0 Merge commit 'master' into feature/coder2
Cloned https://github.com/readdle/swift-java.git
Revision (git rev-parse @):
c5c3cd00ffd4a6da63c8a5809d55e444c91f512d
SUCCESS checkout https://github.com/readdle/swift-java.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/readdle/swift-java.git
https://github.com/readdle/swift-java.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cjavavm",
"requirement" : {
"exact" : [
"1.1.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftJava/CJavaVM.git"
},
{
"identity" : "swift-anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/andriydruk/swift-anycodable.git"
}
],
"manifest_display_name" : "Java",
"name" : "Java",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Java",
"targets" : [
"Java"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"4"
],
"targets" : [
{
"c99name" : "Java",
"module_type" : "SwiftTarget",
"name" : "Java",
"path" : "Sources",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"Java"
],
"sources" : [
"JNIArgumentProtocol.swift",
"JNICore+JavaCoder.swift",
"JNICore.swift",
"JavaBridgeable.swift",
"JavaCoderConfig.swift",
"JavaConstants.swift",
"JavaDecoder.swift",
"JavaEncoder.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/andriydruk/swift-anycodable.git
Fetching https://github.com/SwiftJava/CJavaVM.git
[1/54] Fetching cjavavm
[55/146] Fetching cjavavm, swift-anycodable
Fetched https://github.com/andriydruk/swift-anycodable.git from cache (0.44s)
Fetched https://github.com/SwiftJava/CJavaVM.git from cache (0.44s)
Computing version for https://github.com/SwiftJava/CJavaVM.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Updating https://github.com/SwiftJava/CJavaVM.git
Updating https://github.com/andriydruk/swift-anycodable.git
Updated https://github.com/SwiftJava/CJavaVM.git (0.18s)
Updated https://github.com/andriydruk/swift-anycodable.git (0.20s)
Computing version for https://github.com/SwiftJava/CJavaVM.git
error: package 'package.swift' is using Swift tools version 3.1.0 which is no longer supported; consider using '// swift-tools-version: 6.1' to specify the current tools version
BUILD FAILURE 6.1 wasm