The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-java, reference 0.5.1 (e04c0e), with Swift 6.4 for Wasm on 25 Sep 2026 14:41:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-java.git
Reference: 0.5.1
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/stackotter/swift-java
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at e04c0ed Update to versioned swift-java-jni-core dependency
Cloned https://github.com/stackotter/swift-java.git
Revision (git rev-parse @):
e04c0ed6af98936ca6300e94be9a19869df418a2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/swift-java.git at 0.5.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/stackotter/swift-java.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/ordo-one/package-benchmark
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-log
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/8165] Fetching swift-log
[1879/12941] Fetching swift-log, swift-subprocess
[12942/31882] Fetching swift-log, swift-subprocess, swift-argument-parser
[14079/38834] Fetching swift-log, swift-subprocess, swift-argument-parser, swift-system
[19802/66557] Fetching swift-log, swift-subprocess, swift-argument-parser, swift-system, swift-collections
Fetched https://github.com/apple/swift-system (0.77s)
Fetched https://github.com/apple/swift-log (0.77s)
Fetching https://github.com/swiftlang/swift-syntax
[29817/51440] Fetching swift-subprocess, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser (0.88s)
[19470/32499] Fetching swift-subprocess, swift-collections
[22243/40063] Fetching swift-subprocess, swift-collections, package-benchmark
Fetched https://github.com/swiftlang/swift-subprocess.git (1.00s)
Fetched https://github.com/ordo-one/package-benchmark (1.00s)
[23288/27723] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (1.24s)
[1/80068] Fetching swift-syntax
Fetching https://github.com/swiftlang/swift-java-jni-core
[80069/80675] Fetching swift-syntax, swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core (0.54s)
Fetched https://github.com/swiftlang/swift-syntax (3.77s)
Computing version for https://github.com/swiftlang/swift-java-jni-core
Computed https://github.com/swiftlang/swift-java-jni-core at 0.5.1 (4.71s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (1.30s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.0 (0.33s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.22s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.20s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.36.2 (1.15s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/ordo-one/malloc-interposer.git
Fetching https://github.com/ordo-one/swift-runtime-interposer.git
Fetching https://github.com/ordo-one/TextTable.git
[1/71] Fetching swift-runtime-interposer
[72/1952] Fetching swift-runtime-interposer, swift-atomics
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetched https://github.com/apple/swift-atomics.git (0.62s)
[1/190] Fetching malloc-interposer
Fetched https://github.com/ordo-one/malloc-interposer.git (0.96s)
Fetched https://github.com/ordo-one/swift-runtime-interposer.git (0.97s)
[1/203] Fetching texttable
Fetched https://github.com/ordo-one/TextTable.git (1.03s)
[1/623] Fetching hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git (0.74s)
Computing version for https://github.com/ordo-one/swift-runtime-interposer.git
Computed https://github.com/ordo-one/swift-runtime-interposer.git at 2.0.0 (1.52s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.2.0 (0.19s)
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (2.59s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (2.77s)
Computing version for https://github.com/ordo-one/malloc-interposer.git
Computed https://github.com/ordo-one/malloc-interposer.git at 1.4.0 (0.15s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.17s)
Creating working copy for https://github.com/ordo-one/package-benchmark
Working copy of https://github.com/ordo-one/package-benchmark resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
Creating working copy for https://github.com/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at 0.5.1
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.5.0
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.2.0
Creating working copy for https://github.com/ordo-one/swift-runtime-interposer.git
Working copy of https://github.com/ordo-one/swift-runtime-interposer.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/ordo-one/malloc-interposer.git
Working copy of https://github.com/ordo-one/malloc-interposer.git resolved at 1.4.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 2109]
[Planning 512 / 2109]
[Planning 1629 / 2109]
[Planning 2099 / 2109]
[Planning deferred tasks]
[Constructing 1 / 4303]
[Constructing 2774 / 4303]
[Starting]
[14 / 720]
[200 / 720] SwiftIfConfig
[328 / 726]
[339 / 740] SwiftSyntax600
[376 / 744] SwiftSyntax601
[378 / 744] SwiftSyntax600
[396 / 753] SwiftSyntax603
[415 / 754]
[427 / 770] SwiftRuntimeFunctions
[445 / 783] SwiftSyntax602
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/generated/SwiftJavaError+SwiftJava.swift:3:8: warning: file 'SwiftJavaError+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
 1 | // Generated by swift-java
 2 |
 3 | import SwiftRuntimeFunctions
   |        `- warning: file 'SwiftJavaError+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
 4 |
 5 | // ==== --------------------------------------------------
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/generated/SwiftRuntimeFunctionsModule+SwiftJava.swift:3:8: warning: file 'SwiftRuntimeFunctionsModule+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
1 | // Generated by swift-java
2 |
3 | import SwiftRuntimeFunctions
  |        `- warning: file 'SwiftRuntimeFunctionsModule+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
4 |
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:23:2: warning: symbol name 'swift_retain' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
21 | }
22 |
23 | @_silgen_name("swift_retain")
   |  `- warning: symbol name 'swift_retain' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
24 | public func _swiftjava_swift_retain(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
25 |
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:26:2: warning: symbol name 'swift_release' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
24 | public func _swiftjava_swift_retain(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
25 |
26 | @_silgen_name("swift_release")
   |  `- warning: symbol name 'swift_release' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
27 | public func _swiftjava_swift_release(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
28 |
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:32:2: warning: symbol name 'swift_isUniquelyReferenced' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
30 | public func _swiftjava_swift_retainCount(object: UnsafeMutableRawPointer) -> Int
31 |
32 | @_silgen_name("swift_isUniquelyReferenced")
   |  `- warning: symbol name 'swift_isUniquelyReferenced' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
33 | public func _swiftjava_swift_isUniquelyReferenced(object: UnsafeMutableRawPointer) -> Bool
34 |
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
[462 / 785] SwiftSyntax601
[467 / 786] SwiftSyntax
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/generated/SwiftRuntimeFunctionsModule+SwiftJava.swift:3:8: warning: file 'SwiftRuntimeFunctionsModule+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
1 | // Generated by swift-java
2 |
3 | import SwiftRuntimeFunctions
  |        `- warning: file 'SwiftRuntimeFunctionsModule+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
4 |
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/generated/SwiftJavaError+SwiftJava.swift:3:8: warning: file 'SwiftJavaError+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
 1 | // Generated by swift-java
 2 |
 3 | import SwiftRuntimeFunctions
   |        `- warning: file 'SwiftJavaError+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
 4 |
 5 | // ==== --------------------------------------------------
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
[473 / 787] SwiftJavaJNICore
[476 / 787] SwiftSyntax601
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:23:2: warning: symbol name 'swift_retain' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
21 | }
22 |
23 | @_silgen_name("swift_retain")
   |  `- warning: symbol name 'swift_retain' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
24 | public func _swiftjava_swift_retain(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
25 |
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:26:2: warning: symbol name 'swift_release' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
24 | public func _swiftjava_swift_retain(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
25 |
26 | @_silgen_name("swift_release")
   |  `- warning: symbol name 'swift_release' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
27 | public func _swiftjava_swift_release(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
28 |
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:32:2: warning: symbol name 'swift_isUniquelyReferenced' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
30 | public func _swiftjava_swift_retainCount(object: UnsafeMutableRawPointer) -> Int
31 |
32 | @_silgen_name("swift_isUniquelyReferenced")
   |  `- warning: symbol name 'swift_isUniquelyReferenced' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error
33 | public func _swiftjava_swift_isUniquelyReferenced(object: UnsafeMutableRawPointer) -> Bool
34 |
[477 / 788] SwiftSyntax601
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile JavaEnvironment+Refs.swift
[487 / 788] SwiftJavaJNICore
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift:45:21: error: cannot find 'getenv' in scope
 43 | /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
 44 | private let describeOOMException: Bool = {
 45 |   guard let value = getenv("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
    |                     `- error: cannot find 'getenv' in scope
 46 |     return false
 47 |   }
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/BridgedValues/JavaValue+Array.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/BridgedValues/JavaValue+Bool.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/BridgedValues/JavaValue+FloatingPoint.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/BridgedValues/JavaValue+Integers.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/BridgedValues/JavaValue+String.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/BridgedValues/UnsafeRawBufferPointer+getJNIValue.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JNIError.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaAnnotation.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaDemanglingError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment+Refs.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaEnvironment.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaExceptionType.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaType+JNI.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaType+JavaSource.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaType+SwiftNames.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaType.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/JavaValue.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/Mangling.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/MethodSignature.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/SwiftJavaJNICore.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/LockedState.swift /host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/ThreadLocalStorage.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/Objects-normal/wasm32/supplementaryOutputs-4 -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 0.5.1 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/CSwiftJavaJNI/include/module.modulemap -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/CSwiftJavaJNI/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftJavaJNICore -package-name swift_java_jni_core -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/Objects-normal/wasm32/SwiftJavaJNICore_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/Objects-normal/wasm32/JavaEnvironment+Refs.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/Objects-normal/wasm32/JavaEnvironment.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/Objects-normal/wasm32/JavaExceptionType.o -index-unit-output-path /swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/Objects-normal/wasm32/JavaEnvironment+Refs.o -index-unit-output-path /swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/Objects-normal/wasm32/JavaEnvironment.o -index-unit-output-path /swift-java-jni-core.build/Debug-webassembly-wasm32/SwiftJavaJNICore-t.build/Objects-normal/wasm32/JavaExceptionType.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm