[INFO] cloning repository https://github.com/maxmekiska/gpt-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxmekiska/gpt-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmekiska%2Fgpt-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmekiska%2Fgpt-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b669d031fc7eab37a57e519ac546c263adb301b9 [INFO] testing maxmekiska/gpt-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmekiska%2Fgpt-cli" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/maxmekiska/gpt-cli [INFO] finished tweaking git repo https://github.com/maxmekiska/gpt-cli [INFO] tweaked toml for git repo https://github.com/maxmekiska/gpt-cli written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxmekiska/gpt-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/maxmekiska/gpt-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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spinners v4.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] edd6cf1e5489b100d370eacf3ef09268e9def5d79d5a777ee176382382cfff19 [INFO] running `Command { std: "docker" "start" "-a" "edd6cf1e5489b100d370eacf3ef09268e9def5d79d5a777ee176382382cfff19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edd6cf1e5489b100d370eacf3ef09268e9def5d79d5a777ee176382382cfff19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edd6cf1e5489b100d370eacf3ef09268e9def5d79d5a777ee176382382cfff19", kill_on_drop: false }` [INFO] [stdout] edd6cf1e5489b100d370eacf3ef09268e9def5d79d5a777ee176382382cfff19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8cd673b4915a6161d8b7e899c60dbfff96c5b148362706d3a69ceea2c4dabf4c [INFO] running `Command { std: "docker" "start" "-a" "8cd673b4915a6161d8b7e899c60dbfff96c5b148362706d3a69ceea2c4dabf4c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.11 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling termcolor v1.3.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling clap_builder v4.4.7 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.95 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling clap v4.4.7 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling spinners v4.1.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling gpt-cli v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/oai.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct OAIResMessage { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 16 | role: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIResMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index`, `logprobs`, and `finnish_reason` are never read [INFO] [stdout] --> src/oai.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct OAIChoices { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 23 | pub message: OAIResMessage, [INFO] [stdout] 24 | index: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | logprobs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | finnish_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIChoices` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `create`, and `model` are never read [INFO] [stdout] --> src/oai.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct OAIResponse { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 32 | id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | object: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | create: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OAIResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.84s [INFO] running `Command { std: "docker" "inspect" "8cd673b4915a6161d8b7e899c60dbfff96c5b148362706d3a69ceea2c4dabf4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cd673b4915a6161d8b7e899c60dbfff96c5b148362706d3a69ceea2c4dabf4c", kill_on_drop: false }` [INFO] [stdout] 8cd673b4915a6161d8b7e899c60dbfff96c5b148362706d3a69ceea2c4dabf4c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] abee05aec664611ac103c0cd9be78fec1ac8b518d9905d7a904f5bd65cb041dc [INFO] running `Command { std: "docker" "start" "-a" "abee05aec664611ac103c0cd9be78fec1ac8b518d9905d7a904f5bd65cb041dc", kill_on_drop: false }` [INFO] [stderr] Compiling gpt-cli v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.66s [INFO] running `Command { std: "docker" "inspect" "abee05aec664611ac103c0cd9be78fec1ac8b518d9905d7a904f5bd65cb041dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abee05aec664611ac103c0cd9be78fec1ac8b518d9905d7a904f5bd65cb041dc", kill_on_drop: false }` [INFO] [stdout] abee05aec664611ac103c0cd9be78fec1ac8b518d9905d7a904f5bd65cb041dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 72c9bc57ad0a90c227abbc5ea1073c6b01bbcb18d7f9b81bc07618689063c5cc [INFO] running `Command { std: "docker" "start" "-a" "72c9bc57ad0a90c227abbc5ea1073c6b01bbcb18d7f9b81bc07618689063c5cc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gpt_cli-2b0039af83be6861) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test interact::tests::test_special_commands_clear ... ok [INFO] [stdout] test interact::tests::test_special_commands_undo ... ok [INFO] [stdout] test oai::tests::test_create_oai_request ... ok [INFO] [stdout] test oai::tests::test_oai_message_creation ... ok [INFO] [stdout] test oai::tests::test_oai_message_debug_format ... ok [INFO] [stdout] test oai::tests::test_oai_request_serialization ... ok [INFO] [stdout] test oai::tests::test_oai_res_message_debug_format ... ok [INFO] [stdout] test oai::tests::test_oai_response_deserialization ... ok [INFO] [stdout] test interact::tests::test_special_commands_default ... ok [INFO] [stdout] test oai::tests::test_oai_choices_deserialization ... ok [INFO] [stdout] test interact::tests::test_special_commands_exit ... ok [INFO] [stdout] test oai::tests::test_oai_res_message_deserialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "72c9bc57ad0a90c227abbc5ea1073c6b01bbcb18d7f9b81bc07618689063c5cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c9bc57ad0a90c227abbc5ea1073c6b01bbcb18d7f9b81bc07618689063c5cc", kill_on_drop: false }` [INFO] [stdout] 72c9bc57ad0a90c227abbc5ea1073c6b01bbcb18d7f9b81bc07618689063c5cc