[INFO] cloning repository https://github.com/gregbell/hai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gregbell/hai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregbell%2Fhai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregbell%2Fhai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d627e03d8659ca1d2067459fbfbebbdafbefb12 [INFO] testing gregbell/hai against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregbell%2Fhai" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gregbell/hai [INFO] finished tweaking git repo https://github.com/gregbell/hai [INFO] tweaked toml for git repo https://github.com/gregbell/hai written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gregbell/hai on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gregbell/hai 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-trait v0.1.87 [INFO] [stderr] Downloaded cargo_toml v0.21.0 [INFO] [stderr] Downloaded ar v0.9.0 [INFO] [stderr] Downloaded tempfile v3.18.0 [INFO] [stderr] Downloaded linux-raw-sys v0.9.2 [INFO] [stderr] Downloaded cargo-deb v2.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a293622bf38e5237aebafaf02d61c907bdfba4a52be9b979f79b9107271a9b6b [INFO] running `Command { std: "docker" "start" "-a" "a293622bf38e5237aebafaf02d61c907bdfba4a52be9b979f79b9107271a9b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a293622bf38e5237aebafaf02d61c907bdfba4a52be9b979f79b9107271a9b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a293622bf38e5237aebafaf02d61c907bdfba4a52be9b979f79b9107271a9b6b", kill_on_drop: false }` [INFO] [stdout] a293622bf38e5237aebafaf02d61c907bdfba4a52be9b979f79b9107271a9b6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 436dd144fa66453d3963f084c0c79704ab47b07b08cb03cd42da9c49ad94f1c4 [INFO] running `Command { std: "docker" "start" "-a" "436dd144fa66453d3963f084c0c79704ab47b07b08cb03cd42da9c49ad94f1c4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustix v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling clap_builder v4.5.31 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling tempfile v3.18.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.31 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling hai v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.78s [INFO] running `Command { std: "docker" "inspect" "436dd144fa66453d3963f084c0c79704ab47b07b08cb03cd42da9c49ad94f1c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "436dd144fa66453d3963f084c0c79704ab47b07b08cb03cd42da9c49ad94f1c4", kill_on_drop: false }` [INFO] [stdout] 436dd144fa66453d3963f084c0c79704ab47b07b08cb03cd42da9c49ad94f1c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d868ecf11409fd8ec9b7840fbee6c5ad23af49fb69346f33bf36c8821a5f0555 [INFO] running `Command { std: "docker" "start" "-a" "d868ecf11409fd8ec9b7840fbee6c5ad23af49fb69346f33bf36c8821a5f0555", kill_on_drop: false }` [INFO] [stderr] Compiling hai v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.23s [INFO] running `Command { std: "docker" "inspect" "d868ecf11409fd8ec9b7840fbee6c5ad23af49fb69346f33bf36c8821a5f0555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d868ecf11409fd8ec9b7840fbee6c5ad23af49fb69346f33bf36c8821a5f0555", kill_on_drop: false }` [INFO] [stdout] d868ecf11409fd8ec9b7840fbee6c5ad23af49fb69346f33bf36c8821a5f0555 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c38f3b34ca85895ecce59570c7b7e61715331b58a6cda2caeb81c6d2f56f336 [INFO] running `Command { std: "docker" "start" "-a" "1c38f3b34ca85895ecce59570c7b7e61715331b58a6cda2caeb81c6d2f56f336", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hai-43c70a9a6cdc8781) [INFO] [stdout] running 23 tests [INFO] [stderr] Running tests/cli_tests.rs (/opt/rustwide/target/debug/deps/cli_tests-1051ad85e6d9ed7a) [INFO] [stdout] test config::tests::test_load_config ... ok [INFO] [stdout] test config::tests::test_config_environment_variables ... ok [INFO] [stdout] test config::tests::test_shell_detection ... ok [INFO] [stdout] test error::tests::test_from_anyhow_error_direct_conversion ... ok [INFO] [stdout] test error::tests::test_from_anyhow_error_io_error ... ok [INFO] [stdout] test error::tests::test_error_helper_functions ... ok [INFO] [stdout] test error::tests::test_from_anyhow_error_serde_error ... ok [INFO] [stdout] test history::tests::test_get_entries ... ok [INFO] [stdout] test error::tests::test_from_anyhow_error_pattern_matching ... ok [INFO] [stdout] test error::tests::test_from_anyhow_error_with_context ... ok [INFO] [stdout] test history::tests::test_history_add_entry ... ok [INFO] [stdout] test history::tests::test_empty_strings ... ok [INFO] [stdout] test error::tests::test_from_anyhow_error_other ... ok [INFO] [stdout] test history::tests::test_history_new ... ok [INFO] [stdout] test history::tests::test_history_max_size_edge_cases ... ok [INFO] [stdout] test history::tests::test_timestamp_is_set ... ok [INFO] [stdout] test config::tests::test_os_version ... ok [INFO] [stdout] test history::tests::test_serialization_deserialization ... ok [INFO] [stdout] test tests::test_get_prompt_from_stdin ... ok [INFO] [stdout] test history::tests::test_save_and_load ... ok [INFO] [stdout] test [INFO] [stdout] test tests::test_get_command_suggestion ... ok [INFO] [stdout] test tests::test_execute_command_with_different_shells ... ok [INFO] [stdout] test [INFO] [stdout] test tests::test_execute_command ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_version_flag ... ok [INFO] [stdout] test tests::test_help_flag ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c38f3b34ca85895ecce59570c7b7e61715331b58a6cda2caeb81c6d2f56f336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c38f3b34ca85895ecce59570c7b7e61715331b58a6cda2caeb81c6d2f56f336", kill_on_drop: false }` [INFO] [stdout] 1c38f3b34ca85895ecce59570c7b7e61715331b58a6cda2caeb81c6d2f56f336