lua51-sys 0.1.0

Bindings for Lua 5.1.5
Documentation
Build #2397228 2025-08-09 12:37:33

# rustc version rustc 1.91.0-nightly (de3efa79f 2025-08-08)

# docs.rs version docsrs 0.6.0 (e18d034e 2025-07-29)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/lua51-sys-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/lua51-sys-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250808-1.91.0-nightly-de3efa79f\", \"--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-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 93c54c9a8869319c849827f455d9206dccdc3523405c44accdfe7e78b3210865 [INFO] running `Command { std: "docker" "start" "-a" "93c54c9a8869319c849827f455d9206dccdc3523405c44accdfe7e78b3210865", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/lauxlib.c: In function 'luaL_loadfile': [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: lua51-sys@0.1.0: 577 | while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' [INFO] [stderr] warning: lua51-sys@0.1.0: 578 | lf.extraline = 0; [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ldebug.c: In function 'symbexec': [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ldebug.c:268:36: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: lua51-sys@0.1.0: 268 | #define check(x) if (!(x)) return 0; [INFO] [stderr] warning: lua51-sys@0.1.0: | ^ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ldebug.c:272:33: note: in expansion of macro 'check' [INFO] [stderr] warning: lua51-sys@0.1.0: 272 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ldebug.c:414:9: note: in expansion of macro 'checkreg' [INFO] [stderr] warning: lua51-sys@0.1.0: 414 | checkreg(pt, a+3); [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~~~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ldebug.c:416:7: note: here [INFO] [stderr] warning: lua51-sys@0.1.0: 416 | case OP_JMP: { [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ldump.c: In function 'DumpString': [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ldump.c:63:26: warning: the comparison will always evaluate as 'false' for the pointer operand in 's + 24' must not be NULL [-Waddress] [INFO] [stderr] warning: lua51-sys@0.1.0: 63 | if (s==NULL || getstr(s)==NULL) [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/llex.c: In function 'llex': [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/llex.c:369:14: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: lua51-sys@0.1.0: 369 | else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/llex.c:371:7: note: here [INFO] [stderr] warning: lua51-sys@0.1.0: 371 | case '=': { [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ltable.c: In function 'luaH_get': [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ltable.c:473:23: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: lua51-sys@0.1.0: 473 | case LUA_TNUMBER: { [INFO] [stderr] warning: lua51-sys@0.1.0: | ^ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ltable.c:481:5: note: here [INFO] [stderr] warning: lua51-sys@0.1.0: 481 | default: { [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ltablib.c: In function 'addfield': [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: lua51-sys@0.1.0: 137 | if (!lua_isstring(L, -1)) [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/ltablib.c:140:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: lua51-sys@0.1.0: 140 | luaL_addvalue(b); [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/lua.c: In function 'collectargs': [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/lua.c:274:13: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: lua51-sys@0.1.0: 274 | *pi = 1; /* go through */ [INFO] [stderr] warning: lua51-sys@0.1.0: | ~~~~^~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/lua.c:275:7: note: here [INFO] [stderr] warning: lua51-sys@0.1.0: 275 | case 'v': [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/lua.c:280:13: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: lua51-sys@0.1.0: 280 | *pe = 1; /* go through */ [INFO] [stderr] warning: lua51-sys@0.1.0: | ~~~~^~~ [INFO] [stderr] warning: lua51-sys@0.1.0: lua/src/lua.c:281:7: note: here [INFO] [stderr] warning: lua51-sys@0.1.0: 281 | case 'l': [INFO] [stderr] warning: lua51-sys@0.1.0: | ^~~~ [INFO] [stderr] Documenting lua51-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/lua51_sys/index.html [INFO] running `Command { std: "docker" "inspect" "93c54c9a8869319c849827f455d9206dccdc3523405c44accdfe7e78b3210865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93c54c9a8869319c849827f455d9206dccdc3523405c44accdfe7e78b3210865", kill_on_drop: false }` [INFO] [stdout] 93c54c9a8869319c849827f455d9206dccdc3523405c44accdfe7e78b3210865