[INFO] fetching crate lua51-sys 0.1.0... [INFO] testing lua51-sys-0.1.0 against beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2f6f03227b961bff23af9cf1c8cb58fe01734515cdab2b51b0e464d94531d30 [INFO] running `Command { std: "docker" "start" "-a" "f2f6f03227b961bff23af9cf1c8cb58fe01734515cdab2b51b0e464d94531d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2f6f03227b961bff23af9cf1c8cb58fe01734515cdab2b51b0e464d94531d30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2f6f03227b961bff23af9cf1c8cb58fe01734515cdab2b51b0e464d94531d30", kill_on_drop: false }` [INFO] [stdout] f2f6f03227b961bff23af9cf1c8cb58fe01734515cdab2b51b0e464d94531d30 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 181cc08e5c8e02c334fb3fdf65c4ec347d358ec415198f9a01175d17daf776d0 [INFO] running `Command { std: "docker" "start" "-a" "181cc08e5c8e02c334fb3fdf65c4ec347d358ec415198f9a01175d17daf776d0", 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 clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling nom v3.2.1 [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 25.46s [INFO] running `Command { std: "docker" "inspect" "181cc08e5c8e02c334fb3fdf65c4ec347d358ec415198f9a01175d17daf776d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "181cc08e5c8e02c334fb3fdf65c4ec347d358ec415198f9a01175d17daf776d0", kill_on_drop: false }` [INFO] [stdout] 181cc08e5c8e02c334fb3fdf65c4ec347d358ec415198f9a01175d17daf776d0 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9bebc0ec35972cbf6e92e211f8afeefbf04575146b0b47b6e2df1877c64dc10 [INFO] running `Command { std: "docker" "start" "-a" "a9bebc0ec35972cbf6e92e211f8afeefbf04575146b0b47b6e2df1877c64dc10", kill_on_drop: false }` [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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-088260c648e5da0c/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-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c.20dxg8jnatr5l7dw.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/lua51-sys-088260c648e5da0c/out" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-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/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-d9ecd5377b7dfa2f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-e95f8ccbb889cb3a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-bc3d259c8a5de0c3.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2b85ee1dcf40ad05.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/lua51_sys-3431e9b39fc68d7c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-088260c648e5da0c/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-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.0.rcgu.o:lua51_sys.c202d42a-cgu.0:(.text.main+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-088260c648e5da0c/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-3431e9b39fc68d7c.lua51_sys.c202d42a-cgu.0.rcgu.o:lua51_sys.c202d42a-cgu.0:(.text.main+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-088260c648e5da0c/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" "a9bebc0ec35972cbf6e92e211f8afeefbf04575146b0b47b6e2df1877c64dc10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9bebc0ec35972cbf6e92e211f8afeefbf04575146b0b47b6e2df1877c64dc10", kill_on_drop: false }` [INFO] [stdout] a9bebc0ec35972cbf6e92e211f8afeefbf04575146b0b47b6e2df1877c64dc10