[INFO] cloning repository https://github.com/akr4/git-hooks-dispatch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akr4/git-hooks-dispatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fgit-hooks-dispatch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fgit-hooks-dispatch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d874e7352d24ce8e2e6fb4c5ea297b59254d36b8 [INFO] checking akr4/git-hooks-dispatch against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fgit-hooks-dispatch" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/akr4/git-hooks-dispatch [INFO] finished tweaking git repo https://github.com/akr4/git-hooks-dispatch [INFO] tweaked toml for git repo https://github.com/akr4/git-hooks-dispatch written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akr4/git-hooks-dispatch 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/akr4/git-hooks-dispatch 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3244c42e482c81a0814e38fec5cc0685a8d82ee257b031e0c6f10460f026da60 [INFO] running `Command { std: "docker" "start" "-a" "3244c42e482c81a0814e38fec5cc0685a8d82ee257b031e0c6f10460f026da60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3244c42e482c81a0814e38fec5cc0685a8d82ee257b031e0c6f10460f026da60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3244c42e482c81a0814e38fec5cc0685a8d82ee257b031e0c6f10460f026da60", kill_on_drop: false }` [INFO] [stdout] 3244c42e482c81a0814e38fec5cc0685a8d82ee257b031e0c6f10460f026da60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] fa7bbcc3f27b49d0129b289742cc64488dcea44ae18f9250af0562cb86b4f221 [INFO] running `Command { std: "docker" "start" "-a" "fa7bbcc3f27b49d0129b289742cc64488dcea44ae18f9250af0562cb86b4f221", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.22+1.1.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Checking git2 v0.13.21 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking git-hooks-dispatch v0.4.3-dev (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/run.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | let repo = git2::Repository::open(repo_dir.as_ref().clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 49 - let repo = git2::Repository::open(repo_dir.as_ref().clone()).unwrap(); [INFO] [stdout] 49 + let repo = git2::Repository::open(repo_dir.as_ref()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/run.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | let repo = git2::Repository::open(repo_dir.as_ref().clone()).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `std::path::Path` does not implement `Clone`, so calling `clone` on `&std::path::Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 49 - let repo = git2::Repository::open(repo_dir.as_ref().clone()).unwrap(); [INFO] [stdout] 49 + let repo = git2::Repository::open(repo_dir.as_ref()).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.13s [INFO] running `Command { std: "docker" "inspect" "fa7bbcc3f27b49d0129b289742cc64488dcea44ae18f9250af0562cb86b4f221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa7bbcc3f27b49d0129b289742cc64488dcea44ae18f9250af0562cb86b4f221", kill_on_drop: false }` [INFO] [stdout] fa7bbcc3f27b49d0129b289742cc64488dcea44ae18f9250af0562cb86b4f221