[INFO] fetching crate git-hooks-dispatch 0.4.2... [INFO] checking git-hooks-dispatch-0.4.2 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate git-hooks-dispatch 0.4.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate git-hooks-dispatch 0.4.2 on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate git-hooks-dispatch 0.4.2 [INFO] finished tweaking crates.io crate git-hooks-dispatch 0.4.2 [INFO] tweaked toml for crates.io crate git-hooks-dispatch 0.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate git-hooks-dispatch 0.4.2 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d8f09142d5ea7b758294d5e2ead79d330ac65cc892fa482a5213f6d7ee1ffbc [INFO] running `Command { std: "docker" "start" "-a" "8d8f09142d5ea7b758294d5e2ead79d330ac65cc892fa482a5213f6d7ee1ffbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d8f09142d5ea7b758294d5e2ead79d330ac65cc892fa482a5213f6d7ee1ffbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8f09142d5ea7b758294d5e2ead79d330ac65cc892fa482a5213f6d7ee1ffbc", kill_on_drop: false }` [INFO] [stdout] 8d8f09142d5ea7b758294d5e2ead79d330ac65cc892fa482a5213f6d7ee1ffbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e16f348dbf9990bd33cb383d7c27ab01b463ea51290c36a22dae28d07d241f2 [INFO] running `Command { std: "docker" "start" "-a" "3e16f348dbf9990bd33cb383d7c27ab01b463ea51290c36a22dae28d07d241f2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking predicates-tree v1.0.3 [INFO] [stderr] Checking fragile v1.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [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 colored v2.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.5.4 [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 url v2.2.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking predicates v1.0.8 [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.2 (/opt/rustwide/workdir) [INFO] [stdout] error: 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] | ^^^^^^^^ unnecessary method call [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: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `git-hooks-dispatch` (bin "git-hooks-dispatch") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3e16f348dbf9990bd33cb383d7c27ab01b463ea51290c36a22dae28d07d241f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e16f348dbf9990bd33cb383d7c27ab01b463ea51290c36a22dae28d07d241f2", kill_on_drop: false }` [INFO] [stdout] 3e16f348dbf9990bd33cb383d7c27ab01b463ea51290c36a22dae28d07d241f2