[INFO] fetching crate git-hooks-dispatch 0.4.2... [INFO] testing git-hooks-dispatch-0.4.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate git-hooks-dispatch 0.4.2 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate git-hooks-dispatch 0.4.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall v0.10.2 [INFO] [stderr] Downloaded fragile v1.0.0 [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded mockall_derive v0.10.2 [INFO] [stderr] Downloaded tinyvec v1.3.1 [INFO] [stderr] Downloaded openssl-sys v0.9.66 [INFO] [stderr] Downloaded anyhow v1.0.43 [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded cc v1.0.69 [INFO] [stderr] Downloaded git2 v0.13.21 [INFO] [stderr] Downloaded libgit2-sys v0.12.22+1.1.0 [INFO] [stderr] Downloaded libssh2-sys v0.2.21 [INFO] [stderr] Downloaded libz-sys v1.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29402fb26b2936901351d2030168853bf7cf67e6d9838febc5da65a7ad51fe6e [INFO] running `Command { std: "docker" "start" "-a" "29402fb26b2936901351d2030168853bf7cf67e6d9838febc5da65a7ad51fe6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29402fb26b2936901351d2030168853bf7cf67e6d9838febc5da65a7ad51fe6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29402fb26b2936901351d2030168853bf7cf67e6d9838febc5da65a7ad51fe6e", kill_on_drop: false }` [INFO] [stdout] 29402fb26b2936901351d2030168853bf7cf67e6d9838febc5da65a7ad51fe6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d860f7f4e94f27e659011d3d88ae1a71e2f0cda4f7833f9650ce1aa17f74c7c9 [INFO] running `Command { std: "docker" "start" "-a" "d860f7f4e94f27e659011d3d88ae1a71e2f0cda4f7833f9650ce1aa17f74c7c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.22+1.1.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Compiling structopt v0.3.23 [INFO] [stderr] Compiling git2 v0.13.21 [INFO] [stderr] Compiling git-hooks-dispatch v0.4.2 (/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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.65s [INFO] running `Command { std: "docker" "inspect" "d860f7f4e94f27e659011d3d88ae1a71e2f0cda4f7833f9650ce1aa17f74c7c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d860f7f4e94f27e659011d3d88ae1a71e2f0cda4f7833f9650ce1aa17f74c7c9", kill_on_drop: false }` [INFO] [stdout] d860f7f4e94f27e659011d3d88ae1a71e2f0cda4f7833f9650ce1aa17f74c7c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 143b67a1f3837b568422c8862ca3e8201d92426cb2bec79b024828f068d7c013 [INFO] running `Command { std: "docker" "start" "-a" "143b67a1f3837b568422c8862ca3e8201d92426cb2bec79b024828f068d7c013", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling mockall v0.10.2 [INFO] [stderr] Compiling git-hooks-dispatch v0.4.2 (/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 `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 `test` profile [unoptimized + debuginfo] target(s) in 7.29s [INFO] running `Command { std: "docker" "inspect" "143b67a1f3837b568422c8862ca3e8201d92426cb2bec79b024828f068d7c013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143b67a1f3837b568422c8862ca3e8201d92426cb2bec79b024828f068d7c013", kill_on_drop: false }` [INFO] [stdout] 143b67a1f3837b568422c8862ca3e8201d92426cb2bec79b024828f068d7c013 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cca5bf34196007600a479618f5a4a3e3ff6a494cc5df1f6749d609890e830d50 [INFO] running `Command { std: "docker" "start" "-a" "cca5bf34196007600a479618f5a4a3e3ff6a494cc5df1f6749d609890e830d50", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/run.rs:49:56 [INFO] [stderr] | [INFO] [stderr] 49 | let repo = git2::Repository::open(repo_dir.as_ref().clone()).unwrap(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 49 - let repo = git2::Repository::open(repo_dir.as_ref().clone()).unwrap(); [INFO] [stderr] 49 + let repo = git2::Repository::open(repo_dir.as_ref()).unwrap(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `git-hooks-dispatch` (bin "git-hooks-dispatch" test) generated 1 warning (run `cargo fix --bin "git-hooks-dispatch" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/git_hooks_dispatch-5634069af943d64e) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test run::tests::should_run_hook ... ok [INFO] [stdout] test run::tests::should_not_execute_hook_in_root_directory ... ok [INFO] [stdout] test run::tests::should_run_hook_once ... ok [INFO] [stdout] test run::tests::should_exit_if_hook_exit_with_error ... ok [INFO] [stdout] test run::tests::should_run_hook_recursively ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cca5bf34196007600a479618f5a4a3e3ff6a494cc5df1f6749d609890e830d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca5bf34196007600a479618f5a4a3e3ff6a494cc5df1f6749d609890e830d50", kill_on_drop: false }` [INFO] [stdout] cca5bf34196007600a479618f5a4a3e3ff6a494cc5df1f6749d609890e830d50