The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLuau, reference 0.3.2+0.701 (52883f), with Swift 6.1 for Wasm on 26 Nov 2025 00:27:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RadiusDay/SwiftLuau.git
Reference: 0.3.2+0.701
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/RadiusDay/SwiftLuau
 * tag               0.3.2+0.701 -> FETCH_HEAD
HEAD is now at 52883fc chore: update to luau 0.701
Submodule path 'lib/Luau': checked out '535f92589bdc304c8a2012d6cfad5e7b9faff2f7'
Submodule 'lib/Luau' (https://github.com/luau-lang/luau) registered for path 'lib/Luau'
Cloning into '/host/spi-builder-workspace/lib/Luau'...
Cloned https://github.com/RadiusDay/SwiftLuau.git
Revision (git rev-parse @):
52883fcce4133c58cd733aeccad959ef90d4220a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RadiusDay/SwiftLuau.git at 0.3.2+0.701
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RadiusDay/SwiftLuau.git
https://github.com/RadiusDay/SwiftLuau.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftLuau",
  "name" : "SwiftLuau",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Luau",
      "targets" : [
        "Luau"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Example",
      "targets" : [
        "Example"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Luau",
      "module_type" : "SwiftTarget",
      "name" : "Luau",
      "path" : "Sources/Luau",
      "product_memberships" : [
        "Luau",
        "Example"
      ],
      "sources" : [
        "Abstract/LuaDynPushable.swift",
        "Abstract/LuaGetable.swift",
        "Abstract/LuaPushable.swift",
        "Lua.swift",
        "LuaBytecode.swift",
        "LuaRef.swift",
        "LuaState.swift",
        "LuaValue.swift",
        "Types/LuaBoolean.swift",
        "Types/LuaBuffer.swift",
        "Types/LuaFunction.swift",
        "Types/LuaLightUserdata.swift",
        "Types/LuaNil.swift",
        "Types/LuaNumber.swift",
        "Types/LuaString.swift",
        "Types/LuaTable.swift",
        "Types/LuaThread.swift",
        "Types/LuaType.swift",
        "Types/LuaUserdata.swift",
        "Types/LuaVector.swift"
      ],
      "target_dependencies" : [
        "CLua"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Example",
      "module_type" : "SwiftTarget",
      "name" : "Example",
      "path" : "Sources/Example",
      "product_memberships" : [
        "Example"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Luau"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CLuaVMInternal",
      "module_type" : "ClangTarget",
      "name" : "CLuaVMInternal",
      "path" : "lib/Luau/VM",
      "sources" : [
      ],
      "target_dependencies" : [
        "CLuaCommon",
        "CLuaVM"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLuaVM",
      "module_type" : "ClangTarget",
      "name" : "CLuaVM",
      "path" : "lib/Luau/VM",
      "product_memberships" : [
        "Luau",
        "Example"
      ],
      "sources" : [
        "src/lapi.cpp",
        "src/laux.cpp",
        "src/lbaselib.cpp",
        "src/lbitlib.cpp",
        "src/lbuffer.cpp",
        "src/lbuflib.cpp",
        "src/lbuiltins.cpp",
        "src/lcorolib.cpp",
        "src/ldblib.cpp",
        "src/ldebug.cpp",
        "src/ldo.cpp",
        "src/lfunc.cpp",
        "src/lgc.cpp",
        "src/lgcdebug.cpp",
        "src/linit.cpp",
        "src/lmathlib.cpp",
        "src/lmem.cpp",
        "src/lnumprint.cpp",
        "src/lobject.cpp",
        "src/loslib.cpp",
        "src/lperf.cpp",
        "src/lstate.cpp",
        "src/lstring.cpp",
        "src/lstrlib.cpp",
        "src/ltable.cpp",
        "src/ltablib.cpp",
        "src/ltm.cpp",
        "src/ludata.cpp",
        "src/lutf8lib.cpp",
        "src/lveclib.cpp",
        "src/lvmexecute.cpp",
        "src/lvmload.cpp",
        "src/lvmutils.cpp"
      ],
      "target_dependencies" : [
        "CLuaCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLuaEqSat",
      "module_type" : "ClangTarget",
      "name" : "CLuaEqSat",
      "path" : "lib/Luau/EqSat",
      "sources" : [
        "src/Id.cpp",
        "src/UnionFind.cpp"
      ],
      "target_dependencies" : [
        "CLuaCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLuaConfig",
      "module_type" : "ClangTarget",
      "name" : "CLuaConfig",
      "path" : "lib/Luau/Config",
      "sources" : [
        "src/Config.cpp",
        "src/LinterConfig.cpp",
        "src/LuauConfig.cpp"
      ],
      "target_dependencies" : [
        "CLuaAst",
        "CLuaCompiler",
        "CLuaVM"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLuaCompiler",
      "module_type" : "ClangTarget",
      "name" : "CLuaCompiler",
      "path" : "lib/Luau/Compiler",
      "product_memberships" : [
        "Luau",
        "Example"
      ],
      "sources" : [
        "src/BuiltinFolding.cpp",
        "src/Builtins.cpp",
        "src/BytecodeBuilder.cpp",
        "src/Compiler.cpp",
        "src/ConstantFolding.cpp",
        "src/CostModel.cpp",
        "src/TableShape.cpp",
        "src/Types.cpp",
        "src/ValueTracking.cpp",
        "src/lcode.cpp"
      ],
      "target_dependencies" : [
        "CLuaAst"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLuaCommon",
      "module_type" : "ClangTarget",
      "name" : "CLuaCommon",
      "path" : "lib/Luau/Common",
      "product_memberships" : [
        "Luau",
        "Example"
      ],
      "sources" : [
        "src/StringUtils.cpp",
        "src/TimeTrace.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLuaCodeGen",
      "module_type" : "ClangTarget",
      "name" : "CLuaCodeGen",
      "path" : "lib/Luau/CodeGen",
      "sources" : [
        "src/AssemblyBuilderA64.cpp",
        "src/AssemblyBuilderX64.cpp",
        "src/BytecodeAnalysis.cpp",
        "src/BytecodeSummary.cpp",
        "src/CodeAllocator.cpp",
        "src/CodeBlockUnwind.cpp",
        "src/CodeGen.cpp",
        "src/CodeGenA64.cpp",
        "src/CodeGenAssembly.cpp",
        "src/CodeGenContext.cpp",
        "src/CodeGenUtils.cpp",
        "src/CodeGenX64.cpp",
        "src/EmitBuiltinsX64.cpp",
        "src/EmitCommonX64.cpp",
        "src/EmitInstructionX64.cpp",
        "src/IrAnalysis.cpp",
        "src/IrBuilder.cpp",
        "src/IrCallWrapperX64.cpp",
        "src/IrDump.cpp",
        "src/IrLoweringA64.cpp",
        "src/IrLoweringX64.cpp",
        "src/IrRegAllocA64.cpp",
        "src/IrRegAllocX64.cpp",
        "src/IrTranslateBuiltins.cpp",
        "src/IrTranslation.cpp",
        "src/IrUtils.cpp",
        "src/IrValueLocationTracking.cpp",
        "src/NativeProtoExecData.cpp",
        "src/NativeState.cpp",
        "src/OptimizeConstProp.cpp",
        "src/OptimizeDeadStore.cpp",
        "src/OptimizeFinalX64.cpp",
        "src/SharedCodeAllocator.cpp",
        "src/UnwindBuilderDwarf2.cpp",
        "src/UnwindBuilderWin.cpp",
        "src/lcodegen.cpp"
      ],
      "target_dependencies" : [
        "CLuaVM",
        "CLuaVMInternal",
        "CLuaCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLuaAst",
      "module_type" : "ClangTarget",
      "name" : "CLuaAst",
      "path" : "lib/Luau/Ast",
      "product_memberships" : [
        "Luau",
        "Example"
      ],
      "sources" : [
        "src/Allocator.cpp",
        "src/Ast.cpp",
        "src/Confusables.cpp",
        "src/Cst.cpp",
        "src/Lexer.cpp",
        "src/Location.cpp",
        "src/Parser.cpp",
        "src/PrettyPrinter.cpp"
      ],
      "target_dependencies" : [
        "CLuaCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLuaAnalysis",
      "module_type" : "ClangTarget",
      "name" : "CLuaAnalysis",
      "path" : "lib/Luau/Analysis",
      "sources" : [
        "src/Anyification.cpp",
        "src/ApplyTypeFunction.cpp",
        "src/AstJsonEncoder.cpp",
        "src/AstQuery.cpp",
        "src/AstUtils.cpp",
        "src/Autocomplete.cpp",
        "src/AutocompleteCore.cpp",
        "src/BuiltinDefinitions.cpp",
        "src/BuiltinTypeFunctions.cpp",
        "src/Clone.cpp",
        "src/Constraint.cpp",
        "src/ConstraintGenerator.cpp",
        "src/ConstraintSolver.cpp",
        "src/DataFlowGraph.cpp",
        "src/DcrLogger.cpp",
        "src/Def.cpp",
        "src/EmbeddedBuiltinDefinitions.cpp",
        "src/EqSatSimplification.cpp",
        "src/Error.cpp",
        "src/ExpectedTypeVisitor.cpp",
        "src/FileResolver.cpp",
        "src/FragmentAutocomplete.cpp",
        "src/Frontend.cpp",
        "src/Generalization.cpp",
        "src/GlobalTypes.cpp",
        "src/InferPolarity.cpp",
        "src/Instantiation.cpp",
        "src/Instantiation2.cpp",
        "src/IostreamHelpers.cpp",
        "src/JsonEmitter.cpp",
        "src/LValue.cpp",
        "src/Linter.cpp",
        "src/Module.cpp",
        "src/NativeStackGuard.cpp",
        "src/NonStrictTypeChecker.cpp",
        "src/Normalize.cpp",
        "src/OverloadResolution.cpp",
        "src/Quantify.cpp",
        "src/RecursionCounter.cpp",
        "src/Refinement.cpp",
        "src/RequireTracer.cpp",
        "src/Scope.cpp",
        "src/Simplify.cpp",
        "src/Substitution.cpp",
        "src/Subtyping.cpp",
        "src/Symbol.cpp",
        "src/TableLiteralInference.cpp",
        "src/ToDot.cpp",
        "src/ToString.cpp",
        "src/TopoSortStatements.cpp",
        "src/TxnLog.cpp",
        "src/Type.cpp",
        "src/TypeArena.cpp",
        "src/TypeAttach.cpp",
        "src/TypeChecker2.cpp",
        "src/TypeFunction.cpp",
        "src/TypeFunctionReductionGuesser.cpp",
        "src/TypeFunctionRuntime.cpp",
        "src/TypeFunctionRuntimeBuilder.cpp",
        "src/TypeIds.cpp",
        "src/TypeInfer.cpp",
        "src/TypeOrPack.cpp",
        "src/TypePack.cpp",
        "src/TypePath.cpp",
        "src/TypeUtils.cpp",
        "src/TypedAllocator.cpp",
        "src/Unifiable.cpp",
        "src/Unifier.cpp",
        "src/Unifier2.cpp",
        "src/UserDefinedTypeFunction.cpp"
      ],
      "target_dependencies" : [
        "CLuaAst",
        "CLuaEqSat",
        "CLuaConfig",
        "CLuaCompiler",
        "CLuaVM"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CLua",
      "module_type" : "ClangTarget",
      "name" : "CLua",
      "path" : "Sources/CLua",
      "product_memberships" : [
        "Luau",
        "Example"
      ],
      "sources" : [
        "lua.c"
      ],
      "target_dependencies" : [
        "CLuaAst",
        "CLuaCompiler",
        "CLuaVM"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/172] Write sources
[2/172] Compiling lutf8lib.cpp
[2/172] Compiling ludata.cpp
[4/172] Compiling ltm.cpp
[5/172] Compiling lvmload.cpp
[6/172] Compiling lstring.cpp
[7/172] Write swift-version-24593BA9C3E375BF.txt
[8/172] Compiling lstrlib.cpp
[9/172] Compiling lstate.cpp
/host/spi-builder-workspace/lib/Luau/VM/src/lperf.cpp:53:19: 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]
   53 |     return double(clock());
      |                   ^
/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/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
1 warning generated.
[10/172] Compiling lperf.cpp
[11/172] Compiling loslib.cpp
[12/172] Compiling lveclib.cpp
[13/172] Compiling ltablib.cpp
[14/172] Compiling linit.cpp
[15/172] Compiling ltable.cpp
[16/172] Compiling lmem.cpp
[17/172] Compiling lfunc.cpp
[18/172] Compiling lvmutils.cpp
[19/172] Compiling lnumprint.cpp
/host/spi-builder-workspace/lib/Luau/VM/src/lmathlib.cpp:501:13: 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]
  501 |     seed ^= clock();
      |             ^
/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/time.h:66:16: note: 'clock' has been explicitly marked deprecated here
   66 | __attribute__((__deprecated__(
      |                ^
1 warning generated.
[20/172] Compiling lmathlib.cpp
[21/172] Compiling lobject.cpp
[22/172] Compiling ldblib.cpp
In file included from /host/spi-builder-workspace/lib/Luau/VM/src/ldo.cpp:12:
/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/setjmp.h:13:2: error: Setjmp/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.
   13 | #error Setjmp/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.
      |  ^
1 error generated.
[23/172] Compiling ldo.cpp
[23/172] Compiling lgcdebug.cpp
[23/172] Compiling lbuiltins.cpp
[23/172] Compiling ldebug.cpp
[23/172] Compiling lbuflib.cpp
[23/172] Compiling lgc.cpp
[23/172] Compiling lcorolib.cpp
[23/172] Compiling lvmexecute.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/150] Compiling lcorolib.cpp
In file included from /host/spi-builder-workspace/lib/Luau/VM/src/ldo.cpp:12:
/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/setjmp.h:13:2: error: Setjmp/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.
   13 | #error Setjmp/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.
      |  ^
1 error generated.
[1/150] Compiling ldo.cpp
[1/150] Compiling lgcdebug.cpp
[1/150] Compiling lgc.cpp
[1/150] Compiling ldebug.cpp
[1/150] Compiling lbuflib.cpp
[1/150] Compiling lbuiltins.cpp
[1/150] Compiling lvmexecute.cpp
[1/150] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm