Build Information
Failed to build swift-android-native, reference 2.0.1 (6ff6e6), with Swift 6.3 for Wasm on 2 May 2026 01:23:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-android-sdk/swift-android-native.git
Reference: 2.0.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/swift-android-sdk/swift-android-native
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 6ff6e62
Cloned https://github.com/swift-android-sdk/swift-android-native.git
Revision (git rev-parse @):
6ff6e6274fccafac7fdabb4cf7c958d747f44831
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-android-sdk/swift-android-native.git at 2.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/swift-android-sdk/swift-android-native.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-java-jni-core
[1/597] Fetching swift-java-jni-core
Fetched https://github.com/swiftlang/swift-java-jni-core from cache (0.25s)
Computing version for https://github.com/swiftlang/swift-java-jni-core
Computed https://github.com/swiftlang/swift-java-jni-core at 0.5.1 (0.71s)
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
Building for debugging...
[0/15] Write sources
[5/15] Compiling CSwiftJavaJNI dummy.c
[6/15] Write sources
[11/15] Compiling CAndroidNDK dummy.c
[12/15] Write sources
[13/15] Compiling ConcurrencyRuntimeC src.c
[14/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/72] Emitting module AndroidSystem
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:211:57: error: cannot find type 'DIR' in scope
209 | internal typealias system_DIRPtr = OpaquePointer
210 | #else
211 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
212 | #endif
213 |
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:162:5: error: cannot find '_getConst_EWOULDBLOCK' in scope
160 | internal var _EWOULDBLOCK: CInt {
161 | #if os(WASI)
162 | _getConst_EWOULDBLOCK()
| `- error: cannot find '_getConst_EWOULDBLOCK' in scope
163 | #else
164 | EWOULDBLOCK
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:465:5: error: cannot find '_getConst_EOPNOTSUPP' in scope
463 | internal var _EOPNOTSUPP: CInt {
464 | #if os(WASI)
465 | _getConst_EOPNOTSUPP()
| `- error: cannot find '_getConst_EOPNOTSUPP' in scope
466 | #else
467 | EOPNOTSUPP
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:511:5: error: cannot find '_getConst_O_ACCMODE' in scope
509 | internal var _O_ACCMODE: CInt {
510 | #if os(WASI)
511 | _getConst_O_ACCMODE()
| `- error: cannot find '_getConst_O_ACCMODE' in scope
512 | #else
513 | O_ACCMODE
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:521:5: error: cannot find '_getConst_O_NONBLOCK' in scope
519 | internal var _O_NONBLOCK: CInt {
520 | #if os(WASI)
521 | _getConst_O_NONBLOCK()
| `- error: cannot find '_getConst_O_NONBLOCK' in scope
522 | #else
523 | O_NONBLOCK
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:531:5: error: cannot find '_getConst_O_APPEND' in scope
529 | internal var _O_APPEND: CInt {
530 | #if os(WASI)
531 | _getConst_O_APPEND()
| `- error: cannot find '_getConst_O_APPEND' in scope
532 | #else
533 | O_APPEND
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:559:5: error: cannot find '_getConst_O_CREAT' in scope
557 | internal var _O_CREAT: CInt {
558 | #if os(WASI)
559 | _getConst_O_CREAT()
| `- error: cannot find '_getConst_O_CREAT' in scope
560 | #else
561 | O_CREAT
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:568:5: error: cannot find '_getConst_O_TRUNC' in scope
566 | internal var _O_TRUNC: CInt {
567 | #if os(WASI)
568 | _getConst_O_TRUNC()
| `- error: cannot find '_getConst_O_TRUNC' in scope
569 | #else
570 | O_TRUNC
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:577:5: error: cannot find '_getConst_O_EXCL' in scope
575 | internal var _O_EXCL: CInt {
576 | #if os(WASI)
577 | _getConst_O_EXCL()
| `- error: cannot find '_getConst_O_EXCL' in scope
578 | #else
579 | O_EXCL
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:596:5: error: cannot find '_getConst_O_DIRECTORY' in scope
594 | internal var _O_DIRECTORY: CInt {
595 | #if os(WASI)
596 | _getConst_O_DIRECTORY()
| `- error: cannot find '_getConst_O_DIRECTORY' in scope
597 | #else
598 | O_DIRECTORY
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:206:30: error: cannot find 'DT_DIR' in scope
204 | #if !os(Windows)
205 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
206 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
207 | internal typealias system_dirent = dirent
208 | #if os(Linux) || os(Android)
/host/spi-builder-workspace/Sources/AndroidSystem/LockedState.swift:45:34: warning: UnsafeMutablePointer<Void> has been replaced by UnsafeMutableRawPointer
43 | #endif
44 |
45 | typealias PlatformLock = UnsafeMutablePointer<Primitive>
| `- warning: UnsafeMutablePointer<Void> has been replaced by UnsafeMutableRawPointer
46 | var _platformLock: PlatformLock
47 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/76] Emitting module 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 | }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/ThreadLocalStorage.swift:28:13: error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
26 |
27 | #if !(canImport(Darwin) || canImport(Bionic) || canImport(Glibc) || canImport(Musl) || canImport(WinSDK))
28 | private var _globalTlsValue: UnsafeMutableRawPointer?
| |- error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
| |- note: convert '_globalTlsValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_globalTlsValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #endif
30 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[18/78] Compiling SwiftJavaJNICore JavaType+JNI.swift
[19/78] Compiling SwiftJavaJNICore JavaType+JavaSource.swift
[20/78] Compiling SwiftJavaJNICore JavaType+SwiftNames.swift
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:211:57: error: cannot find type 'DIR' in scope
209 | internal typealias system_DIRPtr = OpaquePointer
210 | #else
211 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
212 | #endif
213 |
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:206:30: error: cannot find 'DT_DIR' in scope
204 | #if !os(Windows)
205 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
206 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
207 | internal typealias system_dirent = dirent
208 | #if os(Linux) || os(Android)
[22/78] Compiling SwiftJavaJNICore JavaValue+Array.swift
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:211:57: error: cannot find type 'DIR' in scope
209 | internal typealias system_DIRPtr = OpaquePointer
210 | #else
211 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
212 | #endif
213 |
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:206:30: error: cannot find 'DT_DIR' in scope
204 | #if !os(Windows)
205 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
206 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
207 | internal typealias system_dirent = dirent
208 | #if os(Linux) || os(Android)
[23/78] Compiling SwiftJavaJNICore JavaValue+Bool.swift
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:211:57: error: cannot find type 'DIR' in scope
209 | internal typealias system_DIRPtr = OpaquePointer
210 | #else
211 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
212 | #endif
213 |
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:206:30: error: cannot find 'DT_DIR' in scope
204 | #if !os(Windows)
205 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
206 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
207 | internal typealias system_dirent = dirent
208 | #if os(Linux) || os(Android)
[24/78] Compiling SwiftJavaJNICore JavaValue+FloatingPoint.swift
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:211:57: error: cannot find type 'DIR' in scope
209 | internal typealias system_DIRPtr = OpaquePointer
210 | #else
211 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
212 | #endif
213 |
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Syscalls.swift:206:30: error: cannot find 'DT_DIR' in scope
204 | #if !os(Windows)
205 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
206 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
207 | internal typealias system_dirent = dirent
208 | #if os(Linux) || os(Android)
[25/78] Compiling AndroidSystem MachPort.swift
[26/78] Compiling SwiftJavaJNICore JavaValue.swift
[27/78] Compiling SwiftJavaJNICore Mangling.swift
[28/78] Compiling SwiftJavaJNICore MethodSignature.swift
[32/78] Compiling SwiftJavaJNICore LockedState.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/ThreadLocalStorage.swift:28:13: error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
26 |
27 | #if !(canImport(Darwin) || canImport(Bionic) || canImport(Glibc) || canImport(Musl) || canImport(WinSDK))
28 | private var _globalTlsValue: UnsafeMutableRawPointer?
| |- error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
| |- note: convert '_globalTlsValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_globalTlsValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #endif
30 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[33/78] Compiling SwiftJavaJNICore ThreadLocalStorage.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/ThreadLocalStorage.swift:28:13: error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
26 |
27 | #if !(canImport(Darwin) || canImport(Bionic) || canImport(Glibc) || canImport(Musl) || canImport(WinSDK))
28 | private var _globalTlsValue: UnsafeMutableRawPointer?
| |- error: var '_globalTlsValue' is not concurrency-safe because it is nonisolated global shared mutable state [#MutableGlobalVariable]
| |- note: convert '_globalTlsValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_globalTlsValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | #endif
30 |
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[34/78] Compiling SwiftJavaJNICore JNIError.swift
[35/78] Compiling SwiftJavaJNICore JavaAnnotation.swift
[36/78] Compiling SwiftJavaJNICore JavaDemanglingError.swift
[37/78] Compiling SwiftJavaJNICore 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 | }
[38/78] Compiling SwiftJavaJNICore JavaEnvironment.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 | }
[39/78] Compiling SwiftJavaJNICore JavaExceptionType.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 | }
[40/78] Compiling AndroidSystem SystemString.swift
[41/78] Compiling AndroidSystem Util+StringArray.swift
[42/78] Compiling AndroidSystem Util.swift
[43/78] Compiling AndroidSystem UtilConsumers.swift
[44/78] Compiling SwiftJavaJNICore JavaValue+Integers.swift
/host/spi-builder-workspace/Sources/AndroidSystem/AndroidAPI.swift:44:17: warning: will never be executed
39 | let value: Int32 = -1
40 | #endif
41 | guard value != -1 else {
| `- note: condition always evaluates to false
42 | return nil
43 | }
44 | return .init(rawValue: value)
| `- warning: will never be executed
45 | }
46 | }
[45/78] Compiling SwiftJavaJNICore JavaValue+String.swift
/host/spi-builder-workspace/Sources/AndroidSystem/AndroidAPI.swift:44:17: warning: will never be executed
39 | let value: Int32 = -1
40 | #endif
41 | guard value != -1 else {
| `- note: condition always evaluates to false
42 | return nil
43 | }
44 | return .init(rawValue: value)
| `- warning: will never be executed
45 | }
46 | }
[46/78] Compiling SwiftJavaJNICore UnsafeRawBufferPointer+getJNIValue.swift
/host/spi-builder-workspace/Sources/AndroidSystem/AndroidAPI.swift:44:17: warning: will never be executed
39 | let value: Int32 = -1
40 | #endif
41 | guard value != -1 else {
| `- note: condition always evaluates to false
42 | return nil
43 | }
44 | return .init(rawValue: value)
| `- warning: will never be executed
45 | }
46 | }
/host/spi-builder-workspace/Sources/AndroidSystem/AndroidAPI.swift:44:17: warning: will never be executed
39 | let value: Int32 = -1
40 | #endif
41 | guard value != -1 else {
| `- note: condition always evaluates to false
42 | return nil
43 | }
44 | return .init(rawValue: value)
| `- warning: will never be executed
45 | }
46 | }
/host/spi-builder-workspace/Sources/AndroidSystem/AndroidAPI.swift:44:17: warning: will never be executed
39 | let value: Int32 = -1
40 | #endif
41 | guard value != -1 else {
| `- note: condition always evaluates to false
42 | return nil
43 | }
44 | return .init(rawValue: value)
| `- warning: will never be executed
45 | }
46 | }
[49/78] Compiling AndroidManifest PermissionCheck.swift
/host/spi-builder-workspace/Sources/AndroidManifest/PermissionCheck.swift:65:14: error: cannot find type 'pid_t' in scope
63 | @available(Android 31, *)
64 | func check(
65 | pid: pid_t = getpid(),
| `- error: cannot find type 'pid_t' in scope
66 | uid: uid_t = getuid()
67 | ) throws(Permission.Error) -> CheckStatus {
/host/spi-builder-workspace/Sources/AndroidManifest/PermissionCheck.swift:66:14: error: cannot find type 'uid_t' in scope
64 | func check(
65 | pid: pid_t = getpid(),
66 | uid: uid_t = getuid()
| `- error: cannot find type 'uid_t' in scope
67 | ) throws(Permission.Error) -> CheckStatus {
68 | try _check(pid: pid, uid: uid).get()
/host/spi-builder-workspace/Sources/AndroidManifest/PermissionCheck.swift:80:14: error: cannot find type 'pid_t' in scope
78 | @available(Android 31, *)
79 | internal func _check(
80 | pid: pid_t = getpid(),
| `- error: cannot find type 'pid_t' in scope
81 | uid: uid_t = getuid()
82 | ) -> Result<CheckStatus, Error> {
/host/spi-builder-workspace/Sources/AndroidManifest/PermissionCheck.swift:81:14: error: cannot find type 'uid_t' in scope
79 | internal func _check(
80 | pid: pid_t = getpid(),
81 | uid: uid_t = getuid()
| `- error: cannot find type 'uid_t' in scope
82 | ) -> Result<CheckStatus, Error> {
83 | var result: Int32 = -1
[50/78] Compiling AndroidManifest PermissionGroup.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/78] Emitting module AndroidManifest
/host/spi-builder-workspace/Sources/AndroidManifest/PermissionCheck.swift:65:14: error: cannot find type 'pid_t' in scope
63 | @available(Android 31, *)
64 | func check(
65 | pid: pid_t = getpid(),
| `- error: cannot find type 'pid_t' in scope
66 | uid: uid_t = getuid()
67 | ) throws(Permission.Error) -> CheckStatus {
/host/spi-builder-workspace/Sources/AndroidManifest/PermissionCheck.swift:66:14: error: cannot find type 'uid_t' in scope
64 | func check(
65 | pid: pid_t = getpid(),
66 | uid: uid_t = getuid()
| `- error: cannot find type 'uid_t' in scope
67 | ) throws(Permission.Error) -> CheckStatus {
68 | try _check(pid: pid, uid: uid).get()
/host/spi-builder-workspace/Sources/AndroidManifest/PermissionCheck.swift:80:14: error: cannot find type 'pid_t' in scope
78 | @available(Android 31, *)
79 | internal func _check(
80 | pid: pid_t = getpid(),
| `- error: cannot find type 'pid_t' in scope
81 | uid: uid_t = getuid()
82 | ) -> Result<CheckStatus, Error> {
/host/spi-builder-workspace/Sources/AndroidManifest/PermissionCheck.swift:81:14: error: cannot find type 'uid_t' in scope
79 | internal func _check(
80 | pid: pid_t = getpid(),
81 | uid: uid_t = getuid()
| `- error: cannot find type 'uid_t' in scope
82 | ) -> Result<CheckStatus, Error> {
83 | var result: Int32 = -1
[52/78] Compiling AndroidManifest Permission.swift
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:442:22: error: cannot find 'dlsym' in scope
440 |
441 | private func symbol<T>(_ handle: DylibType, _ name: String) -> T? {
442 | guard let result = dlsym(handle, name) else {
| `- error: cannot find 'dlsym' in scope
443 | return nil
444 | }
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:15: error: cannot find 'dlopen' in scope
533 | let dylib = LoadLibraryA(libjvmPath.path)
534 | #else
535 | let dylib = dlopen(libjvmPath.path, RTLD_NOW)
| `- error: cannot find 'dlopen' in scope
536 | #endif
537 |
[61/78] Compiling AndroidSystem FilePathTempWindows.swift
[62/78] Compiling AndroidSystem FilePathWindows.swift
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:162:5: error: cannot find '_getConst_EWOULDBLOCK' in scope
160 | internal var _EWOULDBLOCK: CInt {
161 | #if os(WASI)
162 | _getConst_EWOULDBLOCK()
| `- error: cannot find '_getConst_EWOULDBLOCK' in scope
163 | #else
164 | EWOULDBLOCK
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:465:5: error: cannot find '_getConst_EOPNOTSUPP' in scope
463 | internal var _EOPNOTSUPP: CInt {
464 | #if os(WASI)
465 | _getConst_EOPNOTSUPP()
| `- error: cannot find '_getConst_EOPNOTSUPP' in scope
466 | #else
467 | EOPNOTSUPP
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:511:5: error: cannot find '_getConst_O_ACCMODE' in scope
509 | internal var _O_ACCMODE: CInt {
510 | #if os(WASI)
511 | _getConst_O_ACCMODE()
| `- error: cannot find '_getConst_O_ACCMODE' in scope
512 | #else
513 | O_ACCMODE
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:521:5: error: cannot find '_getConst_O_NONBLOCK' in scope
519 | internal var _O_NONBLOCK: CInt {
520 | #if os(WASI)
521 | _getConst_O_NONBLOCK()
| `- error: cannot find '_getConst_O_NONBLOCK' in scope
522 | #else
523 | O_NONBLOCK
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:531:5: error: cannot find '_getConst_O_APPEND' in scope
529 | internal var _O_APPEND: CInt {
530 | #if os(WASI)
531 | _getConst_O_APPEND()
| `- error: cannot find '_getConst_O_APPEND' in scope
532 | #else
533 | O_APPEND
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:559:5: error: cannot find '_getConst_O_CREAT' in scope
557 | internal var _O_CREAT: CInt {
558 | #if os(WASI)
559 | _getConst_O_CREAT()
| `- error: cannot find '_getConst_O_CREAT' in scope
560 | #else
561 | O_CREAT
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:568:5: error: cannot find '_getConst_O_TRUNC' in scope
566 | internal var _O_TRUNC: CInt {
567 | #if os(WASI)
568 | _getConst_O_TRUNC()
| `- error: cannot find '_getConst_O_TRUNC' in scope
569 | #else
570 | O_TRUNC
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:577:5: error: cannot find '_getConst_O_EXCL' in scope
575 | internal var _O_EXCL: CInt {
576 | #if os(WASI)
577 | _getConst_O_EXCL()
| `- error: cannot find '_getConst_O_EXCL' in scope
578 | #else
579 | O_EXCL
/host/spi-builder-workspace/Sources/AndroidSystem/Internals/Constants.swift:596:5: error: cannot find '_getConst_O_DIRECTORY' in scope
594 | internal var _O_DIRECTORY: CInt {
595 | #if os(WASI)
596 | _getConst_O_DIRECTORY()
| `- error: cannot find '_getConst_O_DIRECTORY' in scope
597 | #else
598 | O_DIRECTORY
BUILD FAILURE 6.3 wasm