[INFO] fetching crate rusty-hook 0.11.1... [INFO] testing rusty-hook-0.11.1 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate rusty-hook 0.11.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rusty-hook 0.11.1 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate rusty-hook 0.11.1 [INFO] finished tweaking crates.io crate rusty-hook 0.11.1 [INFO] tweaked toml for crates.io crate rusty-hook 0.11.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate rusty-hook 0.11.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 63bdafc9899be5b6b3bfc35dcc1da7159ab5bde37092719c8bda9fa83d2d2653 [INFO] running `"docker" "start" "-a" "63bdafc9899be5b6b3bfc35dcc1da7159ab5bde37092719c8bda9fa83d2d2653"` [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.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling rusty-hook v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.45s [INFO] running `"docker" "inspect" "63bdafc9899be5b6b3bfc35dcc1da7159ab5bde37092719c8bda9fa83d2d2653"` [INFO] running `"docker" "rm" "-f" "63bdafc9899be5b6b3bfc35dcc1da7159ab5bde37092719c8bda9fa83d2d2653"` [INFO] [stdout] 63bdafc9899be5b6b3bfc35dcc1da7159ab5bde37092719c8bda9fa83d2d2653 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b62eaddca231034fffb39c2d04231f67d8e2314e2eaf21dd064c1eef45402d6d [INFO] running `"docker" "start" "-a" "b62eaddca231034fffb39c2d04231f67d8e2314e2eaf21dd064c1eef45402d6d"` [INFO] [stderr] Compiling rusty-hook v0.11.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.21s [INFO] running `"docker" "inspect" "b62eaddca231034fffb39c2d04231f67d8e2314e2eaf21dd064c1eef45402d6d"` [INFO] running `"docker" "rm" "-f" "b62eaddca231034fffb39c2d04231f67d8e2314e2eaf21dd064c1eef45402d6d"` [INFO] [stdout] b62eaddca231034fffb39c2d04231f67d8e2314e2eaf21dd064c1eef45402d6d [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 24daf6b864e07496c341b30ecc4f782d005380afaca1018d882c0e515a0403f5 [INFO] running `"docker" "start" "-a" "24daf6b864e07496c341b30ecc4f782d005380afaca1018d882c0e515a0403f5"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_hook-10d33a6d9c8b2523 [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rusty_hook-7decf05f3c0bf1f0 [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] [stdout] [INFO] [stdout] running 52 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_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::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_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::find_config_file_tests::returns_correct_path_when_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_hook_script_tests::returns_err_when_hook_not_string ... 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_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_config_file_contents_tests::fails_on_config_file_not_found ... 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::find_config_file_tests::returns_error_on_io_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::git::git_tests::get_hooks_directory_tests::returns_error_on_command_error ... 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::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 ... 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::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_log_not_boolean ... 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::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::git_tests::setup_hooks_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::git::hooks::hooks_tests::get_hook_file_contents_tests::provides_correct_hook_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::git::hooks::hooks_tests::create_hook_files_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::hooks::hooks_tests::create_hook_files_tests::errors_when_semver_script_write_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::get_cli_script_file_contents_tests::provides_correct_cli_script_file_contents ... 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_on_invalid_config ... ok [INFO] [stdout] test rusty_hook::git::hooks::hooks_tests::create_hook_files_tests::creates_all_hooks ... 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::run_tests::does_not_log_details_when_disabled ... 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_err_when_script_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::returns_ok_when_script_succeeds ... 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] [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" "24daf6b864e07496c341b30ecc4f782d005380afaca1018d882c0e515a0403f5"` [INFO] running `"docker" "rm" "-f" "24daf6b864e07496c341b30ecc4f782d005380afaca1018d882c0e515a0403f5"` [INFO] [stdout] 24daf6b864e07496c341b30ecc4f782d005380afaca1018d882c0e515a0403f5