[INFO] crate lua51-sys 0.1.0 is already in cache [INFO] testing lua51-sys-0.1.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate lua51-sys 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate lua51-sys 0.1.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0bf603f2d1939503fe66254d7d8c20221c1b260278c088252c142b332eada1dd [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" "0bf603f2d1939503fe66254d7d8c20221c1b260278c088252c142b332eada1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0bf603f2d1939503fe66254d7d8c20221c1b260278c088252c142b332eada1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf603f2d1939503fe66254d7d8c20221c1b260278c088252c142b332eada1dd", kill_on_drop: false }` [INFO] [stdout] 0bf603f2d1939503fe66254d7d8c20221c1b260278c088252c142b332eada1dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eacd7ac6118c09973d4f9aa5c599a6c6980799e4add651804839ca169670bd03 [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" "eacd7ac6118c09973d4f9aa5c599a6c6980799e4add651804839ca169670bd03", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling cc v1.0.58 [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 strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling bindgen v0.39.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v0.3.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling clang-sys v0.23.0 [INFO] [stderr] Compiling libloading 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.33.1 [INFO] [stderr] Compiling nom v3.2.1 [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 41.95s [INFO] running `Command { std: "docker" "inspect" "eacd7ac6118c09973d4f9aa5c599a6c6980799e4add651804839ca169670bd03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eacd7ac6118c09973d4f9aa5c599a6c6980799e4add651804839ca169670bd03", kill_on_drop: false }` [INFO] [stdout] eacd7ac6118c09973d4f9aa5c599a6c6980799e4add651804839ca169670bd03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b772033216902cb5ef594f5d4f77f355036ab2f09c743843cd836d30a7310e37 [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" "b772033216902cb5ef594f5d4f77f355036ab2f09c743843cd836d30a7310e37", 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] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.lua51_sys.ebpez2ks-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.lua51_sys.ebpez2ks-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.lua51_sys.ebpez2ks-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.lua51_sys.ebpez2ks-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.lua51_sys.ebpez2ks-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.lua51_sys.ebpez2ks-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.lua51_sys.ebpez2ks-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.lua51_sys.ebpez2ks-cgu.7.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e" "/opt/rustwide/target/debug/deps/lua51_sys-262394560b447b4e.57lxc3i31zk9b0wy.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/lua51-sys-81d9df693969b00c/out" "-L" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-llua" "-Wl,--no-whole-archive" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-6805c615af620a51.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-975e251edec7895a.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-fa89c22811cbba70.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-8e79a065fef863f3.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-a68d66da01a6ed2b.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-5989bcf78182f65e.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4d6da34bc177af8d.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-10e0d6c948699482.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-c2318e2415657781.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-3815b93ed84badbb.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-d7999143d95238cb.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58298a0d40df8b8.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-b7de97e2ba6fb4e2.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-6f71c9f654d72cce.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-95ea48ddc44a311b.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-7402cd4761aebc14.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-68f423c59dc48a40.rlib" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-54580c7798bf2225.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/03a1ea71b075ab964b5278bc6e74cd6c52c36ee0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-95a4d456339b7385.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-81d9df693969b00c/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-262394560b447b4e.lua51_sys.ebpez2ks-cgu.1.rcgu.o:lua51_sys.ebpez2ks-cgu.1:(.text.main+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-81d9df693969b00c/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-262394560b447b4e.lua51_sys.ebpez2ks-cgu.1.rcgu.o:lua51_sys.ebpez2ks-cgu.1:(.text.main+0x0): first defined here [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/build/lua51-sys-81d9df693969b00c/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 [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b772033216902cb5ef594f5d4f77f355036ab2f09c743843cd836d30a7310e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b772033216902cb5ef594f5d4f77f355036ab2f09c743843cd836d30a7310e37", kill_on_drop: false }` [INFO] [stdout] b772033216902cb5ef594f5d4f77f355036ab2f09c743843cd836d30a7310e37