Build Information
Failed to build swift-java, reference main (301e3d), with Swift 6.4 for Wasm on 18 Oct 2026 01:36:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/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/swiftlang/swift-java
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 301e3da Updates User Guide section of swift-java README.md. (#935)
Cloned https://github.com/swiftlang/swift-java.git
Revision (git rev-parse @):
301e3da710ede7af93e798f1ce1c7950715a5748
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-java.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/swiftlang/swift-java.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:7a2e5502d3bb6640f9b2bbb1dadf9967024364ce9ed0ed0bd80cf1b699d193fd
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/627] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core (0.37s)
Fetching https://github.com/ordo-one/package-benchmark
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-system
Fetching https://github.com/swiftlang/swift-syntax
[1/7837] Fetching package-benchmark
[7838/26983] Fetching package-benchmark, swift-argument-parser
[8030/34306] Fetching package-benchmark, swift-argument-parser, swift-system
Fetching https://github.com/swiftlang/swift-subprocess.git
Fetched https://github.com/ordo-one/package-benchmark (0.54s)
[1398/26469] Fetching swift-argument-parser, swift-system
Fetching https://github.com/apple/swift-log
[7144/55343] Fetching swift-argument-parser, swift-system, swift-collections
Fetched https://github.com/apple/swift-system (0.67s)
[21745/48020] Fetching swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser (0.80s)
[13860/28874] Fetching swift-collections
[20791/33861] Fetching swift-collections, swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git (0.55s)
[1/8305] Fetching swift-log
[1829/89107] Fetching swift-log, swift-syntax
Fetched https://github.com/apple/swift-collections (1.27s)
Fetched https://github.com/apple/swift-log (0.77s)
[8889/80802] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.61s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.4.0 (3.77s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.94s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.3 (0.22s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.16s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.16.1 (0.13s)
Computing version for https://github.com/ordo-one/package-benchmark
Computed https://github.com/ordo-one/package-benchmark at 1.38.0 (0.90s)
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/ordo-one/malloc-interposer.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/apple/swift-atomics.git
[1/203] Fetching texttable
[204/462] Fetching texttable, malloc-interposer
[409/1085] Fetching texttable, malloc-interposer, hdrhistogram-swift
[513/2974] Fetching texttable, malloc-interposer, hdrhistogram-swift, swift-atomics
Fetched https://github.com/ordo-one/TextTable.git (0.37s)
[1487/2771] Fetching malloc-interposer, hdrhistogram-swift, swift-atomics
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git (0.43s)
Fetched https://github.com/ordo-one/malloc-interposer.git (0.43s)
Fetched https://github.com/apple/swift-atomics.git (0.43s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.2.0 (0.60s)
Fetching https://github.com/apple/swift-numerics
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (0.52s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.67s)
Computing version for https://github.com/ordo-one/malloc-interposer.git
Computed https://github.com/ordo-one/malloc-interposer.git at 1.6.0 (0.12s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.13s)
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.16.1
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.6.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/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/package-benchmark
Working copy of https://github.com/ordo-one/package-benchmark resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.3
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/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-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.4.0
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/swiftlang/swift-java-jni-core
Working copy of https://github.com/swiftlang/swift-java-jni-core resolved at main (b440a0b)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.26s)
Building for debugging...
[Computing dependencies]
[Provisioning 28 / 99]
[Pre-planning 1 / 2462]
[Planning 1788 / 2462]
[Planning deferred tasks]
[Constructing 2937 / 4994]
[Starting]
[357 / 801]
[396 / 823] SwiftSyntax602
[399 / 823] SystemPackage
[399 / 823] SwiftSyntax602
[401 / 824] SwiftSyntax603
[406 / 825] SystemPackage
[414 / 826] SwiftSyntax602
[428 / 845] SwiftSyntax601
[477 / 878] SwiftSyntax509
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/generated/SwiftJavaError+SwiftJava.swift:3:8: [1;33mwarning: [1;39mfile 'SwiftJavaError+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
[0;36m1 |[0;0m // Generated by swift-java
[0;36m2 |[0;0m
[0;36m3 |[0;0m import SwiftRuntimeFunctions
[0;36m|[0;0m `- [1;33mwarning: [1;39mfile 'SwiftJavaError+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m // ==== --------------------------------------------------
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/generated/SwiftRuntimeFunctionsModule+SwiftJava.swift:3:8: [1;33mwarning: [1;39mfile 'SwiftRuntimeFunctionsModule+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
[0;36m1 |[0;0m // Generated by swift-java
[0;36m2 |[0;0m
[0;36m3 |[0;0m import SwiftRuntimeFunctions
[0;36m|[0;0m `- [1;33mwarning: [1;39mfile 'SwiftRuntimeFunctionsModule+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
[0;36m4 |[0;0m
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:23:2: [1;33mwarning: [1;39msymbol name 'swift_retain' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m @_silgen_name("swift_retain")
[0;36m|[0;0m `- [1;33mwarning: [1;39msymbol name 'swift_retain' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m24 |[0;0m public func _swiftjava_swift_retain(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
[0;36m25 |[0;0m
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:26:2: [1;33mwarning: [1;39msymbol name 'swift_release' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m24 |[0;0m public func _swiftjava_swift_retain(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
[0;36m25 |[0;0m
[0;36m26 |[0;0m @_silgen_name("swift_release")
[0;36m|[0;0m `- [1;33mwarning: [1;39msymbol name 'swift_release' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m27 |[0;0m public func _swiftjava_swift_release(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
[0;36m28 |[0;0m
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:32:2: [1;33mwarning: [1;39msymbol name 'swift_isUniquelyReferenced' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m30 |[0;0m public func _swiftjava_swift_retainCount(object: UnsafeMutableRawPointer) -> Int
[0;36m31 |[0;0m
[0;36m32 |[0;0m @_silgen_name("swift_isUniquelyReferenced")
[0;36m|[0;0m `- [1;33mwarning: [1;39msymbol name 'swift_isUniquelyReferenced' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m33 |[0;0m public func _swiftjava_swift_isUniquelyReferenced(object: UnsafeMutableRawPointer) -> Bool
[0;36m34 |[0;0m
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
[502 / 889] ArgumentParserToolInfo
[514 / 892] SwiftSyntax601
[537 / 898] SwiftSyntax
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/generated/SwiftJavaError+SwiftJava.swift:3:8: [1;33mwarning: [1;39mfile 'SwiftJavaError+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
[0;36m1 |[0;0m // Generated by swift-java
[0;36m2 |[0;0m
[0;36m3 |[0;0m import SwiftRuntimeFunctions
[0;36m|[0;0m `- [1;33mwarning: [1;39mfile 'SwiftJavaError+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
[0;36m4 |[0;0m
[0;36m5 |[0;0m // ==== --------------------------------------------------
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/generated/SwiftRuntimeFunctionsModule+SwiftJava.swift:3:8: [1;33mwarning: [1;39mfile 'SwiftRuntimeFunctionsModule+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
[0;36m1 |[0;0m // Generated by swift-java
[0;36m2 |[0;0m
[0;36m3 |[0;0m import SwiftRuntimeFunctions
[0;36m|[0;0m `- [1;33mwarning: [1;39mfile 'SwiftRuntimeFunctionsModule+SwiftJava.swift' is part of module 'SwiftRuntimeFunctions'; ignoring import[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/module-self-import\ModuleSelfImport]8;;\]
[0;36m4 |[0;0m
[#ModuleSelfImport]: <https://docs.swift.org/compiler/documentation/diagnostics/module-self-import>
[548 / 898] SwiftJavaJNICore
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:23:2: [1;33mwarning: [1;39msymbol name 'swift_retain' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m @_silgen_name("swift_retain")
[0;36m|[0;0m `- [1;33mwarning: [1;39msymbol name 'swift_retain' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m24 |[0;0m public func _swiftjava_swift_retain(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
[0;36m25 |[0;0m
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:26:2: [1;33mwarning: [1;39msymbol name 'swift_release' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m24 |[0;0m public func _swiftjava_swift_retain(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
[0;36m25 |[0;0m
[0;36m26 |[0;0m @_silgen_name("swift_release")
[0;36m|[0;0m `- [1;33mwarning: [1;39msymbol name 'swift_release' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m27 |[0;0m public func _swiftjava_swift_release(object: UnsafeMutableRawPointer) -> UnsafeMutableRawPointer
[0;36m28 |[0;0m
/host/spi-builder-workspace/Sources/SwiftRuntimeFunctions/SwiftRuntimeFunctions.swift:32:2: [1;33mwarning: [1;39msymbol name 'swift_isUniquelyReferenced' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m30 |[0;0m public func _swiftjava_swift_retainCount(object: UnsafeMutableRawPointer) -> Int
[0;36m31 |[0;0m
[0;36m32 |[0;0m @_silgen_name("swift_isUniquelyReferenced")
[0;36m|[0;0m `- [1;33mwarning: [1;39msymbol name 'swift_isUniquelyReferenced' is reserved for the Swift runtime and cannot be directly referenced without causing unpredictable behavior; this will become an error[0;0m
[0;36m33 |[0;0m public func _swiftjava_swift_isUniquelyReferenced(object: UnsafeMutableRawPointer) -> Bool
[0;36m34 |[0;0m
[549 / 899] SwiftRuntimeFunctions
[558 / 899] SwiftJavaJNICore
[559 / 899] SwiftJavaShared
[564 / 899] 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: [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m43 |[0;0m /// `SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM` to `true` or `1` to enable.
[0;36m44 |[0;0m private let describeOOMException: Bool = {
[0;36m45 |[0;0m guard let value = [4;39mgetenv[0;0m("SWIFT_JAVA_JNI_EXCEPTION_DESCRIBE_OOM") else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m46 |[0;0m return false
[0;36m47 |[0;0m }
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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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