[INFO] fetching crate lua51-sys 0.1.0... [INFO] testing lua51-sys-0.1.0 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate lua51-sys 0.1.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate lua51-sys 0.1.0 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.39.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 005aa75425c27700bb0b8111ecb9c97e08101c9000f1c75cae2d2668caecc780 [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" "005aa75425c27700bb0b8111ecb9c97e08101c9000f1c75cae2d2668caecc780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "005aa75425c27700bb0b8111ecb9c97e08101c9000f1c75cae2d2668caecc780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "005aa75425c27700bb0b8111ecb9c97e08101c9000f1c75cae2d2668caecc780", kill_on_drop: false }` [INFO] [stdout] 005aa75425c27700bb0b8111ecb9c97e08101c9000f1c75cae2d2668caecc780 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66b7800b6a944096b5d4f82d0de2a29f6de4f428a8390ac5a96551cfdb89cd07 [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" "66b7800b6a944096b5d4f82d0de2a29f6de4f428a8390ac5a96551cfdb89cd07", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.39.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling clang-sys v0.23.0 [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.33.3 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling cexpr v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.5.13 [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 32.86s [INFO] running `Command { std: "docker" "inspect" "66b7800b6a944096b5d4f82d0de2a29f6de4f428a8390ac5a96551cfdb89cd07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b7800b6a944096b5d4f82d0de2a29f6de4f428a8390ac5a96551cfdb89cd07", kill_on_drop: false }` [INFO] [stdout] 66b7800b6a944096b5d4f82d0de2a29f6de4f428a8390ac5a96551cfdb89cd07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfb30a25f70ce827fbd79a8fb42598e3e73096bb0018ba2a8ce08d7fa47fbe68 [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" "cfb30a25f70ce827fbd79a8fb42598e3e73096bb0018ba2a8ce08d7fa47fbe68", 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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-9e182999d713f286/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-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69.36cjkf29ko7c6aha.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/lua51-sys-9e182999d713f286/out" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-llua" "-Wl,--no-whole-archive" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1ce38cc2ca963dbe.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-44cde79bf84da402.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-4dc925bb53d03412.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-2216cca8b1bb2a2f.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9c44f1fe63de3edb.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5dfdbb680ac299a1.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-353beaf877db2fdf.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-cd4abd33332d2d3f.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-3b908b5b50ddd80c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9cafd3521b5532d3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-7b0935832903a9ac.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-8a349b13d67c76e3.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-9d41e7cb09eafd8e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-095194fedb4c0ec4.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-968cf83f088269ec.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-e63bbb95a6beff5c.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-9f216e67c2916fa5.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4688b763605c6a0e.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-a9b2dc3244289321.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-003d83a588984e1f.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/lua51_sys-e0f55a1e7067cd69" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-9e182999d713f286/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-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.5.rcgu.o:lua51_sys.23f6ee88-cgu.5:(.text.main+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-9e182999d713f286/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-e0f55a1e7067cd69.lua51_sys.23f6ee88-cgu.5.rcgu.o:lua51_sys.23f6ee88-cgu.5:(.text.main+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-9e182999d713f286/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" "cfb30a25f70ce827fbd79a8fb42598e3e73096bb0018ba2a8ce08d7fa47fbe68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb30a25f70ce827fbd79a8fb42598e3e73096bb0018ba2a8ce08d7fa47fbe68", kill_on_drop: false }` [INFO] [stdout] cfb30a25f70ce827fbd79a8fb42598e3e73096bb0018ba2a8ce08d7fa47fbe68