[INFO] fetching crate unrar_sys 0.2.1... [INFO] checking unrar_sys-0.2.1 against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] extracting crate unrar_sys 0.2.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate unrar_sys 0.2.1 on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate unrar_sys 0.2.1 [INFO] finished tweaking crates.io crate unrar_sys 0.2.1 [INFO] tweaked toml for crates.io crate unrar_sys 0.2.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate crates.io crate unrar_sys 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb1f897c06aac68a5a99a3f664ff0ccd83703252b2a80096d22088e2cd83629b [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" "fb1f897c06aac68a5a99a3f664ff0ccd83703252b2a80096d22088e2cd83629b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb1f897c06aac68a5a99a3f664ff0ccd83703252b2a80096d22088e2cd83629b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb1f897c06aac68a5a99a3f664ff0ccd83703252b2a80096d22088e2cd83629b", kill_on_drop: false }` [INFO] [stdout] fb1f897c06aac68a5a99a3f664ff0ccd83703252b2a80096d22088e2cd83629b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c236ed92d45db371119ec10ecc90c4ea69237b8709c80be7776dc8687191488 [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" "6c236ed92d45db371119ec10ecc90c4ea69237b8709c80be7776dc8687191488", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling unrar_sys v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> examples/lister.rs:32:69 [INFO] [stdout] | [INFO] [stdout] 32 | let mut data = OpenArchiveData::new(CString::new(file).unwrap().as_ptr(), RAR_OM_LIST_INCSPLIT); [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.96s [INFO] running `Command { std: "docker" "inspect" "6c236ed92d45db371119ec10ecc90c4ea69237b8709c80be7776dc8687191488", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c236ed92d45db371119ec10ecc90c4ea69237b8709c80be7776dc8687191488", kill_on_drop: false }` [INFO] [stdout] 6c236ed92d45db371119ec10ecc90c4ea69237b8709c80be7776dc8687191488