Build Information
Failed to build swift-wirelet, reference v0.5.0 (fae710), with Swift 6.3 for Wasm on 25 Aug 2026 08:41:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jiyimeta/swift-wirelet.git
Reference: v0.5.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jiyimeta/swift-wirelet
* tag v0.5.0 -> FETCH_HEAD
HEAD is now at fae7108 chore(release): swift-wirelet 0.5.0
Cloned https://github.com/jiyimeta/swift-wirelet.git
Revision (git rev-parse @):
fae71081a36122f170f3dc9b870f4e27ebf34c65
SUCCESS checkout https://github.com/jiyimeta/swift-wirelet.git at v0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/jiyimeta/swift-wirelet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/swiftlang/swift-java-jni-core.git
[1/607] Fetching swift-java-jni-core
[608/79678] Fetching swift-java-jni-core, swift-syntax
Fetched https://github.com/swiftlang/swift-java-jni-core.git from cache (2.87s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.89s)
Computing version for https://github.com/swiftlang/swift-java-jni-core.git
Computed https://github.com/swiftlang/swift-java-jni-core.git at 0.5.1 (3.05s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.00s)
Creating working copy for https://github.com/swiftlang/swift-java-jni-core.git
Working copy of https://github.com/swiftlang/swift-java-jni-core.git resolved at 0.5.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.19s)
/host/spi-builder-workspace/Plugins/WireletProvidedBridges/Plugin.swift:43:38: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
41 |
42 | let arguments: [String] = [
43 | "--source", sourceTarget.directory.string,
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
44 | "--output", outputDirURL.path(percentEncoded: false),
45 | ]
/host/spi-builder-workspace/Plugins/WireletProvidedBridges/Plugin.swift:43:48: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
41 |
42 | let arguments: [String] = [
43 | "--source", sourceTarget.directory.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
44 | "--output", outputDirURL.path(percentEncoded: false),
45 | ]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin WireletProvidedBridges
/host/spi-builder-workspace/Plugins/WireletObservableBridges/Plugin.swift:47:40: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
45 | // view-model Kotlin — its presence signals that a JNI_OnLoad is
46 | // needed to register native methods at library load time.
47 | let sidecarPath = sourceTarget.directory.string + "/.wirelet-observable-jni.json"
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
48 | var arguments: [String] = [
49 | "--source", sourceTarget.directory.string,
/host/spi-builder-workspace/Plugins/WireletObservableBridges/Plugin.swift:47:50: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
45 | // view-model Kotlin — its presence signals that a JNI_OnLoad is
46 | // needed to register native methods at library load time.
47 | let sidecarPath = sourceTarget.directory.string + "/.wirelet-observable-jni.json"
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
48 | var arguments: [String] = [
49 | "--source", sourceTarget.directory.string,
/host/spi-builder-workspace/Plugins/WireletObservableBridges/Plugin.swift:49:38: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
47 | let sidecarPath = sourceTarget.directory.string + "/.wirelet-observable-jni.json"
48 | var arguments: [String] = [
49 | "--source", sourceTarget.directory.string,
| |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
| `- note: use 'directoryURL' instead
50 | "--output", outputDirURL.path(percentEncoded: false),
51 | ]
/host/spi-builder-workspace/Plugins/WireletObservableBridges/Plugin.swift:49:48: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
47 | let sidecarPath = sourceTarget.directory.string + "/.wirelet-observable-jni.json"
48 | var arguments: [String] = [
49 | "--source", sourceTarget.directory.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
50 | "--output", outputDirURL.path(percentEncoded: false),
51 | ]
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[2/2] Compiling plugin WireletObservableBridges
Building for debugging...
[2/128] Write sources
[54/128] Compiling CSwiftJavaJNI dummy.c
[55/128] Compiling _SwiftSyntaxCShims PlatformMutex.c
[56/128] Write sources
[62/128] Compiling _SwiftSyntaxCShims PlatformMutex.c
[63/128] Write sources
[68/128] Compiling CSwiftJavaJNI dummy.c
[69/128] Write swift-version-24593BA9C3E375BF.txt
[71/144] Emitting module SwiftSyntax603
[72/144] Emitting module SwiftSyntax600
[73/144] Compiling SwiftSyntax600 Empty.swift
[75/145] Compiling SwiftSyntax603 Empty.swift
[76/146] Compiling SwiftSyntax601 Empty.swift
[77/146] Emitting module SwiftSyntax601
[78/147] Emitting module SwiftSyntax600
[79/147] Compiling SwiftSyntax600 Empty.swift
[83/150] Emitting module SwiftSyntax510
[84/150] Compiling SwiftSyntax510 Empty.swift
[86/157] Emitting module SwiftSyntax509
[87/157] Compiling SwiftSyntax509 Empty.swift
[88/157] Emitting module SwiftSyntax509
[89/158] Compiling SwiftSyntax510 Empty.swift
[90/158] Compiling SwiftSyntax509 Empty.swift
[91/158] Emitting module SwiftSyntax510
[92/160] Compiling SwiftSyntax602 Empty.swift
[94/160] Emitting module SwiftSyntax602
[97/162] Emitting module SwiftSyntax601
[98/162] Compiling SwiftSyntax601 Empty.swift
[100/163] Compiling SwiftSyntax603 Empty.swift
[101/163] Emitting module SwiftSyntax603
[101/163] Wrapping AST for SwiftSyntax600 for debugging
[103/169] Wrapping AST for SwiftSyntax510 for debugging
[105/186] Wrapping AST for SwiftSyntax509 for debugging
[106/197] Wrapping AST for SwiftSyntax603 for debugging
[107/207] Wrapping AST for SwiftSyntax602 for debugging
[108/207] Wrapping AST for SwiftSyntax601 for debugging
[110/208] Wrapping AST for SwiftSyntax603 for debugging
[111/208] Wrapping AST for SwiftSyntax510 for debugging
[112/212] Wrapping AST for SwiftSyntax600 for debugging
[113/221] Wrapping AST for SwiftSyntax509 for debugging
[115/231] Emitting module SwiftSyntax602
[116/231] Compiling SwiftSyntax602 Empty.swift
[117/271] Wrapping AST for SwiftSyntax602 for debugging
[119/334] Compiling SwiftSyntax AbsolutePosition.swift
[120/334] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[121/334] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[122/334] Compiling SwiftSyntax Assert.swift
[123/334] Compiling SwiftSyntax BumpPtrAllocator.swift
[124/334] Compiling SwiftSyntax CommonAncestor.swift
[125/334] Compiling SwiftSyntax Convenience.swift
[126/334] Compiling SwiftSyntax CustomTraits.swift
[127/334] Compiling SwiftSyntax EditorPlaceholder.swift
[137/350] Compiling SwiftSyntax SyntaxCollections.swift
[138/350] Compiling SwiftSyntax SyntaxEnum.swift
[139/350] Compiling SwiftSyntax SyntaxKind.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[143/354] 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>
[147/354] Compiling SwiftSyntax SourceLength.swift
[148/354] Compiling SwiftSyntax SourceLocation.swift
[149/354] Compiling SwiftSyntax SourcePresence.swift
[150/354] 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>
[151/354] 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>
[155/354] Emitting module SwiftJavaJNICore
[159/354] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[160/354] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[161/354] Compiling SwiftSyntax SyntaxBaseNodes.swift
[162/354] Compiling SwiftSyntax ChildNameForKeyPath.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 | }
[163/354] Compiling SwiftSyntax Keyword.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 | }
[164/354] Compiling SwiftSyntax RenamedChildrenCompatibility.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 | }
/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 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:39: error: cannot find 'RTLD_NOW' in scope
533 | let dylib = LoadLibraryA(libjvmPath.path)
534 | #else
535 | let dylib = dlopen(libjvmPath.path, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
536 | #endif
537 |
/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 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:39: error: cannot find 'RTLD_NOW' in scope
533 | let dylib = LoadLibraryA(libjvmPath.path)
534 | #else
535 | let dylib = dlopen(libjvmPath.path, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
536 | #endif
537 |
/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 |
/host/spi-builder-workspace/.build/checkouts/swift-java-jni-core/Sources/SwiftJavaJNICore/VirtualMachine/JavaVirtualMachine.swift:535:39: error: cannot find 'RTLD_NOW' in scope
533 | let dylib = LoadLibraryA(libjvmPath.path)
534 | #else
535 | let dylib = dlopen(libjvmPath.path, RTLD_NOW)
| `- error: cannot find 'RTLD_NOW' in scope
536 | #endif
537 |
[192/355] Compiling SwiftSyntax SyntaxNodeStructure.swift
[193/355] Compiling SwiftSyntax SyntaxProtocol.swift
[194/355] Compiling SwiftSyntax SyntaxText.swift
[195/355] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[196/355] Compiling SwiftSyntax TokenDiagnostic.swift
[197/355] Compiling SwiftSyntax TokenSequence.swift
[198/355] Compiling SwiftSyntax TokenSyntax.swift
[199/355] Compiling SwiftSyntax Trivia.swift
[200/355] Compiling SwiftSyntax Utils.swift
BUILD FAILURE 6.3 wasm