[INFO] updating cached repository swellaby/rusty-hook [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/swellaby/rusty-hook [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/swellaby/rusty-hook" "work/ex/beta-1.38-1/sources/1.37.0/gh/swellaby/rusty-hook"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/swellaby/rusty-hook'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/swellaby/rusty-hook" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/swellaby/rusty-hook"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/swellaby/rusty-hook'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b7379cc2283dcaedacb6468604eb6c84be07c553 [INFO] sha for GitHub repo swellaby/rusty-hook: b7379cc2283dcaedacb6468604eb6c84be07c553 [INFO] validating manifest of swellaby/rusty-hook on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of swellaby/rusty-hook on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing swellaby/rusty-hook [INFO] finished frobbing swellaby/rusty-hook [INFO] frobbed toml for swellaby/rusty-hook written to work/ex/beta-1.38-1/sources/1.37.0/gh/swellaby/rusty-hook/Cargo.toml [INFO] started frobbing swellaby/rusty-hook [INFO] finished frobbing swellaby/rusty-hook [INFO] frobbed toml for swellaby/rusty-hook written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/swellaby/rusty-hook/Cargo.toml [INFO] crate swellaby/rusty-hook already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing swellaby/rusty-hook against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/swellaby/rusty-hook:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] cf07c8af2dd5effe03a4f3af68e0e60a133e6f1e7bef84605396c7632ff46209 [INFO] running `"docker" "start" "-a" "cf07c8af2dd5effe03a4f3af68e0e60a133e6f1e7bef84605396c7632ff46209"` [INFO] [stderr] Compiling envmnt v0.6.0 [INFO] [stderr] Compiling toml v0.5.1 [INFO] [stderr] Compiling ci_info v0.7.1 [INFO] [stderr] Compiling rusty-hook v0.8.4 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.13s [INFO] running `"docker" "inspect" "cf07c8af2dd5effe03a4f3af68e0e60a133e6f1e7bef84605396c7632ff46209"` [INFO] running `"docker" "rm" "-f" "cf07c8af2dd5effe03a4f3af68e0e60a133e6f1e7bef84605396c7632ff46209"` [INFO] [stdout] cf07c8af2dd5effe03a4f3af68e0e60a133e6f1e7bef84605396c7632ff46209 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/swellaby/rusty-hook:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] cbe24f101abc55342db53e9e53ec8c3ade7720f54d2190422e33e94b1662c8d6 [INFO] running `"docker" "start" "-a" "cbe24f101abc55342db53e9e53ec8c3ade7720f54d2190422e33e94b1662c8d6"` [INFO] [stderr] Compiling rusty-hook v0.8.4 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.05s [INFO] running `"docker" "inspect" "cbe24f101abc55342db53e9e53ec8c3ade7720f54d2190422e33e94b1662c8d6"` [INFO] running `"docker" "rm" "-f" "cbe24f101abc55342db53e9e53ec8c3ade7720f54d2190422e33e94b1662c8d6"` [INFO] [stdout] cbe24f101abc55342db53e9e53ec8c3ade7720f54d2190422e33e94b1662c8d6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/swellaby/rusty-hook:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 0189ce44435efed0f465e0f434854109b7f5bf09a225d097cb626bbe51f7f156 [INFO] running `"docker" "start" "-a" "0189ce44435efed0f465e0f434854109b7f5bf09a225d097cb626bbe51f7f156"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/crater/target/debug/deps/rusty_hook-d73165bfbd8d1307 [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/crater/target/debug/deps/rusty_hook-fe972c57ffb00fd1 [INFO] [stdout] [INFO] [stdout] running 44 tests [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::creates_specified_config_when_valid ... 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::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::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_path_when_file_found ... 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_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::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_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_log_setting_tests::returns_result_when_value_valid ... 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_table_key_value_from_config::handles_missing_table ... 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::git::git_tests::create_hook_files_tests::errors_when_hook_write_fails ... 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::git_tests::create_hook_files_tests::should_use_correct_hook_names ... ok [INFO] [stdout] test rusty_hook::git::git_tests::create_hook_files_tests::errors_when_hooks_directory_unknown ... ok [INFO] [stdout] test rusty_hook::git::git_tests::get_hooks_directory_tests::uses_git_hooks_path_command ... 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::returns_error_on_command_error ... 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::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_config_creation_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::rusty_hook_tests::init_tests::invokes_init_directory_with_cwd ... 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::does_not_log_details_when_disabled ... 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::rusty_hook_tests::run_tests::logs_details_when_enabled ... 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::create_hook_files_tests::creates_all_hooks ... 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::rusty_hook_tests::run_tests::returns_ok_when_script_succeeds ... ok [INFO] [stdout] test rusty_hook::rusty_hook_tests::run_tests::returns_err_when_script_fails ... ok [INFO] [stderr] Doc-tests rusty-hook [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_error_when_config_contents_unloadable ... 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_error_on_invalid_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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" "0189ce44435efed0f465e0f434854109b7f5bf09a225d097cb626bbe51f7f156"` [INFO] running `"docker" "rm" "-f" "0189ce44435efed0f465e0f434854109b7f5bf09a225d097cb626bbe51f7f156"` [INFO] [stdout] 0189ce44435efed0f465e0f434854109b7f5bf09a225d097cb626bbe51f7f156