[INFO] cloning repository https://github.com/WilliamVenner/gluac-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WilliamVenner/gluac-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamVenner%2Fgluac-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamVenner%2Fgluac-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c64e1160f48f2830f705029b1a36b8303e2ab142 [INFO] checking WilliamVenner/gluac-rs/c64e1160f48f2830f705029b1a36b8303e2ab142 against master#f167efad2f51088d86180ee89177b3d7c9e7c2f5 for pr-129543 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWilliamVenner%2Fgluac-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WilliamVenner/gluac-rs on toolchain f167efad2f51088d86180ee89177b3d7c9e7c2f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WilliamVenner/gluac-rs [INFO] finished tweaking git repo https://github.com/WilliamVenner/gluac-rs [INFO] tweaked toml for git repo https://github.com/WilliamVenner/gluac-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WilliamVenner/gluac-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9fecc6d64a837b99df9c279a8ab55f0dfb009ba7c946084ceb5acf96991896d7 [INFO] running `Command { std: "docker" "start" "-a" "9fecc6d64a837b99df9c279a8ab55f0dfb009ba7c946084ceb5acf96991896d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9fecc6d64a837b99df9c279a8ab55f0dfb009ba7c946084ceb5acf96991896d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fecc6d64a837b99df9c279a8ab55f0dfb009ba7c946084ceb5acf96991896d7", kill_on_drop: false }` [INFO] [stdout] 9fecc6d64a837b99df9c279a8ab55f0dfb009ba7c946084ceb5acf96991896d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f167efad2f51088d86180ee89177b3d7c9e7c2f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75989751cbc694323548032116b409fdd19c06b7ff3b4d837c6691fa3f0f6fe2 [INFO] running `Command { std: "docker" "start" "-a" "75989751cbc694323548032116b409fdd19c06b7ff3b4d837c6691fa3f0f6fe2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking gluac-rs v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tests::*` [INFO] [stdout] --> src/tests/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use tests::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/api.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 65 | / std::ffi::CString::new($str) [INFO] [stdout] 66 | | .expect("Tried to create a Lua string from a string that contained a NUL byte (\\0)!") [INFO] [stdout] | |__________________________________________________________________________________________________- this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] 67 | .as_ptr() [INFO] [stdout] | ^^^^^^ this pointer will be invalid [INFO] [stdout] | [INFO] [stdout] ::: src/tests/tests.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | / lua_string!(std::path::PathBuf::from(env!("CARGO_MANIFEST_DIR")) [INFO] [stdout] 57 | | .join("src/tests/hello_world.lua") [INFO] [stdout] 58 | | .to_string_lossy() [INFO] [stdout] 59 | | .to_string()), [INFO] [stdout] | |_____________________________- in this macro invocation [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] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lua_string` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.03s [INFO] running `Command { std: "docker" "inspect" "75989751cbc694323548032116b409fdd19c06b7ff3b4d837c6691fa3f0f6fe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75989751cbc694323548032116b409fdd19c06b7ff3b4d837c6691fa3f0f6fe2", kill_on_drop: false }` [INFO] [stdout] 75989751cbc694323548032116b409fdd19c06b7ff3b4d837c6691fa3f0f6fe2