Build Information
Failed to build REPL, reference v2.2.0 (90d95e), with Swift 6.4 for Wasm on 18 Sep 2026 18:28:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Samasaur1/REPL.git
Reference: v2.2.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/Samasaur1/REPL
* tag v2.2.0 -> FETCH_HEAD
HEAD is now at 90d95e4 Support command aliases
Cloned https://github.com/Samasaur1/REPL.git
Revision (git rev-parse @):
90d95e4b116bb8de356c015025af26c95e569e9a
SUCCESS checkout https://github.com/Samasaur1/REPL.git at v2.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Samasaur1/REPL.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/REPL/main.swift:15:13: [1;31merror: [1;39mcannot find type 'posix_spawn_file_actions_t' in scope[0;0m
[0;36m13 |[0;0m // MARK: - Extract PS1
[0;36m14 |[0;0m // (via `bash -i -c 'echo "$PS1"'`)
[0;36m15 |[0;0m var action: [4;39mposix_spawn_file_actions_t[0;0m? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'posix_spawn_file_actions_t' in scope[0;0m
[0;36m16 |[0;0m posix_spawn_file_actions_init(&action);
[0;36m17 |[0;0m defer { posix_spawn_file_actions_destroy(&action) }
/host/spi-builder-workspace/Sources/REPL/main.swift:16:1: [1;31merror: [1;39mcannot find 'posix_spawn_file_actions_init' in scope[0;0m
[0;36m14 |[0;0m // (via `bash -i -c 'echo "$PS1"'`)
[0;36m15 |[0;0m var action: posix_spawn_file_actions_t? = nil
[0;36m16 |[0;0m [4;39mposix_spawn_file_actions_init[0;0m(&action);
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'posix_spawn_file_actions_init' in scope[0;0m
[0;36m17 |[0;0m defer { posix_spawn_file_actions_destroy(&action) }
[0;36m18 |[0;0m let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
/host/spi-builder-workspace/Sources/REPL/main.swift:19:1: [1;31merror: [1;39mcannot find 'posix_spawn_file_actions_addopen' in scope[0;0m
[0;36m17 |[0;0m defer { posix_spawn_file_actions_destroy(&action) }
[0;36m18 |[0;0m let m: mode_t = S_IRWXU | S_IRWXG | S_IRWXO
[0;36m19 |[0;0m [4;39mposix_spawn_file_actions_addopen[0;0m(&action, 1, "/tmp/ps1", (O_WRONLY | O_CREAT | O_TRUNC), m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'posix_spawn_file_actions_addopen' in scope[0;0m
[0;36m20 |[0;0m //posix_spawn_file_actions_adddup2(&action, 1, 2)
[0;36m21 |[0;0m
/host/spi-builder-workspace/Sources/REPL/main.swift:27:10: [1;31merror: [1;39mcannot find 'posix_spawn' in scope[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m var pid = pid_t()
[0;36m27 |[0;0m let rv = [4;39mposix_spawn[0;0m(&pid, c_args[0], &action, nil, c_args + [nil], environ)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'posix_spawn' in scope[0;0m
[0;36m28 |[0;0m guard rv == 0 else {
[0;36m29 |[0;0m // Should get errno
/host/spi-builder-workspace/Sources/REPL/main.swift:27:69: [1;31merror: [1;39mcannot find 'environ' in scope[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m var pid = pid_t()
[0;36m27 |[0;0m let rv = posix_spawn(&pid, c_args[0], &action, nil, c_args + [nil], [4;39menviron[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'environ' in scope[0;0m
[0;36m28 |[0;0m guard rv == 0 else {
[0;36m29 |[0;0m // Should get errno
/host/spi-builder-workspace/Sources/REPL/main.swift:35:1: [1;31merror: [1;39mcannot find 'waitpid' in scope[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m var exitCode: Int32 = 0
[0;36m35 |[0;0m [4;39mwaitpid[0;0m(pid, &exitCode, 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'waitpid' in scope[0;0m
[0;36m36 |[0;0m
[0;36m37 |[0;0m //print("Process exited with code \(exitCode)")
/host/spi-builder-workspace/Sources/REPL/main.swift:51:81: [1;31merror: [1;39mcannot find 'ttyname' in scope[0;0m
[0;36m49 |[0;0m .replacingOccurrences(of: #"\H"#, with: ProcessInfo.processInfo.hostName)
[0;36m50 |[0;0m .replacingOccurrences(of: #"\j"#, with: "0") //jobs — since we won't allow backgrounding, always 0
[0;36m51 |[0;0m .replacingOccurrences(of: #"\l"#, with: String(cString: [4;39mttyname[0;0m(STDIN_FILENO)).split(separator: "/").last!) //"The basename of the shell's terminal device name."
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'ttyname' in scope[0;0m
[0;36m52 |[0;0m .replacingOccurrences(of: #"\s"#, with: CommandLine.arguments[0].split(separator: "/").last!) //"The name of the shell, the basename of $0 (the portion following the final slash)."
[0;36m53 |[0;0m //.replOcc("t", "T", "@") //time, must be done every time we print prompt
/host/spi-builder-workspace/Sources/REPL/main.swift:62:65: [1;31merror: [1;39mcannot find 'getuid' in scope[0;0m
[0;36m60 |[0;0m //.replacingOccurrences(of: #"\!"#, with: "1.0") //history number
[0;36m61 |[0;0m //.replacingOccurrences(of: #"\#"#, with: "1.0") //command number (i.e. length of commands list)
[0;36m62 |[0;0m .replacingOccurrences(of: #"\$"#, with: [4;39mgetuid[0;0m() == 0 ? "#" : "$") //'#' iff root else '$'
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'getuid' in scope[0;0m
[0;36m63 |[0;0m
[0;36m64 |[0;0m //MARK: - Build command prompt function
/host/spi-builder-workspace/Sources/REPL/main.swift:180:11: [1;31merror: [1;39mcannot find type 'Process' in scope[0;0m
[0;36m178 |[0;0m //}
[0;36m179 |[0;0m
[0;36m180 |[0;0m var task: [4;39mProcess[0;0m = Process()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Process' in scope[0;0m
[0;36m181 |[0;0m func exec(_ command: String) -> String {
[0;36m182 |[0;0m task = Process()
/host/spi-builder-workspace/Sources/REPL/main.swift:180:21: [1;31merror: [1;39mcannot find 'Process' in scope[0;0m
[0;36m178 |[0;0m //}
[0;36m179 |[0;0m
[0;36m180 |[0;0m var task: Process = [4;39mProcess[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'Process' in scope[0;0m
[0;36m181 |[0;0m func exec(_ command: String) -> String {
[0;36m182 |[0;0m task = Process()
/host/spi-builder-workspace/Sources/REPL/main.swift:202:8: [1;31merror: [1;39mcannot find type 'cc_t' in scope[0;0m
[0;36m200 |[0;0m
[0;36m201 |[0;0m var key: Int = 0
[0;36m202 |[0;0m let c: [4;39mcc_t[0;0m = 0
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'cc_t' in scope[0;0m
[0;36m203 |[0;0m let cct = (c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c) // Set of 20 Special Characters
[0;36m204 |[0;0m var originalTerm: termios = termios(c_iflag: 0, c_oflag: 0, c_cflag: 0, c_lflag: 0, c_cc: cct, c_ispeed: 0, c_ospeed: 0)
/host/spi-builder-workspace/Sources/REPL/main.swift:204:19: [1;31merror: [1;39mcannot find type 'termios' in scope[0;0m
[0;36m202 |[0;0m let c: cc_t = 0
[0;36m203 |[0;0m let cct = (c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c) // Set of 20 Special Characters
[0;36m204 |[0;0m var originalTerm: [4;39mtermios[0;0m = termios(c_iflag: 0, c_oflag: 0, c_cflag: 0, c_lflag: 0, c_cc: cct, c_ispeed: 0, c_ospeed: 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'termios' in scope[0;0m
[0;36m205 |[0;0m tcgetattr(STDIN_FILENO, &originalTerm) //this gets the current settings
[0;36m206 |[0;0m var term = originalTerm
/host/spi-builder-workspace/Sources/REPL/main.swift:204:29: [1;31merror: [1;39mcannot find 'termios' in scope[0;0m
[0;36m202 |[0;0m let c: cc_t = 0
[0;36m203 |[0;0m let cct = (c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c) // Set of 20 Special Characters
[0;36m204 |[0;0m var originalTerm: termios = [4;39mtermios[0;0m(c_iflag: 0, c_oflag: 0, c_cflag: 0, c_lflag: 0, c_cc: cct, c_ispeed: 0, c_ospeed: 0)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'termios' in scope[0;0m
[0;36m205 |[0;0m tcgetattr(STDIN_FILENO, &originalTerm) //this gets the current settings
[0;36m206 |[0;0m var term = originalTerm
/host/spi-builder-workspace/Sources/REPL/main.swift:205:1: [1;31merror: [1;39mcannot find 'tcgetattr' in scope[0;0m
[0;36m203 |[0;0m let cct = (c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c, c) // Set of 20 Special Characters
[0;36m204 |[0;0m var originalTerm: termios = termios(c_iflag: 0, c_oflag: 0, c_cflag: 0, c_lflag: 0, c_cc: cct, c_ispeed: 0, c_ospeed: 0)
[0;36m205 |[0;0m [4;39mtcgetattr[0;0m(STDIN_FILENO, &originalTerm) //this gets the current settings
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'tcgetattr' in scope[0;0m
[0;36m206 |[0;0m var term = originalTerm
[0;36m207 |[0;0m term.c_lflag &= ~(UInt(Darwin.ECHO) | UInt(Darwin.ICANON)) //turn off ECHO and ICANON
/host/spi-builder-workspace/Sources/REPL/main.swift:207:24: [1;31merror: [1;39mcannot find 'Darwin' in scope[0;0m
[0;36m205 |[0;0m tcgetattr(STDIN_FILENO, &originalTerm) //this gets the current settings
[0;36m206 |[0;0m var term = originalTerm
[0;36m207 |[0;0m term.c_lflag &= ~(UInt([4;39mDarwin[0;0m.ECHO) | UInt(Darwin.ICANON)) //turn off ECHO and ICANON
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'Darwin' in scope[0;0m
[0;36m208 |[0;0m tcsetattr(STDIN_FILENO, TCSANOW, &term) //set these new settings
[0;36m209 |[0;0m
/host/spi-builder-workspace/Sources/REPL/main.swift:207:44: [1;31merror: [1;39mcannot find 'Darwin' in scope[0;0m
[0;36m205 |[0;0m tcgetattr(STDIN_FILENO, &originalTerm) //this gets the current settings
[0;36m206 |[0;0m var term = originalTerm
[0;36m207 |[0;0m term.c_lflag &= ~(UInt(Darwin.ECHO) | UInt([4;39mDarwin[0;0m.ICANON)) //turn off ECHO and ICANON
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'Darwin' in scope[0;0m
[0;36m208 |[0;0m tcsetattr(STDIN_FILENO, TCSANOW, &term) //set these new settings
[0;36m209 |[0;0m
/host/spi-builder-workspace/Sources/REPL/main.swift:208:1: [1;31merror: [1;39mcannot find 'tcsetattr' in scope[0;0m
[0;36m206 |[0;0m var term = originalTerm
[0;36m207 |[0;0m term.c_lflag &= ~(UInt(Darwin.ECHO) | UInt(Darwin.ICANON)) //turn off ECHO and ICANON
[0;36m208 |[0;0m [4;39mtcsetattr[0;0m(STDIN_FILENO, TCSANOW, &term) //set these new settings
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'tcsetattr' in scope[0;0m
[0;36m209 |[0;0m
[0;36m210 |[0;0m func resetTermAndExitWith(sig: Int32) {
/host/spi-builder-workspace/Sources/REPL/main.swift:208:25: [1;31merror: [1;39mcannot find 'TCSANOW' in scope[0;0m
[0;36m206 |[0;0m var term = originalTerm
[0;36m207 |[0;0m term.c_lflag &= ~(UInt(Darwin.ECHO) | UInt(Darwin.ICANON)) //turn off ECHO and ICANON
[0;36m208 |[0;0m tcsetattr(STDIN_FILENO, [4;39mTCSANOW[0;0m, &term) //set these new settings
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'TCSANOW' in scope[0;0m
[0;36m209 |[0;0m
[0;36m210 |[0;0m func resetTermAndExitWith(sig: Int32) {
/host/spi-builder-workspace/Sources/REPL/main.swift:214:1: [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m212 |[0;0m exit(sig)
[0;36m213 |[0;0m }
[0;36m214 |[0;0m [4;39msignal[0;0m(SIGKILL, resetTermAndExitWith(sig:))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m215 |[0;0m signal(SIGTERM, resetTermAndExitWith(sig:))
[0;36m216 |[0;0m signal(SIGQUIT, resetTermAndExitWith(sig:))
/host/spi-builder-workspace/Sources/REPL/main.swift:214:8: [1;31merror: [1;39mcannot find 'SIGKILL' in scope[0;0m
[0;36m212 |[0;0m exit(sig)
[0;36m213 |[0;0m }
[0;36m214 |[0;0m signal([4;39mSIGKILL[0;0m, resetTermAndExitWith(sig:))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SIGKILL' in scope[0;0m
[0;36m215 |[0;0m signal(SIGTERM, resetTermAndExitWith(sig:))
[0;36m216 |[0;0m signal(SIGQUIT, resetTermAndExitWith(sig:))
/host/spi-builder-workspace/Sources/REPL/main.swift:215:1: [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m213 |[0;0m }
[0;36m214 |[0;0m signal(SIGKILL, resetTermAndExitWith(sig:))
[0;36m215 |[0;0m [4;39msignal[0;0m(SIGTERM, resetTermAndExitWith(sig:))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m216 |[0;0m signal(SIGQUIT, resetTermAndExitWith(sig:))
[0;36m217 |[0;0m signal(SIGSTOP, resetTermAndExitWith(sig:))
/host/spi-builder-workspace/Sources/REPL/main.swift:215:8: [1;31merror: [1;39mcannot find 'SIGTERM' in scope[0;0m
[0;36m213 |[0;0m }
[0;36m214 |[0;0m signal(SIGKILL, resetTermAndExitWith(sig:))
[0;36m215 |[0;0m signal([4;39mSIGTERM[0;0m, resetTermAndExitWith(sig:))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SIGTERM' in scope[0;0m
[0;36m216 |[0;0m signal(SIGQUIT, resetTermAndExitWith(sig:))
[0;36m217 |[0;0m signal(SIGSTOP, resetTermAndExitWith(sig:))
/host/spi-builder-workspace/Sources/REPL/main.swift:216:1: [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m214 |[0;0m signal(SIGKILL, resetTermAndExitWith(sig:))
[0;36m215 |[0;0m signal(SIGTERM, resetTermAndExitWith(sig:))
[0;36m216 |[0;0m [4;39msignal[0;0m(SIGQUIT, resetTermAndExitWith(sig:))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m217 |[0;0m signal(SIGSTOP, resetTermAndExitWith(sig:))
[0;36m218 |[0;0m
/host/spi-builder-workspace/Sources/REPL/main.swift:216:8: [1;31merror: [1;39mcannot find 'SIGQUIT' in scope[0;0m
[0;36m214 |[0;0m signal(SIGKILL, resetTermAndExitWith(sig:))
[0;36m215 |[0;0m signal(SIGTERM, resetTermAndExitWith(sig:))
[0;36m216 |[0;0m signal([4;39mSIGQUIT[0;0m, resetTermAndExitWith(sig:))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SIGQUIT' in scope[0;0m
[0;36m217 |[0;0m signal(SIGSTOP, resetTermAndExitWith(sig:))
[0;36m218 |[0;0m
/host/spi-builder-workspace/Sources/REPL/main.swift:217:1: [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m215 |[0;0m signal(SIGTERM, resetTermAndExitWith(sig:))
[0;36m216 |[0;0m signal(SIGQUIT, resetTermAndExitWith(sig:))
[0;36m217 |[0;0m [4;39msignal[0;0m(SIGSTOP, resetTermAndExitWith(sig:))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m218 |[0;0m
[0;36m219 |[0;0m var chars: [Int32] = []
/host/spi-builder-workspace/Sources/REPL/main.swift:217:8: [1;31merror: [1;39mcannot find 'SIGSTOP' in scope[0;0m
[0;36m215 |[0;0m signal(SIGTERM, resetTermAndExitWith(sig:))
[0;36m216 |[0;0m signal(SIGQUIT, resetTermAndExitWith(sig:))
[0;36m217 |[0;0m signal([4;39mSIGSTOP[0;0m, resetTermAndExitWith(sig:))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SIGSTOP' in scope[0;0m
[0;36m218 |[0;0m
[0;36m219 |[0;0m var chars: [Int32] = []
/host/spi-builder-workspace/Sources/REPL/main.swift:224:1: [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m222 |[0;0m var cmdIdx = 0
[0;36m223 |[0;0m
[0;36m224 |[0;0m [4;39msignal[0;0m(SIGINT) { _ in
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'signal' in scope[0;0m
[0;36m225 |[0;0m if task.isRunning {
[0;36m226 |[0;0m task.interrupt()
/host/spi-builder-workspace/Sources/REPL/main.swift:224:8: [1;31merror: [1;39mcannot find 'SIGINT' in scope[0;0m
[0;36m222 |[0;0m var cmdIdx = 0
[0;36m223 |[0;0m
[0;36m224 |[0;0m signal([4;39mSIGINT[0;0m) { _ in
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'SIGINT' in scope[0;0m
[0;36m225 |[0;0m if task.isRunning {
[0;36m226 |[0;0m task.interrupt()
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/REPL/main.swift -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 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -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 -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/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name REPL -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/Objects-normal/wasm32/repl_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/Objects-normal/wasm32/Modules/REPL.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/Objects-normal/wasm32/Modules/REPL.swiftsourceinfo -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/Objects-normal/wasm32/repl-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/Objects-normal/wasm32/repl-primary-emit-module.d -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/REPL.build/Debug-webassembly-wasm32/repl-p.build/Objects-normal/wasm32/Modules/REPL.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm