[INFO] cloning repository https://github.com/akr4/git-hooks-dispatch
[INFO] running `"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"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fgit-hooks-dispatch'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] d874e7352d24ce8e2e6fb4c5ea297b59254d36b8
[INFO] testing akr4/git-hooks-dispatch against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakr4%2Fgit-hooks-dispatch" "/workspace/builds/worker-1-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/akr4/git-hooks-dispatch on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/akr4/git-hooks-dispatch already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tempdir v0.3.7
[INFO] [stderr]   Downloaded proc-macro2 v1.0.29
[INFO] [stderr]   Downloaded structopt-derive v0.4.16
[INFO] [stderr]   Downloaded structopt v0.3.23
[INFO] [stderr]   Downloaded predicates-tree v1.0.3
[INFO] [stderr]   Downloaded treeline v0.1.0
[INFO] [stderr]   Downloaded predicates-core v1.0.2
[INFO] [stderr]   Downloaded openssl-probe v0.1.4
[INFO] [stderr]   Downloaded downcast v0.10.0
[INFO] [stderr]   Downloaded float-cmp v0.8.0
[INFO] [stderr]   Downloaded mockall_derive v0.10.2
[INFO] [stderr]   Downloaded fragile v1.0.0
[INFO] [stderr]   Downloaded mockall v0.10.2
[INFO] [stderr]   Downloaded colored v2.0.0
[INFO] [stderr]   Downloaded predicates v1.0.8
[INFO] [stderr]   Downloaded anyhow v1.0.43
[INFO] [stderr]   Downloaded openssl-sys v0.9.66
[INFO] [stderr]   Downloaded difference v2.0.0
[INFO] [stderr]   Downloaded git2 v0.13.21
[INFO] [stderr]   Downloaded libc v0.2.101
[INFO] [stderr]   Downloaded libssh2-sys v0.2.21
[INFO] [stderr]   Downloaded libz-sys v1.1.3
[INFO] [stderr]   Downloaded libgit2-sys v0.12.22+1.1.0
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3
[INFO] running `"docker" "start" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3"`
[INFO] running `"docker" "inspect" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling syn v1.0.75
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling unicode-bidi v0.3.6
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling tinyvec v1.3.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling anyhow v1.0.43
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling cc v1.0.69
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[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 url v2.2.2
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling env_logger v0.9.0
[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.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]     Finished `release` profile [optimized] target(s) in 1m 16s
[INFO] running `"docker" "inspect" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling predicates-core v1.0.2
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling treeline v0.1.0
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling downcast v0.10.0
[INFO] [stderr]    Compiling mockall_derive v0.10.2
[INFO] [stderr]    Compiling fragile v1.0.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling predicates-tree v1.0.3
[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.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 `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 `release` profile [optimized] target(s) in 6.03s
[INFO] running `"docker" "inspect" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "test" "--frozen" "--release"`
[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" -p git-hooks-dispatch --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/git-hooks-dispatch/9efd9dffa2db729d/out/git_hooks_dispatch-9efd9dffa2db729d)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test run::tests::should_exit_if_hook_exit_with_error ... ok
[INFO] [stdout] test run::tests::should_run_hook_once ... ok
[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_recursively ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3"`
[INFO] running `"docker" "rm" "-f" "ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3"`
[INFO] [stdout] ea2f4846d4b43c3314c492ce3bd466ee006450e7d254d7e510ce33c22a7458f3
