Build Information
Failed to build JavaCoder, reference master (065a7d), with Swift 6.1 for Wasm on 27 May 2025 10:17:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/readdle/swift-java-coder.git
https://github.com/readdle/swift-java-coder.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "java_swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.5",
"upper_bound" : "2.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/readdle/java_swift.git"
},
{
"identity" : "swift-anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "1.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/readdle/swift-anycodable.git"
}
],
"manifest_display_name" : "JavaCoder",
"name" : "JavaCoder",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "JavaCoder",
"targets" : [
"JavaCoder"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5",
"4"
],
"targets" : [
{
"c99name" : "JavaCoder",
"module_type" : "SwiftTarget",
"name" : "JavaCoder",
"path" : "Sources",
"product_dependencies" : [
"java_swift",
"AnyCodable"
],
"product_memberships" : [
"JavaCoder"
],
"sources" : [
"JNIArgumentProtocol.swift",
"JNICore+JavaCoder.swift",
"JNIObject+JavaCoder.swift",
"JavaCoderConfig.swift",
"JavaDecoder.swift",
"JavaEncoder.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/readdle/swift-anycodable.git
Fetching https://github.com/readdle/java_swift.git
[1/320] Fetching java_swift
[53/412] Fetching java_swift, swift-anycodable
Fetched https://github.com/readdle/swift-anycodable.git from cache (0.43s)
Fetched https://github.com/readdle/java_swift.git from cache (0.43s)
Computing version for https://github.com/readdle/swift-anycodable.git
Computed https://github.com/readdle/swift-anycodable.git at 1.0.3 (1.51s)
Computing version for https://github.com/readdle/java_swift.git
Computed https://github.com/readdle/java_swift.git at 2.1.9 (1.06s)
Fetching https://github.com/readdle/CJavaVM.git
[1/57] Fetching cjavavm
Fetched https://github.com/readdle/CJavaVM.git from cache (0.44s)
Computing version for https://github.com/readdle/CJavaVM.git
Computed https://github.com/readdle/CJavaVM.git at 2.4.1 (2.06s)
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
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/CJavaVM.git
Working copy of https://github.com/readdle/CJavaVM.git resolved at 2.4.1
warning: 'cjavavm': ignoring declared target(s) 'CJavaVM' in the system package
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/21] 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 | import Glibc
15 |
[6/22] 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 | import Glibc
15 |
[7/22] 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 | import Glibc
15 |
[8/22] 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 | import Glibc
15 |
[9/22] 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 | import Glibc
15 |
[10/22] 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 | import Glibc
15 |
[11/22] 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 | import Glibc
15 |
[12/22] 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 | import Glibc
15 |
[13/22] 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 | import Glibc
15 |
[14/22] 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 | import Glibc
15 |
[15/22] 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 | import Glibc
15 |
[16/22] 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 | import Glibc
15 |
[17/22] 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 | import Glibc
15 |
[18/22] 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 | import Glibc
15 |
[19/22] 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 | import Glibc
15 |
[20/22] 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 | import Glibc
15 |
[21/22] Compiling AnyCodable AnyCodable.swift
[22/22] Emitting module AnyCodable
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
warning: 'cjavavm': ignoring declared target(s) 'CJavaVM' in the system package
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/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 | import Glibc
15 |
[3/18] 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 | import Glibc
15 |
[4/19] 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 | import Glibc
15 |
[5/19] 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 | import Glibc
15 |
[6/19] 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 | import Glibc
15 |
[7/19] 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 | import Glibc
15 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/19] 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 | import Glibc
15 |
[9/19] Emitting module AnyCodable
[10/19] Compiling AnyCodable AnyCodable.swift
[11/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 | import Glibc
15 |
[12/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 | import Glibc
15 |
[13/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 | import Glibc
15 |
[14/20] 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 | import Glibc
15 |
[15/20] 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 | import Glibc
15 |
[16/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 | import Glibc
15 |
[17/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 | import Glibc
15 |
[18/20] 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 | import Glibc
15 |
[19/20] 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 | import Glibc
15 |
BUILD FAILURE 6.1 wasm