[INFO] fetching crate lua51-sys 0.1.0... [INFO] testing lua51-sys-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate lua51-sys 0.1.0 into /workspace/builds/worker-114/source [INFO] validating manifest of crates.io crate lua51-sys 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lua51-sys 0.1.0 [INFO] finished tweaking crates.io crate lua51-sys 0.1.0 [INFO] tweaked toml for crates.io crate lua51-sys 0.1.0 written to /workspace/builds/worker-114/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbd49753e1e6383735ca0194f8126cd816395925cdc322f86bce2334ae4694f6 [INFO] running `Command { std: "docker" "start" "-a" "bbd49753e1e6383735ca0194f8126cd816395925cdc322f86bce2334ae4694f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbd49753e1e6383735ca0194f8126cd816395925cdc322f86bce2334ae4694f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbd49753e1e6383735ca0194f8126cd816395925cdc322f86bce2334ae4694f6", kill_on_drop: false }` [INFO] [stdout] bbd49753e1e6383735ca0194f8126cd816395925cdc322f86bce2334ae4694f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3cf148e5cbfe3ed68f6e2dc923788f162e60d9e0bdf1fb81b98a14657e65bb1 [INFO] running `Command { std: "docker" "start" "-a" "e3cf148e5cbfe3ed68f6e2dc923788f162e60d9e0bdf1fb81b98a14657e65bb1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bindgen v0.39.0 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling lua51-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: lua/src/lauxlib.c: In function 'luaL_loadfile': [INFO] [stderr] warning: lua/src/lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 577 | while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: 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: 578 | lf.extraline = 0; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: lua/src/ldebug.c: In function 'symbexec': [INFO] [stderr] warning: lua/src/ldebug.c:268:22: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 268 | #define check(x) if (!(x)) return 0; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: lua/src/ldebug.c:272:26: note: in expansion of macro 'check' [INFO] [stderr] warning: 272 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: lua/src/ldebug.c:414:9: note: in expansion of macro 'checkreg' [INFO] [stderr] warning: 414 | checkreg(pt, a+3); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: lua/src/ldebug.c:416:7: note: here [INFO] [stderr] warning: 416 | case OP_JMP: { [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/llex.c: In function 'llex': [INFO] [stderr] warning: lua/src/llex.c:369:14: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 369 | else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: lua/src/llex.c:371:7: note: here [INFO] [stderr] warning: 371 | case '=': { [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/ltable.c: In function 'luaH_get': [INFO] [stderr] warning: lua/src/ltable.c:473:23: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 473 | case LUA_TNUMBER: { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: lua/src/ltable.c:481:5: note: here [INFO] [stderr] warning: 481 | default: { [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: lua/src/ltablib.c: In function 'addfield': [INFO] [stderr] warning: lua/src/ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 137 | if (!lua_isstring(L, -1)) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: 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: 140 | luaL_addvalue(b); [INFO] [stderr] warning: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: lua/src/lua.c: In function 'collectargs': [INFO] [stderr] warning: lua/src/lua.c:274:13: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 274 | *pi = 1; /* go through */ [INFO] [stderr] warning: | ~~~~^~~ [INFO] [stderr] warning: lua/src/lua.c:275:7: note: here [INFO] [stderr] warning: 275 | case 'v': [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/lua.c:280:13: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 280 | *pe = 1; /* go through */ [INFO] [stderr] warning: | ~~~~^~~ [INFO] [stderr] warning: lua/src/lua.c:281:7: note: here [INFO] [stderr] warning: 281 | case 'l': [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.61s [INFO] running `Command { std: "docker" "inspect" "e3cf148e5cbfe3ed68f6e2dc923788f162e60d9e0bdf1fb81b98a14657e65bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3cf148e5cbfe3ed68f6e2dc923788f162e60d9e0bdf1fb81b98a14657e65bb1", kill_on_drop: false }` [INFO] [stdout] e3cf148e5cbfe3ed68f6e2dc923788f162e60d9e0bdf1fb81b98a14657e65bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1255bf02ef8aa1490fa2ea2732700573fa6934334bd4010f7ffc31bed7eaf201 [INFO] running `Command { std: "docker" "start" "-a" "1255bf02ef8aa1490fa2ea2732700573fa6934334bd4010f7ffc31bed7eaf201", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: lua/src/lauxlib.c: In function 'luaL_loadfile': [INFO] [stderr] warning: lua/src/lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 577 | while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: 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: 578 | lf.extraline = 0; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: lua/src/ldebug.c: In function 'symbexec': [INFO] [stderr] warning: lua/src/ldebug.c:268:22: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 268 | #define check(x) if (!(x)) return 0; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: lua/src/ldebug.c:272:26: note: in expansion of macro 'check' [INFO] [stderr] warning: 272 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: lua/src/ldebug.c:414:9: note: in expansion of macro 'checkreg' [INFO] [stderr] warning: 414 | checkreg(pt, a+3); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: lua/src/ldebug.c:416:7: note: here [INFO] [stderr] warning: 416 | case OP_JMP: { [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/llex.c: In function 'llex': [INFO] [stderr] warning: lua/src/llex.c:369:14: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 369 | else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: lua/src/llex.c:371:7: note: here [INFO] [stderr] warning: 371 | case '=': { [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/ltable.c: In function 'luaH_get': [INFO] [stderr] warning: lua/src/ltable.c:473:23: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 473 | case LUA_TNUMBER: { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: lua/src/ltable.c:481:5: note: here [INFO] [stderr] warning: 481 | default: { [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: lua/src/ltablib.c: In function 'addfield': [INFO] [stderr] warning: lua/src/ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 137 | if (!lua_isstring(L, -1)) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: 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: 140 | luaL_addvalue(b); [INFO] [stderr] warning: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: lua/src/lua.c: In function 'collectargs': [INFO] [stderr] warning: lua/src/lua.c:274:13: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 274 | *pi = 1; /* go through */ [INFO] [stderr] warning: | ~~~~^~~ [INFO] [stderr] warning: lua/src/lua.c:275:7: note: here [INFO] [stderr] warning: 275 | case 'v': [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/lua.c:280:13: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 280 | *pe = 1; /* go through */ [INFO] [stderr] warning: | ~~~~^~~ [INFO] [stderr] warning: lua/src/lua.c:281:7: note: here [INFO] [stderr] warning: 281 | case 'l': [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] Compiling lua51-sys v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:15356 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . event as * const _ as usize } , 0usize , concat ! ( "Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:15573 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:15788 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . namewhat as * const _ as usize } , 16usize , concat ! ( "Offset... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:16012 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . what as * const _ as usize } , 24usize , concat ! ( "Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:16228 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . source as * const _ as usize } , 32usize , concat ! ( "Offset o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:16448 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . currentline as * const _ as usize } , 40usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:16678 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . nups as * const _ as usize } , 44usize , concat ! ( "Offset of ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:16894 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . linedefined as * const _ as usize } , 48usize , concat ! ( "Off... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:17124 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . lastlinedefined as * const _ as usize } , 52usize , concat ! ( ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:17362 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . short_src as * const _ as usize } , 56usize , concat ! ( "Offse... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:17588 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lua_Debug > ( ) ) ) . i_ci as * const _ as usize } , 116usize , concat ! ( "Offset of... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:18271 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < luaL_Reg > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:18484 [INFO] [stdout] | [INFO] [stdout] 3 | ... ! ( unsafe { & ( * ( :: std :: ptr :: null :: < luaL_Reg > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:23635 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < luaL_Buffer > ( ) ) ) . p as * const _ as usize } , 0usize , concat ! ( "Offset of fie... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:23848 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < luaL_Buffer > ( ) ) ) . lvl as * const _ as usize } , 8usize , concat ! ( "Offset of f... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:24065 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < luaL_Buffer > ( ) ) ) . L as * const _ as usize } , 16usize , concat ! ( "Offset of fi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:24279 [INFO] [stdout] | [INFO] [stdout] 3 | ...! ( unsafe { & ( * ( :: std :: ptr :: null :: < luaL_Buffer > ( ) ) ) . buffer as * const _ as usize } , 24usize , concat ! ( "Offset ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:25747 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . gp_offset as * const _ as usize } , 0usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:25980 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . fp_offset as * const _ as usize } , 4usize , concat ! ( "Offs... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:26213 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . overflow_arg_area as * const _ as usize } , 8usize , concat !... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/lua.rs:3:26462 [INFO] [stdout] | [INFO] [stdout] 3 | ... ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . reg_save_area as * const _ as usize } , 16usize , concat ! ( ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.1sqvfshnuz4n43wy.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-llua" "-Wl,--no-whole-archive" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-b6a068090bf40c71.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-1c1e08c768cd8903.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-3f4474e7a3a1f53f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-ec55ab174918e77a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8d61b92a0a02f53a.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fc45202bb435016b.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f2400674c7513725.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-605c3a7d1a5d300d.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3d4fb4efa907e4e8.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-65207f030ab23308.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-76ca199cb0186109.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1e3e01ed4f561dc1.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-dd8dddcba7c13fee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-00b13d31c3420656.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e4c8460b81557bd5.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-600d46e5f0005455.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e4a08a2585b62d37.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fbc21ec567cb9dc7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-10b3fa8e49bd978f.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-64625b73694ffce7.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-fb6b78ac543a58ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-1d1f2d1bec6f51b8.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-acf5ff6e9595d982.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.60.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/liblua.a(lua.o): in function `main': [INFO] [stdout] /opt/rustwide/workdir/lua/src/lua.c:377: multiple definition of `main'; /opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.0.rcgu.o:lua51_sys.8f3094c2-cgu.0:(.text.main+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/liblua.a(luac.o): in function `main': [INFO] [stdout] /opt/rustwide/workdir/lua/src/luac.c:187: multiple definition of `main'; /opt/rustwide/target/debug/deps/lua51_sys-ddc3c8ee733e4f17.lua51_sys.8f3094c2-cgu.0.rcgu.o:lua51_sys.8f3094c2-cgu.0:(.text.main+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-9a3a5b4acbe0408a/out/liblua.a(loslib.o): in function `os_tmpname': [INFO] [stdout] /opt/rustwide/workdir/lua/src/loslib.c:60: warning: the use of `tmpnam' is dangerous, better use `mkstemp' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: lua/src/lauxlib.c: In function 'luaL_loadfile': [INFO] [stderr] warning: lua/src/lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 577 | while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: 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: 578 | lf.extraline = 0; [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: lua/src/ldebug.c: In function 'symbexec': [INFO] [stderr] warning: lua/src/ldebug.c:268:22: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 268 | #define check(x) if (!(x)) return 0; [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: lua/src/ldebug.c:272:26: note: in expansion of macro 'check' [INFO] [stderr] warning: 272 | #define checkreg(pt,reg) check((reg) < (pt)->maxstacksize) [INFO] [stderr] warning: | ^~~~~ [INFO] [stderr] warning: lua/src/ldebug.c:414:9: note: in expansion of macro 'checkreg' [INFO] [stderr] warning: 414 | checkreg(pt, a+3); [INFO] [stderr] warning: | ^~~~~~~~ [INFO] [stderr] warning: lua/src/ldebug.c:416:7: note: here [INFO] [stderr] warning: 416 | case OP_JMP: { [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/llex.c: In function 'llex': [INFO] [stderr] warning: lua/src/llex.c:369:14: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 369 | else luaX_lexerror(ls, "invalid long string delimiter", TK_STRING); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: lua/src/llex.c:371:7: note: here [INFO] [stderr] warning: 371 | case '=': { [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/ltable.c: In function 'luaH_get': [INFO] [stderr] warning: lua/src/ltable.c:473:23: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 473 | case LUA_TNUMBER: { [INFO] [stderr] warning: | ^ [INFO] [stderr] warning: lua/src/ltable.c:481:5: note: here [INFO] [stderr] warning: 481 | default: { [INFO] [stderr] warning: | ^~~~~~~ [INFO] [stderr] warning: lua/src/ltablib.c: In function 'addfield': [INFO] [stderr] warning: lua/src/ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: 137 | if (!lua_isstring(L, -1)) [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: 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: 140 | luaL_addvalue(b); [INFO] [stderr] warning: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: lua/src/lua.c: In function 'collectargs': [INFO] [stderr] warning: lua/src/lua.c:274:13: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 274 | *pi = 1; /* go through */ [INFO] [stderr] warning: | ~~~~^~~ [INFO] [stderr] warning: lua/src/lua.c:275:7: note: here [INFO] [stderr] warning: 275 | case 'v': [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] warning: lua/src/lua.c:280:13: warning: this statement may fall through [-Wimplicit-fallthrough=] [INFO] [stderr] warning: 280 | *pe = 1; /* go through */ [INFO] [stderr] warning: | ~~~~^~~ [INFO] [stderr] warning: lua/src/lua.c:281:7: note: here [INFO] [stderr] warning: 281 | case 'l': [INFO] [stderr] warning: | ^~~~ [INFO] [stderr] [INFO] [stderr] error: could not compile `lua51-sys` due to 2 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1255bf02ef8aa1490fa2ea2732700573fa6934334bd4010f7ffc31bed7eaf201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1255bf02ef8aa1490fa2ea2732700573fa6934334bd4010f7ffc31bed7eaf201", kill_on_drop: false }` [INFO] [stdout] 1255bf02ef8aa1490fa2ea2732700573fa6934334bd4010f7ffc31bed7eaf201