Build Information
Failed to build lua4swift, reference v2.0.0 (3c74ee), with Swift 6.4 for Wasm on 23 Sep 2026 01:22:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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/SwiftyLua/lua4swift.git
Reference: v2.0.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/SwiftyLua/lua4swift
* tag v2.0.0 -> FETCH_HEAD
HEAD is now at 3c74eee Update Package.swift
Cloned https://github.com/SwiftyLua/lua4swift.git
Revision (git rev-parse @):
3c74eeec954b26e2314dadc8eeae3c5c75040001
SUCCESS checkout https://github.com/SwiftyLua/lua4swift.git at v2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/SwiftyLua/lua4swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/Quick/Quick
Fetching https://github.com/SwiftyLua/CLua
[1/207] Fetching clua
Fetched https://github.com/SwiftyLua/CLua (0.51s)
[1/14925] Fetching quick
[14926/34911] Fetching quick, nimble
Fetched https://github.com/Quick/Quick (0.76s)
[200/19986] Fetching nimble
Fetched https://github.com/Quick/Nimble (1.55s)
Computing version for https://github.com/Quick/Quick
Computed https://github.com/Quick/Quick at 7.6.2 (1.77s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6145] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git (0.54s)
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.83s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 13.8.0 (1.01s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.49s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.55s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.17s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.38s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.48s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.67s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.19s)
Computing version for https://github.com/SwiftyLua/CLua
Computed https://github.com/SwiftyLua/CLua at 5.4.7 (0.16s)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 13.8.0
Creating working copy for https://github.com/Quick/Quick
Working copy of https://github.com/Quick/Quick resolved at 7.6.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/SwiftyLua/CLua
Working copy of https://github.com/SwiftyLua/CLua resolved at 5.4.7
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[27 / 60] CLua
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/lzio.c:19:
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:130:
[1m/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/include/wasm32-wasip1/signal.h:2:2: [0m[0;1;31merror: [0m[1m"wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"[0m
2 | #error [0;32m"wasm lacks signal support; to enable minimal signal emulation, \[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/lzio.c:19:
[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:184:16: [0m[0;1;31merror: [0m[1munknown type name 'sig_atomic_t'[0m
184 | [0;34mvolatile[0m l_signalT trap; [0;33m/* function is tracing lines/counts */[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:131:19: [0m[0;1;36mnote: [0mexpanded from macro 'l_signalT'[0m
131 | #define l_signalT sig_atomic_t[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:331:12: [0m[0;1;31merror: [0m[1munknown type name 'sig_atomic_t'[0m
331 | [0;34mvolatile[0m l_signalT hookmask;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:131:19: [0m[0;1;36mnote: [0mexpanded from macro 'l_signalT'[0m
131 | #define l_signalT sig_atomic_t[0m
| [0;1;32m ^
[0m3 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/lzio.o /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/lzio.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --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 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/lzio.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/lzio.dia -c /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/lzio.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/lzio.o
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltm.c:17:
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/ldebug.h:11:
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:130:
[1m/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/include/wasm32-wasip1/signal.h:2:2: [0m[0;1;31merror: [0m[1m"wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"[0m
2 | #error [0;32m"wasm lacks signal support; to enable minimal signal emulation, \[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltm.c:17:
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/ldebug.h:11:
[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:184:16: [0m[0;1;31merror: [0m[1munknown type name 'sig_atomic_t'[0m
184 | [0;34mvolatile[0m l_signalT trap; [0;33m/* function is tracing lines/counts */[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:131:19: [0m[0;1;36mnote: [0mexpanded from macro 'l_signalT'[0m
131 | #define l_signalT sig_atomic_t[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:331:12: [0m[0;1;31merror: [0m[1munknown type name 'sig_atomic_t'[0m
331 | [0;34mvolatile[0m l_signalT hookmask;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:131:19: [0m[0;1;36mnote: [0mexpanded from macro 'l_signalT'[0m
131 | #define l_signalT sig_atomic_t[0m
| [0;1;32m ^
[0m3 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/ltm.o /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltm.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --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 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/ltm.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/ltm.dia -c /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltm.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/ltm.o
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltests.c:14:
[1m/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/include/wasm32-wasip1/setjmp.h:13:2: [0m[0;1;31merror: [0m[1mSetjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.[0m
13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https:[0;33m//github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltests.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lapi.h:12:
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:130:
[1m/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/include/wasm32-wasip1/signal.h:2:2: [0m[0;1;31merror: [0m[1m"wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"[0m
2 | #error [0;32m"wasm lacks signal support; to enable minimal signal emulation, \[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltests.c:21:
In file included from /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lapi.h:12:
[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:184:16: [0m[0;1;31merror: [0m[1munknown type name 'sig_atomic_t'[0m
184 | [0;34mvolatile[0m l_signalT trap; [0;33m/* function is tracing lines/counts */[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:131:19: [0m[0;1;36mnote: [0mexpanded from macro 'l_signalT'[0m
131 | #define l_signalT sig_atomic_t[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:331:12: [0m[0;1;31merror: [0m[1munknown type name 'sig_atomic_t'[0m
331 | [0;34mvolatile[0m l_signalT hookmask;[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/include/lstate.h:131:19: [0m[0;1;36mnote: [0mexpanded from macro 'l_signalT'[0m
131 | #define l_signalT sig_atomic_t[0m
| [0;1;32m ^
[0m4 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/ltests.o /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltests.c normal wasm32 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp
/usr/bin/clang -x c -target wasm32-unknown-wasip1 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --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 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/ltests.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/ltests.dia -c /host/spi-builder-workspace/.build/checkouts/CLua/Sources/CLua/ltests.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/CLua.build/Debug-webassembly-wasm32/CLua-t.build/Objects-normal/wasm32/ltests.o
error: Build failed
BUILD FAILURE 6.4 wasm