[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#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmauryD%2Fai-cli" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AmauryD/ai-cli on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a4734b69d3cf65811b9d5453fdc75be4c955aa8a88b15bb331dc39e4b060b5fe
[INFO] running `Command { std: "docker" "start" "-a" "a4734b69d3cf65811b9d5453fdc75be4c955aa8a88b15bb331dc39e4b060b5fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a4734b69d3cf65811b9d5453fdc75be4c955aa8a88b15bb331dc39e4b060b5fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4734b69d3cf65811b9d5453fdc75be4c955aa8a88b15bb331dc39e4b060b5fe", kill_on_drop: false }`
[INFO] [stdout] a4734b69d3cf65811b9d5453fdc75be4c955aa8a88b15bb331dc39e4b060b5fe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4431039a8872dfd32beb2e6e7288f724b32e08cafa871871b535e8eb621c58a8
[INFO] running `Command { std: "docker" "start" "-a" "4431039a8872dfd32beb2e6e7288f724b32e08cafa871871b535e8eb621c58a8", 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 adler v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling winnow v0.6.8
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling webpki-roots v0.26.1
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling syn v2.0.63
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling homedir v0.2.1
[INFO] [stderr]    Compiling rustls-webpki v0.102.3
[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 1m 22s
[INFO] running `Command { std: "docker" "inspect" "4431039a8872dfd32beb2e6e7288f724b32e08cafa871871b535e8eb621c58a8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4431039a8872dfd32beb2e6e7288f724b32e08cafa871871b535e8eb621c58a8", kill_on_drop: false }`
[INFO] [stdout] 4431039a8872dfd32beb2e6e7288f724b32e08cafa871871b535e8eb621c58a8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dcac6de68ab3f68154da133246c9e37fd0960957c2807a45450679d8df35ff77
[INFO] running `Command { std: "docker" "start" "-a" "dcac6de68ab3f68154da133246c9e37fd0960957c2807a45450679d8df35ff77", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling event-listener v4.0.3
[INFO] [stderr]    Compiling event-listener v5.3.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling futures-lite v2.3.0
[INFO] [stderr]    Compiling event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling event-listener-strategy v0.4.0
[INFO] [stderr]    Compiling async-lock v3.3.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling piper v0.2.2
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[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 regex v1.10.4
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling blocking v1.6.0
[INFO] [stderr]    Compiling async-executor v1.11.0
[INFO] [stderr]    Compiling syn v2.0.63
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling lalrpop-util v0.20.2
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling similar v2.5.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling levenshtein v1.0.5
[INFO] [stderr]    Compiling pretty_assertions v1.4.0
[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 async-signal v0.2.6
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling async-process v1.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling async-attributes v1.1.2
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling async-object-pool v0.1.4
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling serde_spanned v0.6.6
[INFO] [stderr]    Compiling ureq v2.9.7
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling serde_regex v1.1.0
[INFO] [stderr]    Compiling toml_edit v0.22.13
[INFO] [stderr]    Compiling core v0.1.0 (/opt/rustwide/workdir/core)
[INFO] [stderr]    Compiling toml v0.8.13
[INFO] [stderr]    Compiling basic-cookies v0.1.5
[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 4m 19s
[INFO] running `Command { std: "docker" "inspect" "dcac6de68ab3f68154da133246c9e37fd0960957c2807a45450679d8df35ff77", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcac6de68ab3f68154da133246c9e37fd0960957c2807a45450679d8df35ff77", kill_on_drop: false }`
[INFO] [stdout] dcac6de68ab3f68154da133246c9e37fd0960957c2807a45450679d8df35ff77
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d9e946de0ead9f96ee8c313618e0716a1a007270fd6621e9c0b34a2d51391e0c
[INFO] running `Command { std: "docker" "start" "-a" "d9e946de0ead9f96ee8c313618e0716a1a007270fd6621e9c0b34a2d51391e0c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ai-46099cdfb51ac8f5)
[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-c2483c7ed388cc3f)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test gpt_call::tests::test_get_body ... ok
[INFO] [stdout] test gpt_call::tests::test_call_gpt ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests core
[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" "d9e946de0ead9f96ee8c313618e0716a1a007270fd6621e9c0b34a2d51391e0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9e946de0ead9f96ee8c313618e0716a1a007270fd6621e9c0b34a2d51391e0c", kill_on_drop: false }`
[INFO] [stdout] d9e946de0ead9f96ee8c313618e0716a1a007270fd6621e9c0b34a2d51391e0c
