[INFO] fetching crate machine_setup 1.3.6... [INFO] testing machine_setup-1.3.6 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate machine_setup 1.3.6 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate machine_setup 1.3.6 [INFO] finished tweaking crates.io crate machine_setup 1.3.6 [INFO] tweaked toml for crates.io crate machine_setup 1.3.6 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate machine_setup 1.3.6 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate machine_setup 1.3.6 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a815f1effe2bb288d8e36e9f83654e677946b2bac00f7be9c455e9e7ca22a2b [INFO] running `Command { std: "docker" "start" "-a" "8a815f1effe2bb288d8e36e9f83654e677946b2bac00f7be9c455e9e7ca22a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a815f1effe2bb288d8e36e9f83654e677946b2bac00f7be9c455e9e7ca22a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a815f1effe2bb288d8e36e9f83654e677946b2bac00f7be9c455e9e7ca22a2b", kill_on_drop: false }` [INFO] [stdout] 8a815f1effe2bb288d8e36e9f83654e677946b2bac00f7be9c455e9e7ca22a2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22d15fd5561ec2595be7105e72b433d2b66e56b94bdce3c22c46b81e84f7a131 [INFO] running `Command { std: "docker" "start" "-a" "22d15fd5561ec2595be7105e72b433d2b66e56b94bdce3c22c46b81e84f7a131", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rustix v0.38.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling clap_builder v4.4.9 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling xattr v1.0.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling shellexpand v1.1.1 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling stfu8 v0.2.6 [INFO] [stderr] Compiling indicatif v0.17.7 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling git_commands v0.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling symlink v0.1.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling clap v4.4.10 [INFO] [stderr] Compiling clap_complete v4.4.4 [INFO] [stderr] Compiling machine_setup v1.3.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling path_abs v0.4.1 [INFO] [stderr] Compiling ergo_fs v0.2.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "22d15fd5561ec2595be7105e72b433d2b66e56b94bdce3c22c46b81e84f7a131", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d15fd5561ec2595be7105e72b433d2b66e56b94bdce3c22c46b81e84f7a131", kill_on_drop: false }` [INFO] [stdout] 22d15fd5561ec2595be7105e72b433d2b66e56b94bdce3c22c46b81e84f7a131 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf7e23ce0c20df70b3836d28c2d5467895971cea28c9a9281a11fc2f120b00bb [INFO] running `Command { std: "docker" "start" "-a" "cf7e23ce0c20df70b3836d28c2d5467895971cea28c9a9281a11fc2f120b00bb", kill_on_drop: false }` [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling machine_setup v1.3.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "cf7e23ce0c20df70b3836d28c2d5467895971cea28c9a9281a11fc2f120b00bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf7e23ce0c20df70b3836d28c2d5467895971cea28c9a9281a11fc2f120b00bb", kill_on_drop: false }` [INFO] [stdout] cf7e23ce0c20df70b3836d28c2d5467895971cea28c9a9281a11fc2f120b00bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6a4b727590555a37d16d57544dd13543fd9352e9596bde78897c971453948e9 [INFO] running `Command { std: "docker" "start" "-a" "c6a4b727590555a37d16d57544dd13543fd9352e9596bde78897c971453948e9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/machine_setup-a7e8f479fb82f366) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test commands::run::test::it_gets_commands_from_array ... ok [INFO] [stdout] test commands::run::test::it_gets_command_from_string ... ok [INFO] [stdout] test commands::run::test::it_gets_install_commands ... ok [INFO] [stdout] test commands::run::test::it_gets_uninstall_command_string ... ok [INFO] [stdout] test commands::run::test::it_gets_uninstall_commands ... ok [INFO] [stdout] test commands::run::test::it_gets_update_command_string ... ok [INFO] [stdout] test commands::run::test::it_gets_update_commands ... ok [INFO] [stdout] test commands::clone::test::test_remove_repository ... ok [INFO] [stdout] test commands::copy::test::it_fails_when_dirs_are_the_same ... ok [INFO] [stdout] test commands::copy::test::it_doesnt_remove_config_dir ... ok [INFO] [stdout] test commands::run::test::it_skips_command_when_method_is_not_defined ... ok [INFO] [stdout] test commands::symlink::test::it_fails_when_dirs_are_the_same ... ok [INFO] [stdout] test commands::symlink::test::it_overrides_file_with_symlink ... ok [INFO] [stdout] test commands::symlink::test::it_removes_symlink ... ok [INFO] [stdout] test commands::copy::test::it_copies_files ... ok [INFO] [stdout] test commands::run::test::it_gets_install_command_string ... ok [INFO] [stdout] test commands::symlink::test::it_symlinks_files ... ok [INFO] [stdout] test config::base_config::test::it_fails_if_no_default_config_is_found ... ok [INFO] [stdout] test config::base_config::test::it_finds_a_valid_config_file ... ok [INFO] [stdout] test config::json_config::test::it_fails_when_commands_are_not_a_list ... ok [INFO] [stdout] test config::json_config::test::it_fails_when_config_file_is_not_json ... ok [INFO] [stdout] test config::json_config::test::it_fails_when_tasks_are_not_defined ... ok [INFO] [stdout] test commands::copy::test::it_removes_dir ... ok [INFO] [stdout] test config::base_config::test::it_fails_if_no_valid_config_file_is_found ... ok [INFO] [stdout] test config::validation_rules::is_array::test::it_returns_true_when_value_is_none ... ok [INFO] [stdout] test config::validation_rules::is_bool::test::it_fails_when_input_is_not_a_boolean ... ok [INFO] [stdout] test config::validation_rules::is_bool::test::it_returns_true_when_value_is_a_string ... ok [INFO] [stdout] test config::validation_rules::is_bool::test::it_returns_true_when_value_is_none ... ok [INFO] [stdout] test config::validation_rules::is_string::test::it_fails_when_input_is_not_a_string ... ok [INFO] [stdout] test config::validation_rules::is_string::test::it_returns_true_when_value_is_a_string ... ok [INFO] [stdout] test config::validation_rules::is_string::test::it_returns_true_when_value_is_none ... ok [INFO] [stdout] test config::validation_rules::one_of::test::it_returns_false_if_no_rule_is_valid ... ok [INFO] [stdout] test config::validation_rules::one_of::test::it_returns_true_if_one_rule_is_valid ... ok [INFO] [stdout] test config::validation_rules::one_of::test::it_returns_true_when_value_is_none ... ok [INFO] [stdout] test config::validation_rules::required::test::it_fails_when_required_arg_is_a_bad_value ... ok [INFO] [stdout] test config::json_config::test::it_fails_when_config_file_is_missing ... ok [INFO] [stdout] test config::validation_rules::is_array::test::it_fails_when_required_arg_is_not_an_array ... ok [INFO] [stdout] test config::validation_rules::is_array::test::it_returns_ok_when_required_arg_is_an_array ... ok [INFO] [stdout] test config::validation_rules::required::test::it_fails_when_required_arg_is_empty ... ok [INFO] [stdout] test config::validation_rules::required::test::it_fails_when_required_arg_is_null ... ok [INFO] [stdout] test config::validator::test::it_returns_an_error_when_a_rule_is_failing ... ok [INFO] [stdout] test config::yaml_config::test::it_fails_when_config_file_is_not_yaml ... ok [INFO] [stdout] test config::validator::test::it_returns_ok_when_all_rules_pass ... ok [INFO] [stdout] test config::validation_rules::required::test::it_returns_ok_when_required_arg_is_present ... ok [INFO] [stdout] test config::yaml_config::test::it_fails_when_tasks_are_not_defined ... ok [INFO] [stdout] test config::yaml_config::test::it_fails_when_commands_are_not_defined ... ok [INFO] [stdout] test config::yaml_config::test::it_fails_when_config_file_is_missing ... ok [INFO] [stdout] test task::test::it_gets_list_of_tasks ... ok [INFO] [stdout] test task::test::it_only_runs_task_for_specific_os ... ok [INFO] [stdout] test task_runner::test::it_fails_when_the_task_doesnt_exist ... ok [INFO] [stdout] test commands::run::test::it_logs_command_errors ... ok [INFO] [stdout] test terminal::command::test::it_gets_task_from_args ... ok [INFO] [stdout] test terminal::command::test::it_fails_when_the_config_file_is_not_found ... ok [INFO] [stdout] test task_runner::test::it_prints_failing_tasks ... ok [INFO] [stdout] test terminal::command::test::it_uses_provided_task_name_instead_of_select ... ok [INFO] [stdout] test utils::directory::test::it_expands_str_to_path ... ok [INFO] [stdout] test terminal::command::test::it_gets_task_runner_mode ... ok [INFO] [stdout] test utils::directory::test::it_fails_when_dir_doesnt_exist ... ok [INFO] [stdout] test utils::directory::test::it_creates_intermediate_dirs_when_needed ... ok [INFO] [stdout] test commands::run::test::it_exits_with_error_code ... ok [INFO] [stdout] test task_runner::test::it_runs_single_task_when_argument_is_passed ... ok [INFO] [stdout] test utils::directory::test::it_returns_false_if_the_path_is_a_directory ... ok [INFO] [stdout] test utils::shell::test::it_creates_correct_bash_script_file ... ok [INFO] [stdout] test task_runner::test::it_runs_all_tasks_when_no_argument_is_passed ... ok [INFO] [stdout] test utils::directory::test::it_returns_true_if_the_path_is_a_file ... ok [INFO] [stdout] test utils::terminal::test::it_sets_environment_variables_correctly ... ok [INFO] [stdout] test utils::shell::test::it_replaces_unneeded_err_info ... ok [INFO] [stdout] test utils::shell::test::it_creates_correct_zsh_script_file ... ok [INFO] [stdout] test commands::run::test::it_runs_command ... ok [INFO] [stdout] test task_runner::test::it_runs_commands ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 70 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c6a4b727590555a37d16d57544dd13543fd9352e9596bde78897c971453948e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6a4b727590555a37d16d57544dd13543fd9352e9596bde78897c971453948e9", kill_on_drop: false }` [INFO] [stdout] c6a4b727590555a37d16d57544dd13543fd9352e9596bde78897c971453948e9