[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 beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 63a0d192c2d082e4014dbc8e3174ef5449225a85394f749f5ff5baec31a23895 [INFO] running `"docker" "start" "-a" "63a0d192c2d082e4014dbc8e3174ef5449225a85394f749f5ff5baec31a23895"` [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.26s [INFO] running `"docker" "inspect" "63a0d192c2d082e4014dbc8e3174ef5449225a85394f749f5ff5baec31a23895"` [INFO] running `"docker" "rm" "-f" "63a0d192c2d082e4014dbc8e3174ef5449225a85394f749f5ff5baec31a23895"` [INFO] [stdout] 63a0d192c2d082e4014dbc8e3174ef5449225a85394f749f5ff5baec31a23895 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 6b5cdb6094d82b4d14dffc4695ffcb6c54539cef53cf4feb14bb9db4377d2751 [INFO] running `"docker" "start" "-a" "6b5cdb6094d82b4d14dffc4695ffcb6c54539cef53cf4feb14bb9db4377d2751"` [INFO] [stderr] Compiling rusty-hook v0.8.4 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.26s [INFO] running `"docker" "inspect" "6b5cdb6094d82b4d14dffc4695ffcb6c54539cef53cf4feb14bb9db4377d2751"` [INFO] running `"docker" "rm" "-f" "6b5cdb6094d82b4d14dffc4695ffcb6c54539cef53cf4feb14bb9db4377d2751"` [INFO] [stdout] 6b5cdb6094d82b4d14dffc4695ffcb6c54539cef53cf4feb14bb9db4377d2751 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-5/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/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" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 9d3f960159f78b4f8ab2f4727bba56163b0f29205a5a987c42169b976666de9f [INFO] running `"docker" "start" "-a" "9d3f960159f78b4f8ab2f4727bba56163b0f29205a5a987c42169b976666de9f"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/crater/target/debug/deps/rusty_hook-3cd25347526b61b1 [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-8d58f96ae58a49fa [INFO] [stdout] [INFO] [stdout] running 44 tests [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_on_io_error ... 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::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::find_config_file_tests::returns_correct_path_when_file_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_message_on_no_file_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_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_config_file_contents_tests::fails_on_config_file_search_error ... 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_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_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_table_key_value_from_config::handles_invalid_toml ... 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_key ... 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::git::git_tests::create_hook_files_tests::errors_when_hook_write_fails ... 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::get_hooks_directory_tests::returns_error_on_command_error ... ok [INFO] [stdout] test rusty_hook::git::git_tests::create_hook_files_tests::creates_all_hooks ... 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::create_hook_files_tests::errors_when_hooks_directory_unknown ... 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::create_hook_files_tests::should_use_correct_hook_names ... 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_ok_on_success ... 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::should_return_error_when_config_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::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_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::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_when_config_contents_unloadable ... 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_ok_when_script_succeeds ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 44 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" "9d3f960159f78b4f8ab2f4727bba56163b0f29205a5a987c42169b976666de9f"` [INFO] running `"docker" "rm" "-f" "9d3f960159f78b4f8ab2f4727bba56163b0f29205a5a987c42169b976666de9f"` [INFO] [stdout] 9d3f960159f78b4f8ab2f4727bba56163b0f29205a5a987c42169b976666de9f