The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LuaSwift, reference v1.12.4 (3d2cad), with Swift 6.2 for Wasm on 1 Jul 2026 02:32:18 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisGVE/LuaSwift.git
Reference: v1.12.4
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/ChrisGVE/LuaSwift
 * tag               v1.12.4    -> FETCH_HEAD
HEAD is now at 3d2cad7 merge: LuaSwift 1.12.4 (dev → main)
Cloned https://github.com/ChrisGVE/LuaSwift.git
Revision (git rev-parse @):
3d2cad75846a21bba1eacdfed527a8dfda24d605
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChrisGVE/LuaSwift.git at v1.12.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ChrisGVE/LuaSwift.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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-atomics.git
[1/2325] Fetching swift-docc-plugin
[234/4193] Fetching swift-docc-plugin, swift-atomics
[560/16030] Fetching swift-docc-plugin, swift-atomics, yams
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.52s)
[474/11837] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.27s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.42s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3749] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.75s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.16s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/45] Compiling CLua lctype.c
[3/45] Compiling CLua lcorolib.c
/host/spi-builder-workspace/Sources/CLua/loslib.c:172:13: error: use of undeclared identifier 'L_tmpnam'; did you mean 'tmpnam'?
  172 |   char buff[LUA_TMPNAMBUFSIZE];
      |             ^~~~~~~~~~~~~~~~~
      |             tmpnam
/host/spi-builder-workspace/Sources/CLua/loslib.c:123:27: note: expanded from macro 'LUA_TMPNAMBUFSIZE'
  123 | #define LUA_TMPNAMBUFSIZE       L_tmpnam
      |                                 ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdio.h:152:7: note: 'tmpnam' declared here
  152 | char *tmpnam(char *) __attribute__((__deprecated__("tmpnam is not defined on WASI")));
      |       ^
/host/spi-builder-workspace/Sources/CLua/loslib.c:172:13: error: size of array has non-integer type 'char *(char *)'
  172 |   char buff[LUA_TMPNAMBUFSIZE];
      |             ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CLua/loslib.c:123:27: note: expanded from macro 'LUA_TMPNAMBUFSIZE'
  123 | #define LUA_TMPNAMBUFSIZE       L_tmpnam
      |                                 ^~~~~~~~
/host/spi-builder-workspace/Sources/CLua/loslib.c:174:3: warning: 'tmpnam' is deprecated: tmpnam is not defined on WASI [-Wdeprecated-declarations]
  174 |   lua_tmpnam(buff, err);
      |   ^
/host/spi-builder-workspace/Sources/CLua/loslib.c:124:33: note: expanded from macro 'lua_tmpnam'
  124 | #define lua_tmpnam(b,e)         { e = (tmpnam(b) == NULL); }
      |                                        ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/stdio.h:152:37: note: 'tmpnam' has been explicitly marked deprecated here
  152 | char *tmpnam(char *) __attribute__((__deprecated__("tmpnam is not defined on WASI")));
      |                                     ^
/host/spi-builder-workspace/Sources/CLua/loslib.c:189:34: warning: 'clock' is deprecated: WASI lacks process-associated clocks; to enable emulation of the `clock` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks [-Wdeprecated-declarations]
  189 |   lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC);
      |                                  ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
2 warnings and 2 errors generated.
[4/45] Compiling CLua loslib.c
[4/45] Compiling _AtomicsShims.c
[4/45] Compiling CLua ldblib.c
In file included from /host/spi-builder-workspace/Sources/CLua/lstring.c:17:
In file included from /host/spi-builder-workspace/Sources/CLua/include/ldebug.h:11:
In file included from /host/spi-builder-workspace/Sources/CLua/include/lstate.h:130:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CLua/lstring.c:17:
In file included from /host/spi-builder-workspace/Sources/CLua/include/ldebug.h:11:
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:184:16: error: unknown type name 'sig_atomic_t'
  184 |       volatile l_signalT trap;  /* function is tracing lines/counts */
      |                ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:131:19: note: expanded from macro 'l_signalT'
  131 | #define l_signalT       sig_atomic_t
      |                         ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:331:12: error: unknown type name 'sig_atomic_t'
  331 |   volatile l_signalT hookmask;
      |            ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:131:19: note: expanded from macro 'l_signalT'
  131 | #define l_signalT       sig_atomic_t
      |                         ^
[4/45] Compiling CLua lstring.c
In file included from /host/spi-builder-workspace/Sources/CLua/lparser.c:19:
In file included from /host/spi-builder-workspace/Sources/CLua/include/ldebug.h:11:
In file included from /host/spi-builder-workspace/Sources/CLua/include/lstate.h:130:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CLua/lparser.c:19:
In file included from /host/spi-builder-workspace/Sources/CLua/include/ldebug.h:11:
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:184:16: error: unknown type name 'sig_atomic_t'
  184 |       volatile l_signalT trap;  /* function is tracing lines/counts */
      |                ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:131:19: note: expanded from macro 'l_signalT'
  131 | #define l_signalT       sig_atomic_t
      |                         ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:331:12: error: unknown type name 'sig_atomic_t'
  331 |   volatile l_signalT hookmask;
      |            ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:131:19: note: expanded from macro 'l_signalT'
  131 | #define l_signalT       sig_atomic_t
      |                         ^
[4/45] Compiling CLua lparser.c
[4/45] Compiling CLua lstrlib.c
In file included from /host/spi-builder-workspace/Sources/CLua/lstate.c:18:
In file included from /host/spi-builder-workspace/Sources/CLua/include/lapi.h:12:
In file included from /host/spi-builder-workspace/Sources/CLua/include/lstate.h:130:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
    2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CLua/lstate.c:18:
In file included from /host/spi-builder-workspace/Sources/CLua/include/lapi.h:12:
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:184:16: error: unknown type name 'sig_atomic_t'
  184 |       volatile l_signalT trap;  /* function is tracing lines/counts */
      |                ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:131:19: note: expanded from macro 'l_signalT'
  131 | #define l_signalT       sig_atomic_t
      |                         ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:331:12: error: unknown type name 'sig_atomic_t'
  331 |   volatile l_signalT hookmask;
      |            ^
/host/spi-builder-workspace/Sources/CLua/include/lstate.h:131:19: note: expanded from macro 'l_signalT'
  131 | #define l_signalT       sig_atomic_t
      |                         ^
[4/45] Compiling CLua lstate.c
[4/45] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm