[INFO] cloning repository https://github.com/DrDarkfire/command-line-plus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DrDarkfire/command-line-plus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrDarkfire%2Fcommand-line-plus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrDarkfire%2Fcommand-line-plus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 195cd9a41db1ed9adde25c16b5c0bc0bfe5c2879 [INFO] checking DrDarkfire/command-line-plus against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDrDarkfire%2Fcommand-line-plus" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DrDarkfire/command-line-plus [INFO] finished tweaking git repo https://github.com/DrDarkfire/command-line-plus [INFO] tweaked toml for git repo https://github.com/DrDarkfire/command-line-plus written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DrDarkfire/command-line-plus on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/DrDarkfire/command-line-plus 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d1aadd65c19de129b17c5c696aeb6bd6037ed9c9d8b9de3c32e4a097209d7b2 [INFO] running `Command { std: "docker" "start" "-a" "4d1aadd65c19de129b17c5c696aeb6bd6037ed9c9d8b9de3c32e4a097209d7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d1aadd65c19de129b17c5c696aeb6bd6037ed9c9d8b9de3c32e4a097209d7b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d1aadd65c19de129b17c5c696aeb6bd6037ed9c9d8b9de3c32e4a097209d7b2", kill_on_drop: false }` [INFO] [stdout] 4d1aadd65c19de129b17c5c696aeb6bd6037ed9c9d8b9de3c32e4a097209d7b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1c60f8172d9e53b478a3f665dc45877642b1f824b4e185f1b40c2d34d509fda [INFO] running `Command { std: "docker" "start" "-a" "a1c60f8172d9e53b478a3f665dc45877642b1f824b4e185f1b40c2d34d509fda", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking command-line-plus v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&str` instead of dereferencing the inner type [INFO] [stdout] --> src/functions.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | let arg = args.first().unwrap().deref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/functions.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | if args.first().unwrap().deref() == ".." && !p.is_prefix() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Deref`, so calling `deref` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.deref()` on a double reference, which returns `&str` instead of dereferencing the inner type [INFO] [stdout] --> src/functions.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | let arg = args.first().unwrap().deref(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/functions.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | if args.first().unwrap().deref() == ".." && !p.is_prefix() { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Deref`, so calling `deref` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "a1c60f8172d9e53b478a3f665dc45877642b1f824b4e185f1b40c2d34d509fda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1c60f8172d9e53b478a3f665dc45877642b1f824b4e185f1b40c2d34d509fda", kill_on_drop: false }` [INFO] [stdout] a1c60f8172d9e53b478a3f665dc45877642b1f824b4e185f1b40c2d34d509fda