[INFO] fetching crate lua51 0.1.6... [INFO] testing lua51-0.1.6 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate lua51 0.1.6 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate lua51 0.1.6 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lua51 0.1.6 [INFO] finished tweaking crates.io crate lua51 0.1.6 [INFO] tweaked toml for crates.io crate lua51 0.1.6 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0469017f41812d93b94b1edbb35d36a559b92668d0a5a0086d6c66ba867e2163 [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" "0469017f41812d93b94b1edbb35d36a559b92668d0a5a0086d6c66ba867e2163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0469017f41812d93b94b1edbb35d36a559b92668d0a5a0086d6c66ba867e2163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0469017f41812d93b94b1edbb35d36a559b92668d0a5a0086d6c66ba867e2163", kill_on_drop: false }` [INFO] [stdout] 0469017f41812d93b94b1edbb35d36a559b92668d0a5a0086d6c66ba867e2163 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74d645f13ac6ae060d64be072a2be6aef15ce15c70637d8c893b16d9367af721 [INFO] running `Command { std: "docker" "start" "-a" "74d645f13ac6ae060d64be072a2be6aef15ce15c70637d8c893b16d9367af721", kill_on_drop: false }` [INFO] [stderr] Compiling lua51 v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:66:89 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { ffi::lua::lua_getfield(self.state, index, std::ffi::CString::new(k).unwrap().as_ptr()); } [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:142:101 [INFO] [stdout] | [INFO] [stdout] 142 | unsafe { ffi::lua::lua_load(self.state, reader, data, std::ffi::CString::new(chunk_name).unwrap().as_ptr()) } [INFO] [stdout] | ------------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:194:85 [INFO] [stdout] | [INFO] [stdout] 194 | unsafe { ffi::lua::lua_pushlstring(self.state, std::ffi::CString::new(s).unwrap().as_ptr(), len); } [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:206:84 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe { ffi::lua::lua_pushstring(self.state, std::ffi::CString::new(s).unwrap().as_ptr()); } [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:238:85 [INFO] [stdout] | [INFO] [stdout] 238 | unsafe { ffi::lua::lua_register(self.state, std::ffi::CString::new(name).unwrap().as_ptr(), func); } [INFO] [stdout] | ------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:262:89 [INFO] [stdout] | [INFO] [stdout] 262 | unsafe { ffi::lua::lua_setfield(self.state, index, std::ffi::CString::new(k).unwrap().as_ptr()) } [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:338:89 [INFO] [stdout] | [INFO] [stdout] 338 | unsafe { ffi::lauxlib::luaL_loadstring(self.state, std::ffi::CString::new(s).unwrap().as_ptr()) } [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:342:92 [INFO] [stdout] | [INFO] [stdout] 342 | ...uxlib::luaL_loadbuffer(self.state, std::ffi::CString::new(buff).unwrap().as_ptr(), sz, std::ffi::CString::new(name).unwrap().as_ptr()) } [INFO] [stdout] | ------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:342:144 [INFO] [stdout] | [INFO] [stdout] 342 | ...::new(buff).unwrap().as_ptr(), sz, std::ffi::CString::new(name).unwrap().as_ptr()) } [INFO] [stdout] | ------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/wrapper/state.rs:346:87 [INFO] [stdout] | [INFO] [stdout] 346 | unsafe { ffi::lauxlib::luaL_dostring(self.state, std::ffi::CString::new(s).unwrap().as_ptr()) } [INFO] [stdout] | ---------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustc46akuI/list" "-m64" "/opt/rustwide/target/debug/deps/lua51.lua51.8850e513-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/lua51.81n16epcvka9o9f.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/workdir/lua/src" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-llua" "-Wl,--no-whole-archive" "/opt/rustwide/target/debug/deps/liblibc-91d257e9eed50cc0.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7387d118fba15d64.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dd8bf3fda2fc2c51.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b69fd8507c8409af.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-2dff396b99681a6b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a78bd5aa183c7115.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-846c64d5a2fbc5ee.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-24c09062b6dc787b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ce93f351ca41a57b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e42af02528f038fc.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-514cb174319eb6d4.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-37c1534c42bc4f8c.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-06d0f7780fda2fd9.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4228e28a8f7a03ba.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-88bb1ba4dd271224.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0b5a376b429677a6.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-eecefd843a0dbc02.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/liblua51.so" "-Wl,--gc-sections" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -llua [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lua51` due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74d645f13ac6ae060d64be072a2be6aef15ce15c70637d8c893b16d9367af721", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d645f13ac6ae060d64be072a2be6aef15ce15c70637d8c893b16d9367af721", kill_on_drop: false }` [INFO] [stdout] 74d645f13ac6ae060d64be072a2be6aef15ce15c70637d8c893b16d9367af721