The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLuau, reference main (ace387), with Swift 6.1 for Wasm on 9 Dec 2025 11:31:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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/RadiusDay/SwiftLuau
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ace387f refactor(example): use require in the example instead of exposing globals
Submodule path 'lib/Luau': checked out 'c836feb2450a074581010f84da2eadeea38a3d55'
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 @):
ace387fdbb8ce47a0c3336dd49d7bff0d958389c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/RadiusDay/SwiftLuau.git at main
========================================
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" : "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/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",
        "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-4609320-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/169] Write sources
[2/169] Compiling lvmload.cpp
[3/169] Write swift-version-24593BA9C3E375BF.txt
[4/169] Compiling lutf8lib.cpp
[5/169] Compiling ludata.cpp
[6/169] Compiling lveclib.cpp
[7/169] Compiling lvmutils.cpp
[8/169] Compiling ltm.cpp
[9/169] Compiling lstrlib.cpp
[10/169] Compiling ltablib.cpp
[11/169] Compiling lstring.cpp
[12/169] Compiling ltable.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.
[13/169] Compiling lperf.cpp
[14/169] Compiling lstate.cpp
[15/169] Compiling loslib.cpp
[16/169] Compiling lmem.cpp
[17/169] Compiling lnumprint.cpp
[18/169] Compiling linit.cpp
[19/169] Compiling lobject.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/169] Compiling lmathlib.cpp
[21/169] Compiling lgcdebug.cpp
[22/169] Compiling lgc.cpp
[23/169] Compiling lfunc.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.
[24/169] Compiling ldo.cpp
[24/169] Compiling AstJsonEncoder.cpp
[24/169] Compiling Anyification.cpp
[24/169] Compiling ApplyTypeFunction.cpp
[24/169] Compiling ldblib.cpp
[24/169] Compiling ldebug.cpp
[24/169] Compiling AstQuery.cpp
[24/169] Compiling lvmexecute.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/146] Compiling ldblib.cpp
[1/146] 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.
[2/146] Compiling ldo.cpp
[2/146] Compiling lbuiltins.cpp
[2/146] Compiling lbitlib.cpp
[2/146] Compiling lbuffer.cpp
[2/146] Compiling lbuflib.cpp
[2/146] Compiling ldebug.cpp
[2/146] Compiling lvmexecute.cpp
[2/146] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm