mlua 0.10.1

High level bindings to Lua 5.4/5.3/5.2/5.1 (including LuaJIT) and Roblox Luau with async/await features and support of writing native Lua modules in Rust.
Documentation
Build #1513666 2024-11-09T21:49:38.823858+00:00
# rustc version
rustc 1.84.0-nightly (59cec72a5 2024-11-08)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/mlua-0.10.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/mlua-0.10.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "lua54 vendored async send serialize macros" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241108-1.84.0-nightly-59cec72a5\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] df7b5a91a36f54d4e7c468894d1420ed51085220aba6aae60ee4551bb312c997
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "df7b5a91a36f54d4e7c468894d1420ed51085220aba6aae60ee4551bb312c997", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: async_http_client, async_http_reqwest, async_http_server, async_tcp_server, guided_tour, repl, serialize, userdata
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling mlua-sys v0.6.5
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: GNU compiler is not supported for this target
[INFO] [stderr] warning: mlua-sys@0.6.5: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lua-src-547.0.0/lua-5.4.7/loadlib.c:150:10: fatal error: windows.h: No such file or directory
[INFO] [stderr] warning: mlua-sys@0.6.5:   150 | #include <windows.h>
[INFO] [stderr] warning: mlua-sys@0.6.5:       |          ^~~~~~~~~~~
[INFO] [stderr] warning: mlua-sys@0.6.5: compilation terminated.
[INFO] [stderr] error: failed to run custom build command for `mlua-sys v0.6.5`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/mlua-sys-4cf8e59b6ad66a69/build-script-main` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-changed=build
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=GNU compiler is not supported for this target
[INFO] [stderr]   cargo:warning=/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lua-src-547.0.0/lua-5.4.7/loadlib.c:150:10: fatal error: windows.h: No such file or directory
[INFO] [stderr]   cargo:warning=  150 | #include <windows.h>
[INFO] [stderr]   cargo:warning=      |          ^~~~~~~~~~~
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m32" "-I" "/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lua-src-547.0.0/lua-5.4.7" "-w" "-fno-common" "-DLUA_USE_WINDOWS" "-DLUA_COMPAT_5_3" "-DLUA_USE_APICHECK" "-o" "/opt/rustwide/target/i686-pc-windows-msvc/debug/build/mlua-sys-0e64d556a6b58eb7/out/lua-build/lib/2c773bacdfc57ce7-loadlib.o" "-c" "/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lua-src-547.0.0/lua-5.4.7/loadlib.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "df7b5a91a36f54d4e7c468894d1420ed51085220aba6aae60ee4551bb312c997", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df7b5a91a36f54d4e7c468894d1420ed51085220aba6aae60ee4551bb312c997", kill_on_drop: false }`
[INFO] [stdout] df7b5a91a36f54d4e7c468894d1420ed51085220aba6aae60ee4551bb312c997