[INFO] updating cached repository https://github.com/swellaby/rusty-hook [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] [stderr] From https://github.com/swellaby/rusty-hook [INFO] [stderr] - [deleted] (none) -> tarpaulin-updates [INFO] [stderr] 032d0a2..6efc562 master -> master [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 6efc56256427c5e6c4c2af9e0bfaad7af944d37a [INFO] testing swellaby/rusty-hook against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswellaby%2Frusty-hook" "work/builds/worker-5/source"` [INFO] [stderr] Cloning into 'work/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swellaby/rusty-hook on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/swellaby/rusty-hook [INFO] finished tweaking git repo https://github.com/swellaby/rusty-hook [INFO] tweaked toml for git repo https://github.com/swellaby/rusty-hook written to work/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/swellaby/rusty-hook already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 2f37c595502d1bdffcde8c7ad20928f0d4e85206920326b791b936ad07116bd0 [INFO] running `"docker" "start" "-a" "2f37c595502d1bdffcde8c7ad20928f0d4e85206920326b791b936ad07116bd0"` [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling nias v0.4.0 [INFO] [stderr] Compiling envmnt v0.7.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling ci_info v0.8.1 [INFO] [stderr] Compiling toml v0.5.3 [INFO] [stderr] Compiling rusty-hook v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.32s [INFO] running `"docker" "inspect" "2f37c595502d1bdffcde8c7ad20928f0d4e85206920326b791b936ad07116bd0"` [INFO] running `"docker" "rm" "-f" "2f37c595502d1bdffcde8c7ad20928f0d4e85206920326b791b936ad07116bd0"` [INFO] [stdout] 2f37c595502d1bdffcde8c7ad20928f0d4e85206920326b791b936ad07116bd0 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] c08e8daea0799a4e22b45f358a057db842d7cd424836f34097f918eae76e06a5 [INFO] running `"docker" "start" "-a" "c08e8daea0799a4e22b45f358a057db842d7cd424836f34097f918eae76e06a5"` [INFO] [stderr] Compiling rusty-hook v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `"docker" "inspect" "c08e8daea0799a4e22b45f358a057db842d7cd424836f34097f918eae76e06a5"` [INFO] running `"docker" "rm" "-f" "c08e8daea0799a4e22b45f358a057db842d7cd424836f34097f918eae76e06a5"` [INFO] [stdout] c08e8daea0799a4e22b45f358a057db842d7cd424836f34097f918eae76e06a5 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] 5b029e76af99d23ecea1699fb40311581b99bee4d4d5284d4e742e07082d72c9 [INFO] running `"docker" "start" "-a" "5b029e76af99d23ecea1699fb40311581b99bee4d4d5284d4e742e07082d72c9"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_hook-1581494064555829 [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 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_hook-2ed8304680ea2a91 [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::creates_default_when_specified_file_invalid ... ok [INFO] [stdout] test rusty_hook::config::config_tests::create_config_file_tests::returns_empty_when_config_exists ... ok [INFO] [stdout] test rusty_hook::config::config_tests::create_config_file_tests::returns_error_when_write_fails ... 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_correct_message_on_no_file_found ... 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::find_config_file_tests::returns_correct_path_when_file_found ... 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_read_error ... 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::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::returns_contents_on_success ... 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::get_log_setting_tests::returns_result_when_value_valid ... 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_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_table_key_value_from_config::handles_invalid_toml ... 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_hooks_directory_tests::returns_error_on_command_error ... 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::git::git_tests::get_hooks_directory_tests::uses_git_hooks_path_command ... 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::setup_hooks_tests::errors_when_hooks_directory_unknown ... 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::config::config_tests::get_table_key_value_from_config::parses_hook_value ... 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::creates_all_hooks ... 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::git::hooks::hooks_tests::get_hook_file_contents_tests::provides_correct_hook_file_contents ... 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::rusty_hook_tests::init_directory_tests::returns_error_when_root_directory_detect_fails ... 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::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_config_creation_fails ... 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::errors_when_semver_script_write_fails ... 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_contents_unloadable ... ok [INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_error_on_invalid_config ... 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_error_when_config_file_missing ... 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_error_when_root_directory_detect_fails ... 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::returns_ok_when_hook_missing ... 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_ok_when_script_succeeds ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "5b029e76af99d23ecea1699fb40311581b99bee4d4d5284d4e742e07082d72c9"` [INFO] running `"docker" "rm" "-f" "5b029e76af99d23ecea1699fb40311581b99bee4d4d5284d4e742e07082d72c9"` [INFO] [stdout] 5b029e76af99d23ecea1699fb40311581b99bee4d4d5284d4e742e07082d72c9