The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-wirelet, reference main (fae710), with Swift 6.3 for Wasm on 25 Aug 2026 08:39:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jiyimeta/swift-wirelet.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/jiyimeta/swift-wirelet
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-54344844-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.89s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (2.91s)
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.06s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.97s)
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.20s)
/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
[31/128] Compiling _SwiftSyntaxCShims PlatformMutex.c
[32/128] Write sources
[45/128] Compiling CSwiftJavaJNI dummy.c
[46/128] Write sources
[49/128] Compiling _SwiftSyntaxCShims PlatformMutex.c
[50/128] Write sources
[68/128] Compiling CSwiftJavaJNI dummy.c
[69/128] Write swift-version-24593BA9C3E375BF.txt
[71/144] Emitting module SwiftSyntax602
[72/144] Emitting module SwiftSyntax603
[73/144] Emitting module SwiftSyntax601
[74/144] Compiling SwiftSyntax600 Empty.swift
[75/144] Emitting module SwiftSyntax600
[77/145] Compiling SwiftSyntax601 Empty.swift
[78/146] Compiling SwiftSyntax602 Empty.swift
[79/146] Emitting module SwiftSyntax602
[82/151] Compiling SwiftSyntax510 Empty.swift
[83/151] Emitting module SwiftSyntax510
[85/154] Compiling SwiftSyntax600 Empty.swift
[86/154] Emitting module SwiftSyntax600
[87/154] Emitting module SwiftSyntax510
[88/154] Compiling SwiftSyntax510 Empty.swift
[89/156] Emitting module SwiftSyntax509
[90/156] Compiling SwiftSyntax509 Empty.swift
[91/157] Compiling SwiftSyntax603 Empty.swift
[96/160] Emitting module SwiftSyntax509
[97/160] Compiling SwiftSyntax509 Empty.swift
[97/161] Wrapping AST for SwiftSyntax602 for debugging
[98/161] Wrapping AST for SwiftSyntax600 for debugging
[100/162] Wrapping AST for SwiftSyntax510 for debugging
[101/162] Wrapping AST for SwiftSyntax509 for debugging
[103/169] Compiling SwiftSyntax602 Empty.swift
[103/191] Wrapping AST for SwiftSyntax603 for debugging
[104/206] Wrapping AST for SwiftSyntax601 for debugging
[105/206] Wrapping AST for SwiftSyntax600 for debugging
[107/206] Wrapping AST for SwiftSyntax510 for debugging
[108/206] Wrapping AST for SwiftSyntax509 for debugging
[109/206] Wrapping AST for SwiftSyntax602 for debugging
[111/206] Compiling SwiftSyntax603 Empty.swift
[112/206] Emitting module SwiftSyntax603
[113/262] Wrapping AST for SwiftSyntax603 for debugging
[115/270] Emitting module SwiftSyntax601
[116/270] Compiling SwiftSyntax601 Empty.swift
[117/271] Wrapping AST for SwiftSyntax601 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
/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/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/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 |   }
[131/344] 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>
[132/344] 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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[136/344] 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>
[137/344] Compiling SwiftSyntax SourceLength.swift
[138/344] Compiling SwiftSyntax SourceLocation.swift
[139/344] Compiling SwiftSyntax SourcePresence.swift
[155/354] Compiling SwiftSyntax ChildNameForKeyPath.swift
[156/354] Compiling SwiftSyntax Keyword.swift
[157/354] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[158/354] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[159/354] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[160/354] Compiling SwiftSyntax SyntaxBaseNodes.swift
[161/354] Emitting module SwiftJavaJNICore
[168/354] Compiling SwiftSyntax SyntaxCollections.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 |
/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 |
[169/354] Compiling SwiftSyntax SyntaxEnum.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 |
/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 |
[170/354] Compiling SwiftSyntax SyntaxKind.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 |
/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 |
[171/354] Compiling SwiftSyntax Identifier.swift
[172/354] Compiling SwiftSyntax MemoryLayout.swift
[173/354] Compiling SwiftSyntax MissingNodeInitializers.swift
[174/354] Compiling SwiftSyntax RawSyntax.swift
[175/354] Compiling SwiftSyntax RawSyntaxArena.swift
[176/354] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[177/354] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[178/354] Compiling SwiftSyntax RawSyntaxTokenView.swift
[179/354] Compiling SwiftSyntax SourceEdit.swift
BUILD FAILURE 6.3 wasm