Build Information
Failed to build LuaSwift, reference main (ac9799), with Swift 6.1 for Wasm on 6 Apr 2026 22:18:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisGVE/LuaSwift.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/ChrisGVE/LuaSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ac97990 fix(ci): add write permissions to Lua version check workflow
Cloned https://github.com/ChrisGVE/LuaSwift.git
Revision (git rev-parse @):
ac979904041e5c25178ad96b8b44b6b9083516fb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChrisGVE/LuaSwift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ChrisGVE/LuaSwift.git
https://github.com/ChrisGVE/LuaSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "tomlkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/LebJe/TOMLKit.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "plotswift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChrisGVE/PlotSwift.git"
},
{
"identity" : "arrayswift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChrisGVE/ArraySwift.git"
},
{
"identity" : "numericswift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChrisGVE/NumericSwift.git"
}
],
"manifest_display_name" : "LuaSwift",
"name" : "LuaSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "LuaSwift",
"targets" : [
"LuaSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LuaSwiftTests",
"module_type" : "SwiftTarget",
"name" : "LuaSwiftTests",
"path" : "Tests/LuaSwiftTests",
"sources" : [
"ArrayModuleTests.swift",
"BenchmarkTests.swift",
"ClusterModuleTests.swift",
"ComplexArrayTests.swift",
"ComplexHelperTests.swift",
"ComplexModuleTests.swift",
"DebugModuleTests.swift",
"DistributionsModuleTests.swift",
"GeometryModuleTests.swift",
"HTTPModuleTests.swift",
"IOModuleTests.swift",
"IntegrateModuleTests.swift",
"InterpolateModuleTests.swift",
"JSONModuleTests.swift",
"LinAlgExtrasTests.swift",
"LinAlgModuleTests.swift",
"LuaCallbackTests.swift",
"LuaCoroutineTests.swift",
"LuaEngineTests.swift",
"LuaModuleTests.swift",
"LuaTestRunnerTests.swift",
"LuaValueTests.swift",
"LuaVersionTests.swift",
"MathExprModuleTests.swift",
"MathSciModuleTests.swift",
"MathXModuleTests.swift",
"MemoryLimitTests.swift",
"NumberTheoryModuleTests.swift",
"OptimizeModuleTests.swift",
"OptionalDependencyTests.swift",
"PlotModuleTests.swift",
"RegexModuleTests.swift",
"RegressModuleTests.swift",
"SVGModuleTests.swift",
"SandboxTests.swift",
"SerializeModuleTests.swift",
"SeriesModuleTests.swift",
"SpatialModuleTests.swift",
"SpecialModuleTests.swift",
"StringXModuleTests.swift",
"TOMLModuleTests.swift",
"TableXModuleTests.swift",
"TypesModuleTests.swift",
"UTF8XModuleTests.swift",
"YAMLModuleTests.swift"
],
"target_dependencies" : [
"LuaSwift"
],
"type" : "test"
},
{
"c99name" : "LuaSwift",
"module_type" : "SwiftTarget",
"name" : "LuaSwift",
"path" : "Sources/LuaSwift",
"product_dependencies" : [
"Yams",
"TOMLKit",
"PlotSwift",
"ArraySwift",
"NumericSwift"
],
"product_memberships" : [
"LuaSwift"
],
"sources" : [
"CoroutineHandle.swift",
"LuaEngine.swift",
"LuaError.swift",
"LuaHelpers.swift",
"LuaValue.swift",
"LuaValueServer.swift",
"Modules/ModuleRegistry.swift",
"Modules/Swift/ArrayModule.swift",
"Modules/Swift/ClusterModule.swift",
"Modules/Swift/ComplexHelper.swift",
"Modules/Swift/ComplexModule.swift",
"Modules/Swift/DebugModule.swift",
"Modules/Swift/DistributionsModule.swift",
"Modules/Swift/GeometryModule.swift",
"Modules/Swift/HTTPModule.swift",
"Modules/Swift/IOModule.swift",
"Modules/Swift/IntegrateModule.swift",
"Modules/Swift/InterpolateModule.swift",
"Modules/Swift/JSONModule.swift",
"Modules/Swift/LinAlgModule.swift",
"Modules/Swift/MathExprModule.swift",
"Modules/Swift/MathSciModule.swift",
"Modules/Swift/MathXModule.swift",
"Modules/Swift/NumberTheoryModule.swift",
"Modules/Swift/OptimizeModule.swift",
"Modules/Swift/PlotModule.swift",
"Modules/Swift/RegexModule.swift",
"Modules/Swift/RegressModule.swift",
"Modules/Swift/SVGModule.swift",
"Modules/Swift/SeriesModule.swift",
"Modules/Swift/SpatialModule.swift",
"Modules/Swift/SpecialModule.swift",
"Modules/Swift/StringXModule.swift",
"Modules/Swift/TOMLModule.swift",
"Modules/Swift/TableXModule.swift",
"Modules/Swift/TypesModule.swift",
"Modules/Swift/UTF8XModule.swift",
"Modules/Swift/YAMLModule.swift"
],
"target_dependencies" : [
"CLua"
],
"type" : "library"
},
{
"c99name" : "CLua",
"module_type" : "ClangTarget",
"name" : "CLua",
"path" : "Sources/CLua",
"product_memberships" : [
"LuaSwift"
],
"sources" : [
"lapi.c",
"lauxlib.c",
"lbaselib.c",
"lcode.c",
"lcorolib.c",
"lctype.c",
"ldblib.c",
"ldebug.c",
"ldo.c",
"ldump.c",
"lfunc.c",
"lgc.c",
"linit.c",
"liolib.c",
"llex.c",
"lmathlib.c",
"lmem.c",
"loadlib.c",
"lobject.c",
"lopcodes.c",
"loslib.c",
"lparser.c",
"lstate.c",
"lstring.c",
"lstrlib.c",
"ltable.c",
"ltablib.c",
"ltm.c",
"lundump.c",
"lutf8lib.c",
"lvm.c",
"lzio.c"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/ChrisGVE/ArraySwift.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/LebJe/TOMLKit.git
Fetching https://github.com/ChrisGVE/NumericSwift.git
Fetching https://github.com/ChrisGVE/PlotSwift.git
[1/2222] Fetching swift-docc-plugin
[224/5864] Fetching swift-docc-plugin, plotswift
[225/29278] Fetching swift-docc-plugin, plotswift, tomlkit
[1666/29423] Fetching swift-docc-plugin, plotswift, tomlkit, arrayswift
[4175/29887] Fetching swift-docc-plugin, plotswift, tomlkit, arrayswift, numericswift
[5927/41434] Fetching swift-docc-plugin, plotswift, tomlkit, arrayswift, numericswift, yams
Fetched https://github.com/ChrisGVE/NumericSwift.git from cache (1.23s)
[32169/40970] Fetching swift-docc-plugin, plotswift, tomlkit, arrayswift, yams
Fetched https://github.com/ChrisGVE/ArraySwift.git from cache (2.53s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.53s)
Fetched https://github.com/LebJe/TOMLKit.git from cache (2.55s)
[11693/15189] Fetching plotswift, yams
Fetched https://github.com/jpsim/Yams.git from cache (5.44s)
Fetched https://github.com/ChrisGVE/PlotSwift.git from cache (5.47s)
Computing version for https://github.com/ChrisGVE/ArraySwift.git
Computed https://github.com/ChrisGVE/ArraySwift.git at 0.1.0 (6.03s)
Computing version for https://github.com/ChrisGVE/PlotSwift.git
Computed https://github.com/ChrisGVE/PlotSwift.git at 0.1.0 (0.55s)
Computing version for https://github.com/LebJe/TOMLKit.git
Computed https://github.com/LebJe/TOMLKit.git at 0.6.0 (0.63s)
Computing version for https://github.com/ChrisGVE/NumericSwift.git
Computed https://github.com/ChrisGVE/NumericSwift.git at 0.1.4 (0.87s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.04s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.68s)
Creating working copy for https://github.com/ChrisGVE/PlotSwift.git
Working copy of https://github.com/ChrisGVE/PlotSwift.git resolved at 0.1.0
Creating working copy for https://github.com/ChrisGVE/NumericSwift.git
Working copy of https://github.com/ChrisGVE/NumericSwift.git resolved at 0.1.4
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/LebJe/TOMLKit.git
Working copy of https://github.com/LebJe/TOMLKit.git resolved at 0.6.0
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/ChrisGVE/ArraySwift.git
Working copy of https://github.com/ChrisGVE/ArraySwift.git resolved at 0.1.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.4.6
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/52] Write sources
[7/52] Compiling writer.c
[8/52] Compiling reader.c
[9/52] Compiling parser.c
[10/52] Compiling api.c
[11/52] Compiling emitter.c
[12/52] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CLua/lzio.c:19:
In file included from /host/spi-builder-workspace/Sources/CLua/include/lstate.h:130:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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/lzio.c:19:
/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
| ^
3 errors generated.
[13/52] Compiling CLua lzio.c
[13/52] Compiling Array.cpp
[13/52] Compiling Conversion.cpp
In file included from /host/spi-builder-workspace/Sources/CLua/lvm.c:21:
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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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/lvm.c:21:
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
| ^
[13/52] Compiling CLua lvm.c
[13/52] Compiling Table.cpp
[13/52] Compiling Node.cpp
[13/52] Compiling scanner.c
[13/52] Compiling Date&Time&DateTime.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CLua/lzio.c:19:
In file included from /host/spi-builder-workspace/Sources/CLua/include/lstate.h:130:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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/lzio.c:19:
/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
| ^
3 errors generated.
[2/42] Compiling CLua lzio.c
[2/42] Compiling Node.cpp
[2/42] Compiling scanner.c
[2/42] Compiling Conversion.cpp
[2/42] Compiling Date&Time&DateTime.cpp
[2/42] Compiling Array.cpp
[2/42] Write swift-version-24593BA9C3E375BF.txt
[2/42] Compiling Table.cpp
BUILD FAILURE 6.1 wasm