[INFO] fetching crate unrar_sys 0.2.1... [INFO] checking unrar_sys-0.2.1 against master#7f5a42b073dc2bee2aa625052eb066ee07072048 for pr-78991 [INFO] extracting crate unrar_sys 0.2.1 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate unrar_sys 0.2.1 on toolchain 7f5a42b073dc2bee2aa625052eb066ee07072048 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/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" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d202c1a02b111dcbd06d917e0fc3f3eef17566706c4296bf962468f7dc96b83f [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" "d202c1a02b111dcbd06d917e0fc3f3eef17566706c4296bf962468f7dc96b83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d202c1a02b111dcbd06d917e0fc3f3eef17566706c4296bf962468f7dc96b83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d202c1a02b111dcbd06d917e0fc3f3eef17566706c4296bf962468f7dc96b83f", kill_on_drop: false }` [INFO] [stdout] d202c1a02b111dcbd06d917e0fc3f3eef17566706c4296bf962468f7dc96b83f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "check" "--frozen" "--all" "--all-targets" "--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] aa3d69710f8ee5c94f9382776a2762b10a7792d244e1e47336343a6bcb19f942 [INFO] running `Command { std: "docker" "start" "-a" "aa3d69710f8ee5c94f9382776a2762b10a7792d244e1e47336343a6bcb19f942", kill_on_drop: false }` [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 27.84s [INFO] running `Command { std: "docker" "inspect" "aa3d69710f8ee5c94f9382776a2762b10a7792d244e1e47336343a6bcb19f942", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa3d69710f8ee5c94f9382776a2762b10a7792d244e1e47336343a6bcb19f942", kill_on_drop: false }` [INFO] [stdout] aa3d69710f8ee5c94f9382776a2762b10a7792d244e1e47336343a6bcb19f942