[INFO] cloning repository https://github.com/AmauryD/ai-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AmauryD/ai-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmauryD%2Fai-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmauryD%2Fai-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7302203a01263072d9757e99cb1a420e6f7d87c4 [INFO] testing AmauryD/ai-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmauryD%2Fai-cli" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AmauryD/ai-cli [INFO] finished tweaking git repo https://github.com/AmauryD/ai-cli [INFO] tweaked toml for git repo https://github.com/AmauryD/ai-cli written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AmauryD/ai-cli 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/AmauryD/ai-cli 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 proc-macro2 v1.0.82 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded homedir v0.2.1 [INFO] [stderr] Downloaded async-object-pool v0.1.4 [INFO] [stderr] Downloaded piper v0.2.2 [INFO] [stderr] Downloaded basic-cookies v0.1.5 [INFO] [stderr] Downloaded windows-implement v0.52.0 [INFO] [stderr] Downloaded windows-interface v0.52.0 [INFO] [stderr] Downloaded async-signal v0.2.6 [INFO] [stderr] Downloaded async-executor v1.11.0 [INFO] [stderr] Downloaded async-trait v0.1.80 [INFO] [stderr] Downloaded wmi v0.13.3 [INFO] [stderr] Downloaded event-listener v5.3.0 [INFO] [stderr] Downloaded httpmock v0.7.0 [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded winnow v0.6.8 [INFO] [stderr] Downloaded ureq v2.9.7 [INFO] [stderr] Downloaded rustls-webpki v0.102.3 [INFO] [stderr] Downloaded either v1.12.0 [INFO] [stderr] Downloaded serde_regex v1.1.0 [INFO] [stderr] Downloaded webpki-roots v0.26.1 [INFO] [stderr] Downloaded syn v2.0.63 [INFO] [stderr] Downloaded serde v1.0.202 [INFO] [stderr] Downloaded blocking v1.6.0 [INFO] [stderr] Downloaded libc v0.2.154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f30069408c0e2841a506907ecc3b7d492f642820f39625ab8dd243716d85dd4 [INFO] running `Command { std: "docker" "start" "-a" "6f30069408c0e2841a506907ecc3b7d492f642820f39625ab8dd243716d85dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f30069408c0e2841a506907ecc3b7d492f642820f39625ab8dd243716d85dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f30069408c0e2841a506907ecc3b7d492f642820f39625ab8dd243716d85dd4", kill_on_drop: false }` [INFO] [stdout] 6f30069408c0e2841a506907ecc3b7d492f642820f39625ab8dd243716d85dd4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fbf5f33efdc3f46528ffd3d79a304c6c5823fddc809bf499e7bb0dff25de57f [INFO] running `Command { std: "docker" "start" "-a" "7fbf5f33efdc3f46528ffd3d79a304c6c5823fddc809bf499e7bb0dff25de57f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling winnow v0.6.8 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls-webpki v0.102.3 [INFO] [stderr] Compiling homedir v0.2.1 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling ureq v2.9.7 [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.09s [INFO] running `Command { std: "docker" "inspect" "7fbf5f33efdc3f46528ffd3d79a304c6c5823fddc809bf499e7bb0dff25de57f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fbf5f33efdc3f46528ffd3d79a304c6c5823fddc809bf499e7bb0dff25de57f", kill_on_drop: false }` [INFO] [stdout] 7fbf5f33efdc3f46528ffd3d79a304c6c5823fddc809bf499e7bb0dff25de57f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ca5d70a3213960501e6940c2a7d288f4657733765d993ea11e4cb87adcf870d [INFO] running `Command { std: "docker" "start" "-a" "2ca5d70a3213960501e6940c2a7d288f4657733765d993ea11e4cb87adcf870d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling piper v0.2.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling blocking v1.6.0 [INFO] [stderr] Compiling async-signal v0.2.6 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling event-listener v3.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling async-process v1.8.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling ureq v2.9.7 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling similar v2.5.0 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Compiling toml_edit v0.22.13 [INFO] [stderr] Compiling async-object-pool v0.1.4 [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stderr] Compiling toml v0.8.13 [INFO] [stderr] Compiling httpmock v0.7.0 [INFO] [stderr] Compiling cli v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 12s [INFO] running `Command { std: "docker" "inspect" "2ca5d70a3213960501e6940c2a7d288f4657733765d993ea11e4cb87adcf870d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ca5d70a3213960501e6940c2a7d288f4657733765d993ea11e4cb87adcf870d", kill_on_drop: false }` [INFO] [stdout] 2ca5d70a3213960501e6940c2a7d288f4657733765d993ea11e4cb87adcf870d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f6c8139f772c37297e6c6d54aa2745ea26068d71c9e080daefaac3767fe9d05 [INFO] running `Command { std: "docker" "start" "-a" "8f6c8139f772c37297e6c6d54aa2745ea26068d71c9e080daefaac3767fe9d05", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ai-29cd1315d801b648) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test get_gpt_result::test::test_get_gpt_result ... ok [INFO] [stdout] test get_gpt_result::test::test_get_gpt_result_decline ... ok [INFO] [stdout] test terminal::ask_user_confirmation::tests::test_ask_user_confirmation_yes ... ok [INFO] [stdout] test terminal::ask_user_confirmation::tests::test_must_write_message_to_stdout ... ok [INFO] [stdout] test terminal::ask_user_confirmation::tests::test_ask_user_confirmation_no ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/core-b91f2407d17592e5) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test gpt_call::tests::test_call_gpt ... ok [INFO] [stdout] test gpt_call::tests::test_get_body ... ok [INFO] [stderr] Doc-tests core [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f6c8139f772c37297e6c6d54aa2745ea26068d71c9e080daefaac3767fe9d05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f6c8139f772c37297e6c6d54aa2745ea26068d71c9e080daefaac3767fe9d05", kill_on_drop: false }` [INFO] [stdout] 8f6c8139f772c37297e6c6d54aa2745ea26068d71c9e080daefaac3767fe9d05