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}/x86_64-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", kill_on_drop: false }`
[INFO] [stdout] ed5260dbcf9dee138a451670ac4981b552eca9228d220ad91eb6bba532e0dcf8
[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" "ed5260dbcf9dee138a451670ac4981b552eca9228d220ad91eb6bba532e0dcf8", 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]     Checking ordered-float v2.10.1
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mlua-sys v0.6.5
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking erased-serde v0.4.5
[INFO] [stderr] warning: mlua-sys@0.6.5: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: mlua-sys@0.6.5: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[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=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-mmacosx-version-min=10.7" "-I" "/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lua-src-547.0.0/lua-5.4.7" "-w" "-DLUA_USE_MACOSX" "-DLUA_COMPAT_5_3" "-DLUA_USE_APICHECK" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/mlua-sys-cc54914be24711d6/out/lua-build/lib/2c773bacdfc57ce7-lapi.o" "-c" "/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/lua-src-547.0.0/lua-5.4.7/lapi.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "ed5260dbcf9dee138a451670ac4981b552eca9228d220ad91eb6bba532e0dcf8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed5260dbcf9dee138a451670ac4981b552eca9228d220ad91eb6bba532e0dcf8", kill_on_drop: false }`
[INFO] [stdout] ed5260dbcf9dee138a451670ac4981b552eca9228d220ad91eb6bba532e0dcf8