Build Information
Failed to build JavaLang, reference 0.2.0 (988d05), with Swift 6.2 for Wasm on 17 Feb 2026 08:07:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/JavaLang.git
Reference: 0.2.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/PureSwift/JavaLang
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 988d05c Update generated code
Cloned https://github.com/PureSwift/JavaLang.git
Revision (git rev-parse @):
988d05c6bf6187d3a70230a5e877f1281f07a092
SUCCESS checkout https://github.com/PureSwift/JavaLang.git at 0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/PureSwift/JavaLang.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/PureSwift/swift-java.git
[1/9549] Fetching swift-java
Fetched https://github.com/PureSwift/swift-java.git from cache (1.07s)
warning: 'swift-java': JAVA_HOME = /root/.sdkman/candidates/java/current
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
[1/19665] Fetching swift-collections
[1771/25570] Fetching swift-collections, swift-log
[2834/42729] Fetching swift-collections, swift-log, swift-argument-parser
[3006/48281] Fetching swift-collections, swift-log, swift-argument-parser, swift-system
[4596/50816] Fetching swift-collections, swift-log, swift-argument-parser, swift-system, swift-subprocess
[20655/125075] Fetching swift-collections, swift-log, swift-argument-parser, swift-system, swift-subprocess, swift-syntax
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.10s)
[33705/122540] Fetching swift-collections, swift-log, swift-argument-parser, swift-system, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.86s)
[37193/105381] Fetching swift-collections, swift-log, swift-system, swift-syntax
Fetched https://github.com/apple/swift-system from cache (2.84s)
Fetched https://github.com/apple/swift-log from cache (2.85s)
[46399/93924] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections from cache (2.90s)
[28219/74259] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.56s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (9.66s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.30s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (0.64s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.57s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.10.1 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.10.1
Creating working copy for https://github.com/PureSwift/swift-java.git
Working copy of https://github.com/PureSwift/swift-java.git resolved at feature/android (4ecd9a7)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
warning: 'swift-java': JAVA_HOME = /root/.sdkman/candidates/java/current
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.45s)
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/JExtractSwiftPlugin.swift:38:11: warning: expression of type '(any SourceModuleTarget)?' is unused [#no-usage]
36 | switch dependency {
37 | case .target(let t):
38 | t.sourceModule
| `- warning: expression of type '(any SourceModuleTarget)?' is unused [#no-usage]
39 | case .product(let p):
40 | p.sourceModules
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/JExtractSwiftPlugin.swift:40:11: warning: expression of type '[any SourceModuleTarget]' is unused [#no-usage]
38 | t.sourceModule
39 | case .product(let p):
40 | p.sourceModules
| `- warning: expression of type '[any SourceModuleTarget]' is unused [#no-usage]
41 | @unknown default:
42 | fatalError("Unknown target dependency type: \(dependency)")
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/JExtractSwiftPlugin.swift:46:28: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
44 | }
45 |
46 | let sourceDir = target.directory.string
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
47 |
48 | // The name of the configuration file SwiftJava.config from the target for
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/JExtractSwiftPlugin.swift:46:38: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
44 | }
45 |
46 | let sourceDir = target.directory.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
47 |
48 | // The name of the configuration file SwiftJava.config from the target for
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/JExtractSwiftPlugin.swift:291:48: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
289 | func _searchForConfigFiles(in target: any Target) {
290 | // log("Search for config files in target: \(target.name)")
291 | let dependencyURL = URL(filePath: target.directory.string)
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
292 |
293 | // Look for a config file within this target.
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/JExtractSwiftPlugin.swift:291:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
289 | func _searchForConfigFiles(in target: any Target) {
290 | // log("Search for config files in target: \(target.name)")
291 | let dependencyURL = URL(filePath: target.directory.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
292 |
293 | // Look for a config file within this target.
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/JExtractSwiftPlugin.swift:337:24: warning: immutable value 'target' was never used; consider replacing with '_' or removing it [#no-usage]
335 | for dependency in target.dependencies {
336 | switch dependency {
337 | case .target(let target):
| `- warning: immutable value 'target' was never used; consider replacing with '_' or removing it [#no-usage]
338 | continue
339 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/_PluginsShared/PluginUtils.swift:49:48: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
47 |
48 | func getSwiftJavaConfigPath(target: Target) -> String? {
49 | let configPath = URL(fileURLWithPath: target.directory.string).appending(component: "swift-java.config").path()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
50 |
51 | if FileManager.default.fileExists(atPath: configPath) {
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/_PluginsShared/PluginUtils.swift:49:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
47 |
48 | func getSwiftJavaConfigPath(target: Target) -> String? {
49 | let configPath = URL(fileURLWithPath: target.directory.string).appending(component: "swift-java.config").path()
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
50 |
51 | if FileManager.default.fileExists(atPath: configPath) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JExtractSwiftPlugin/_PluginsShared/SwiftJavaConfigurationShared/Configuration.swift:258:30: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
256 | if fileURL.lastPathComponent.hasSuffix(".swift-java.classpath") {
257 | print("[debug][swift-java] Constructing classpath with entries from: \(fileURL.path)")
258 | if let contents = try? String(contentsOf: fileURL) {
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
259 | let entries = contents.split(separator: ":").map(String.init)
260 | for entry in entries {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin JExtractSwiftPlugin
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/SwiftJavaPlugin/SwiftJavaPlugin.swift:35:28: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
33 | // Note: Target doesn't have a directoryURL counterpart to directory,
34 | // so we cannot eliminate this deprecation warning.
35 | let sourceDir = target.directory.string
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
36 |
37 | // The name of the configuration file SwiftJava.config from the target for
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/SwiftJavaPlugin/SwiftJavaPlugin.swift:35:38: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
33 | // Note: Target doesn't have a directoryURL counterpart to directory,
34 | // so we cannot eliminate this deprecation warning.
35 | let sourceDir = target.directory.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
36 |
37 | // The name of the configuration file SwiftJava.config from the target for
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/SwiftJavaPlugin/SwiftJavaPlugin.swift:52:48: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
50 | func searchForConfigFiles(in target: any Target) {
51 | // log("Search for config files in target: \(target.name)")
52 | let dependencyURL = URL(filePath: target.directory.string)
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
53 |
54 | // Look for a config file within this target.
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/SwiftJavaPlugin/SwiftJavaPlugin.swift:52:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
50 | func searchForConfigFiles(in target: any Target) {
51 | // log("Search for config files in target: \(target.name)")
52 | let dependencyURL = URL(filePath: target.directory.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
53 |
54 | // Look for a config file within this target.
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/SwiftJavaPlugin/SwiftJavaPlugin.swift:45:9: warning: initialization of variable 'javaDependencies' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
43 | log("Config on path: \(configFile.path(percentEncoded: false))")
44 | log("Config was: \(config)")
45 | var javaDependencies = config.dependencies ?? []
| `- warning: initialization of variable 'javaDependencies' was never used; consider replacing with assignment to '_' or removing it [#no-usage]
46 |
47 | /// Find the manifest files from other swift-java executions in any targets
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/SwiftJavaPlugin/_PluginsShared/PluginUtils.swift:49:48: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
47 |
48 | func getSwiftJavaConfigPath(target: Target) -> String? {
49 | let configPath = URL(fileURLWithPath: target.directory.string).appending(component: "swift-java.config").path()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
50 |
51 | if FileManager.default.fileExists(atPath: configPath) {
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/SwiftJavaPlugin/_PluginsShared/PluginUtils.swift:49:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
47 |
48 | func getSwiftJavaConfigPath(target: Target) -> String? {
49 | let configPath = URL(fileURLWithPath: target.directory.string).appending(component: "swift-java.config").path()
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
50 |
51 | if FileManager.default.fileExists(atPath: configPath) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/SwiftJavaPlugin/_PluginsShared/SwiftJavaConfigurationShared/Configuration.swift:258:30: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
256 | if fileURL.lastPathComponent.hasSuffix(".swift-java.classpath") {
257 | print("[debug][swift-java] Constructing classpath with entries from: \(fileURL.path)")
258 | if let contents = try? String(contentsOf: fileURL) {
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
259 | let entries = contents.split(separator: ":").map(String.init)
260 | for entry in entries {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2/2] Compiling plugin SwiftJavaPlugin
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JavaCompilerPlugin/JavaCompilerPlugin.swift:33:42: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
31 | // Note: Target doesn't have a directoryURL counterpart to directory,
32 | // so we cannot eliminate this deprecation warning.
33 | let sourceDir = URL(filePath: target.directory.string)
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
34 |
35 | // The name of the configuration file SwiftJava.config from the target for
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JavaCompilerPlugin/JavaCompilerPlugin.swift:33:52: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
31 | // Note: Target doesn't have a directoryURL counterpart to directory,
32 | // so we cannot eliminate this deprecation warning.
33 | let sourceDir = URL(filePath: target.directory.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
34 |
35 | // The name of the configuration file SwiftJava.config from the target for
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JavaCompilerPlugin/_PluginsShared/PluginUtils.swift:49:48: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
47 |
48 | func getSwiftJavaConfigPath(target: Target) -> String? {
49 | let configPath = URL(fileURLWithPath: target.directory.string).appending(component: "swift-java.config").path()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
50 |
51 | if FileManager.default.fileExists(atPath: configPath) {
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JavaCompilerPlugin/_PluginsShared/PluginUtils.swift:49:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
47 |
48 | func getSwiftJavaConfigPath(target: Target) -> String? {
49 | let configPath = URL(fileURLWithPath: target.directory.string).appending(component: "swift-java.config").path()
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
50 |
51 | if FileManager.default.fileExists(atPath: configPath) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/.build/checkouts/swift-java/Plugins/JavaCompilerPlugin/_PluginsShared/SwiftJavaConfigurationShared/Configuration.swift:258:30: warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
256 | if fileURL.lastPathComponent.hasSuffix(".swift-java.classpath") {
257 | print("[debug][swift-java] Constructing classpath with entries from: \(fileURL.path)")
258 | if let contents = try? String(contentsOf: fileURL) {
| `- warning: 'init(contentsOf:)' is deprecated: Use `init(contentsOf:encoding:)` instead [#DeprecatedDeclaration]
259 | let entries = contents.split(separator: ":").map(String.init)
260 | for entry in entries {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[3/3] Compiling plugin JavaCompilerPlugin
[4/4] Compiling plugin GenerateManual
[5/5] Compiling plugin GenerateDoccReference
Building for debugging...
[5/31] Write sources
[21/31] Compiling CSwiftJavaJNI dummy.c
[22/31] Compiling CSwiftJavaJNI AndroidSupport.cpp
[23/31] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/41] Emitting module JavaTypes
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/JavaType+JavaSource.swift:57:52: error: cannot use key path in embedded Swift
55 | if let package {
56 | if !typeParameters.isEmpty {
57 | "\(package).\(name)<\(typeParameters.map(\.description).joined(separator: ", "))>"
| `- error: cannot use key path in embedded Swift
58 | } else {
59 | "\(package).\(name)"
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/Mangling.swift:137:35: error: cannot use a value of protocol type 'any Error' in embedded Swift
135 | case "L":
136 | guard let semicolonIndex = string.firstIndex(of: ";") else {
137 | throw JavaDemanglingError.invalidMangledName(String(string))
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
138 | }
139 |
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/Mangling.swift:21:33: error: cannot use a value of protocol type 'any Error' in embedded Swift
19 | self = try JavaType.demangleNextType(from: &mangledName)
20 | if !mangledName.isEmpty {
21 | throw JavaDemanglingError.extraText(String(mangledName))
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
22 | }
23 | }
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/JavaType+JavaSource.swift:32:18: note: called from here
30 |
31 | case let name where name.starts(with: "["):
32 | self = try JavaType(mangledName: name)
| `- note: called from here
33 |
34 | case let className:
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/Mangling.swift:62:33: error: cannot use a value of protocol type 'any Error' in embedded Swift
60 |
61 | guard remainingName.first == ")" else {
62 | throw JavaDemanglingError.invalidMangledName(mangledName)
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
63 | }
64 |
[26/41] Compiling JavaTypes JavaAnnotation.swift
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/JavaType+JavaSource.swift:57:52: error: cannot use key path in embedded Swift
55 | if let package {
56 | if !typeParameters.isEmpty {
57 | "\(package).\(name)<\(typeParameters.map(\.description).joined(separator: ", "))>"
| `- error: cannot use key path in embedded Swift
58 | } else {
59 | "\(package).\(name)"
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/Mangling.swift:137:35: error: cannot use a value of protocol type 'any Error' in embedded Swift
135 | case "L":
136 | guard let semicolonIndex = string.firstIndex(of: ";") else {
137 | throw JavaDemanglingError.invalidMangledName(String(string))
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
138 | }
139 |
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/Mangling.swift:21:33: error: cannot use a value of protocol type 'any Error' in embedded Swift
19 | self = try JavaType.demangleNextType(from: &mangledName)
20 | if !mangledName.isEmpty {
21 | throw JavaDemanglingError.extraText(String(mangledName))
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
22 | }
23 | }
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/JavaType+JavaSource.swift:32:18: note: called from here
30 |
31 | case let name where name.starts(with: "["):
32 | self = try JavaType(mangledName: name)
| `- note: called from here
33 |
34 | case let className:
/host/spi-builder-workspace/.build/checkouts/swift-java/Sources/JavaTypes/Mangling.swift:62:33: error: cannot use a value of protocol type 'any Error' in embedded Swift
60 |
61 | guard remainingName.first == ")" else {
62 | throw JavaDemanglingError.invalidMangledName(mangledName)
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
63 | }
64 |
BUILD FAILURE 6.2 wasm