[INFO] fetching crate rusty-hook 0.11.2...
[INFO] testing rusty-hook-0.11.2 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] extracting crate rusty-hook 0.11.2 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate rusty-hook 0.11.2
[INFO] finished tweaking crates.io crate rusty-hook 0.11.2
[INFO] tweaked toml for crates.io crate rusty-hook 0.11.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rusty-hook 0.11.2 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rusty-hook 0.11.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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-width v0.1.5
[INFO] [stderr]   Downloaded indexmap v1.0.2
[INFO] [stderr]   Downloaded nias v0.5.0
[INFO] [stderr]   Downloaded envmnt v0.8.0
[INFO] [stderr]   Downloaded ci_info v0.10.1
[INFO] [stderr]   Downloaded serde v1.0.98
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4d640455a0e6d2e0ef0c8d3a82a7e6f7c58d227aa4ab4ca19d32db74de628053
[INFO] running `Command { std: "docker" "start" "-a" "4d640455a0e6d2e0ef0c8d3a82a7e6f7c58d227aa4ab4ca19d32db74de628053", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d640455a0e6d2e0ef0c8d3a82a7e6f7c58d227aa4ab4ca19d32db74de628053", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d640455a0e6d2e0ef0c8d3a82a7e6f7c58d227aa4ab4ca19d32db74de628053", kill_on_drop: false }`
[INFO] [stdout] 4d640455a0e6d2e0ef0c8d3a82a7e6f7c58d227aa4ab4ca19d32db74de628053
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7403d84fda6faa8991b6e7ce60058e8f2af28f32c1b30dbd5f596885a17713f1
[INFO] running `Command { std: "docker" "start" "-a" "7403d84fda6faa8991b6e7ce60058e8f2af28f32c1b30dbd5f596885a17713f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.98
[INFO] [stderr]    Compiling indexmap v1.0.2
[INFO] [stderr]    Compiling nias v0.5.0
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling envmnt v0.8.0
[INFO] [stderr]    Compiling ci_info v0.10.1
[INFO] [stderr]    Compiling toml v0.5.6
[INFO] [stderr]    Compiling rusty-hook v0.11.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `config::NO_CONFIG_FILE_FOUND`
[INFO] [stdout]  --> src/rusty_hook.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use config::NO_CONFIG_FILE_FOUND;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `git::NO_CONFIG_FILE_FOUND_ERROR_CODE`
[INFO] [stdout]  --> src/rusty_hook.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use git::NO_CONFIG_FILE_FOUND_ERROR_CODE;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.81s
[INFO] running `Command { std: "docker" "inspect" "7403d84fda6faa8991b6e7ce60058e8f2af28f32c1b30dbd5f596885a17713f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7403d84fda6faa8991b6e7ce60058e8f2af28f32c1b30dbd5f596885a17713f1", kill_on_drop: false }`
[INFO] [stdout] 7403d84fda6faa8991b6e7ce60058e8f2af28f32c1b30dbd5f596885a17713f1
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfd874e6f979c055e92e9f1e69acdac70691d05d435661d35ef9f0e5d10021d2
[INFO] running `Command { std: "docker" "start" "-a" "bfd874e6f979c055e92e9f1e69acdac70691d05d435661d35ef9f0e5d10021d2", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `config::NO_CONFIG_FILE_FOUND`
[INFO] [stdout]  --> src/rusty_hook.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use config::NO_CONFIG_FILE_FOUND;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `git::NO_CONFIG_FILE_FOUND_ERROR_CODE`
[INFO] [stdout]  --> src/rusty_hook.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub use git::NO_CONFIG_FILE_FOUND_ERROR_CODE;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rusty-hook v0.11.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s
[INFO] running `Command { std: "docker" "inspect" "bfd874e6f979c055e92e9f1e69acdac70691d05d435661d35ef9f0e5d10021d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfd874e6f979c055e92e9f1e69acdac70691d05d435661d35ef9f0e5d10021d2", kill_on_drop: false }`
[INFO] [stdout] bfd874e6f979c055e92e9f1e69acdac70691d05d435661d35ef9f0e5d10021d2
[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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9a39c1d3f71dedfbc8deb4bf401afc0b8215e521ab35e3114e4a797dd5914de1
[INFO] running `Command { std: "docker" "start" "-a" "9a39c1d3f71dedfbc8deb4bf401afc0b8215e521ab35e3114e4a797dd5914de1", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `config::NO_CONFIG_FILE_FOUND`
[INFO] [stderr]  --> src/rusty_hook.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub use config::NO_CONFIG_FILE_FOUND;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `git::NO_CONFIG_FILE_FOUND_ERROR_CODE`
[INFO] [stderr]  --> src/rusty_hook.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub use git::NO_CONFIG_FILE_FOUND_ERROR_CODE;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rusty-hook` (build script) generated 2 warnings
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rusty_hook-0ced50660852611c)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_hook-ed5ac0ed92d304c2)
[INFO] [stdout] 
[INFO] [stdout] running 52 tests
[INFO] [stdout] test rusty_hook::config::config_tests::create_config_file_tests::creates_specified_config_when_valid ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::create_config_file_tests::returns_error_on_io_error ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::create_default_config_file_tests::creates_config_with_default_name ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::find_config_file_tests::returns_error_on_io_error ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_config_file_contents_tests::fails_on_config_file_not_found ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_config_file_contents_tests::fails_on_config_file_read_error ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_hook_script_tests::returns_err_when_content_not_found ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_hook_script_tests::returns_err_when_hook_not_string ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::find_config_file_tests::returns_correct_message_on_no_file_found ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::create_config_file_tests::creates_default_when_specified_file_invalid ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_config_file_contents_tests::returns_contents_on_success ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_hook_script_tests::returns_result_when_value_valid ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_log_setting_tests::returns_true_when_log_not_boolean ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_log_setting_tests::returns_result_when_value_valid ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_table_key_value_from_config::parses_hook_value ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_table_key_value_from_config::handles_missing_table_key ... ok
[INFO] [stdout] test rusty_hook::git::git_tests::get_root_directory_path_tests::returns_error_on_command_error ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_log_setting_tests::returns_true_when_content_not_found ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_table_key_value_from_config::handles_missing_table ... ok
[INFO] [stdout] test rusty_hook::git::git_tests::get_root_directory_path_tests::uses_git_rev_parse_top_level_command ... ok
[INFO] [stdout] test rusty_hook::git::git_tests::setup_hooks_tests::errors_when_hook_write_fails ... ok
[INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::constants_tests::should_use_correct_hook_names ... ok
[INFO] [stdout] test rusty_hook::git::git_tests::setup_hooks_tests::errors_when_hooks_directory_unknown ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_table_key_value_from_config::handles_invalid_toml ... ok
[INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::create_hook_files_tests::errors_when_cli_script_write_fails ... ok
[INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::create_hook_files_tests::creates_all_hooks ... ok
[INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::get_cli_script_file_contents_tests::provides_correct_cli_script_file_contents ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::create_config_file_tests::returns_empty_when_config_exists ... ok
[INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::create_hook_files_tests::errors_when_semver_script_write_fails ... ok
[INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::create_hook_files_tests::errors_when_hook_write_fails ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::create_config_file_tests::returns_error_when_write_fails ... ok
[INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::get_hook_file_contents_tests::provides_correct_hook_file_contents ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::find_config_file_tests::returns_correct_path_when_file_found ... ok
[INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::get_semver_script_file_contents_tests::provides_correct_semver_script_file_contents ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::init_directory_tests::should_return_error_when_hook_creation_fails ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::init_directory_tests::returns_error_when_root_directory_detect_fails ... ok
[INFO] [stdout] test rusty_hook::git::git_tests::get_hooks_directory_tests::returns_error_on_command_error ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::init_directory_tests::should_return_error_when_config_creation_fails ... ok
[INFO] [stdout] test rusty_hook::git::git_tests::setup_hooks_tests::creates_all_hooks ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::init_directory_tests::should_return_ok_on_success ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_error_when_config_file_missing ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_error_when_root_directory_detect_fails ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_ok_when_hook_missing ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::does_not_log_details_when_disabled ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::logs_details_when_enabled ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_ok_when_script_succeeds ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::init_tests::invokes_init_directory_with_cwd ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_err_when_script_fails ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_error_on_invalid_config ... ok
[INFO] [stdout] test rusty_hook::git::git_tests::get_hooks_directory_tests::uses_git_hooks_path_command ... ok
[INFO] [stdout] test rusty_hook::config::config_tests::get_config_file_contents_tests::fails_on_config_file_search_error ... ok
[INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_error_when_config_contents_unloadable ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rusty_hook
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "9a39c1d3f71dedfbc8deb4bf401afc0b8215e521ab35e3114e4a797dd5914de1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a39c1d3f71dedfbc8deb4bf401afc0b8215e521ab35e3114e4a797dd5914de1", kill_on_drop: false }`
[INFO] [stdout] 9a39c1d3f71dedfbc8deb4bf401afc0b8215e521ab35e3114e4a797dd5914de1
