The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-java, reference main (3b0c88), with Swift 6.4 for Wasm on 25 Sep 2026 14:41:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3b0c883 jextract/jni: Support protocol inheritance (#773)
Cloned https://github.com/stackotter/swift-java.git
Revision (git rev-parse @):
3b0c88364860b54c111b466369755a1be34b7146
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/swift-java.git at main
========================================
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-53886770-1":/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/swiftlang/swift-java-jni-core
[1/607] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core (0.48s)
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-log
Fetching https://github.com/ordo-one/package-benchmark
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/4776] Fetching swift-subprocess
[193/12941] Fetching swift-subprocess, swift-log
[12942/19893] Fetching swift-subprocess, swift-log, swift-system
Fetched https://github.com/apple/swift-system (0.71s)
Fetching https://github.com/apple/swift-argument-parser
[1/27723] Fetching swift-collections
[11368/35287] Fetching swift-collections, package-benchmark
[35288/54228] Fetching swift-collections, package-benchmark, swift-argument-parser
Fetched https://github.com/apple/swift-collections (1.40s)
[8512/26505] Fetching package-benchmark, swift-argument-parser
[17225/106573] Fetching package-benchmark, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser (0.90s)
[19575/87632] Fetching package-benchmark, swift-syntax
Fetched https://github.com/apple/swift-log (3.66s)
Fetched https://github.com/swiftlang/swift-subprocess.git (3.66s)
Fetched https://github.com/ordo-one/package-benchmark (3.66s)
Fetched https://github.com/swiftlang/swift-syntax (3.68s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (3.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.18s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (1.18s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.0 (0.29s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.18s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.36.2 (1.21s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/swift-runtime-interposer.git
Fetching https://github.com/ordo-one/malloc-interposer.git
[1/71] Fetching swift-runtime-interposer
[68/1952] Fetching swift-runtime-interposer, swift-atomics
Fetched https://github.com/ordo-one/swift-runtime-interposer.git (0.48s)
[57/1881] Fetching swift-atomics
[1882/2504] Fetching swift-atomics, hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git (0.56s)
Fetching https://github.com/ordo-one/TextTable.git
Fetched https://github.com/apple/swift-atomics.git (0.57s)
[1/203] Fetching texttable
Fetched https://github.com/ordo-one/TextTable.git (0.49s)
[1/190] Fetching malloc-interposer
Fetched https://github.com/ordo-one/malloc-interposer.git (1.17s)
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.33s)
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 (1.33s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (1.57s)
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.18s)
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.16s)
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 main (b440a0b)
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
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/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/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-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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.0
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/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-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.1
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/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.2.0
Building for debugging...
[Computing dependencies]
[Provisioning 22 / 92]
[Pre-planning 1 / 2287]
[Planning 597 / 2287]
[Planning 1377 / 2287]
[Planning 1555 / 2287]
[Planning 1812 / 2287]
[Planning 2059 / 2287]
[Planning deferred tasks]
[Constructing 101 / 4665]
[Constructing 3845 / 4665]
[Starting]
[87 / 764] SwiftSyntax602
[148 / 764] SwiftRuntimeFunctions-product
[314 / 764] ExampleSwiftLibrary-product
[354 / 780] SystemPackage
[361 / 789] _SubprocessCShims
[385 / 789] SwiftSyntax601
[395 / 789] SystemPackage
[396 / 790] SwiftSyntax603
[399 / 791] SwiftSyntax602
[409 / 795] SwiftSyntax601
[423 / 800] SwiftSyntax601
[436 / 808] SwiftSyntax600
[455 / 811] SwiftSyntax509
[468 / 824] SwiftSyntax510
[478 / 842] SwiftJavaShared
[482 / 851] SwiftSyntax509
/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>
[496 / 853] SwiftRuntimeFunctions
[505 / 864] SwiftSyntax509
/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>
[515 / 864] SwiftSyntax509
/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>
[517 / 864] SwiftSyntax509
[518 / 864] SwiftSyntax509
/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 |
[520 / 865] SwiftRuntimeFunctions
[529 / 865] SwiftJavaJNICore
[532 / 865] SwiftJavaShared
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
/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-12 -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 -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