[INFO] cloning repository https://github.com/Arnab28122000/rust-open-ai-chat-cli-and-api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arnab28122000/rust-open-ai-chat-cli-and-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnab28122000%2Frust-open-ai-chat-cli-and-api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnab28122000%2Frust-open-ai-chat-cli-and-api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3523832e2fc0f20eade3e608efc1c1e4ca12647e
[INFO] building Arnab28122000/rust-open-ai-chat-cli-and-api against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnab28122000%2Frust-open-ai-chat-cli-and-api" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Arnab28122000/rust-open-ai-chat-cli-and-api on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Arnab28122000/rust-open-ai-chat-cli-and-api
[INFO] finished tweaking git repo https://github.com/Arnab28122000/rust-open-ai-chat-cli-and-api
[INFO] tweaked toml for git repo https://github.com/Arnab28122000/rust-open-ai-chat-cli-and-api written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Arnab28122000/rust-open-ai-chat-cli-and-api 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" "+334963c956d25708feab489a3816ae63f639355d" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a3360693e2fececef7723c1357a6baafad3ce87d3855ee78e19f8f7c3dde450
[INFO] running `Command { std: "docker" "start" "-a" "1a3360693e2fececef7723c1357a6baafad3ce87d3855ee78e19f8f7c3dde450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a3360693e2fececef7723c1357a6baafad3ce87d3855ee78e19f8f7c3dde450", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a3360693e2fececef7723c1357a6baafad3ce87d3855ee78e19f8f7c3dde450", kill_on_drop: false }`
[INFO] [stdout] 1a3360693e2fececef7723c1357a6baafad3ce87d3855ee78e19f8f7c3dde450
[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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 68de557b4989427ffd579e87c8660e32112a4f519b38609a0ee83efc0fcdf901
[INFO] running `Command { std: "docker" "start" "-a" "68de557b4989427ffd579e87c8660e32112a4f519b38609a0ee83efc0fcdf901", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling libc v0.2.129
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling itoa v1.0.3
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling mio v0.8.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling tracing-core v0.1.29
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling tracing v0.1.36
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]    Compiling strum v0.24.1
[INFO] [stderr]    Compiling spinners v4.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling hyper v0.14.20
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling RustOpenAi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | /     loop{
[INFO] [stdout] 47 | |         print!("> ");
[INFO] [stdout] 48 | |         stdout().flush().unwrap();
[INFO] [stdout] 49 | |         let mut user_text = String::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |         print!("{}", json.choices.unwrap()[0].text);
[INFO] [stdout] 81 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 82 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `logprobs`, and `finish_reason` are never read
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct OAIChoices{
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 11 |     text: String,
[INFO] [stdout] 12 |     index: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     logprobs: Option<u8>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 14 |     finish_reason: String
[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]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct OAIResponse{
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 19 |     id: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     object: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     created: Option<u64>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 22 |     model: Option<String>,
[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 1m 05s
[INFO] running `Command { std: "docker" "inspect" "68de557b4989427ffd579e87c8660e32112a4f519b38609a0ee83efc0fcdf901", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68de557b4989427ffd579e87c8660e32112a4f519b38609a0ee83efc0fcdf901", kill_on_drop: false }`
[INFO] [stdout] 68de557b4989427ffd579e87c8660e32112a4f519b38609a0ee83efc0fcdf901
[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" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7b024e85a2309a079e8ef2e7a31e417615d8324f73c5ec5556ce644f7b4e655f
[INFO] running `Command { std: "docker" "start" "-a" "7b024e85a2309a079e8ef2e7a31e417615d8324f73c5ec5556ce644f7b4e655f", kill_on_drop: false }`
[INFO] [stderr]    Compiling RustOpenAi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/main.rs:82:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | /     loop{
[INFO] [stdout] 47 | |         print!("> ");
[INFO] [stdout] 48 | |         stdout().flush().unwrap();
[INFO] [stdout] 49 | |         let mut user_text = String::new();
[INFO] [stdout] ...  |
[INFO] [stdout] 80 | |         print!("{}", json.choices.unwrap()[0].text);
[INFO] [stdout] 81 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 82 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `logprobs`, and `finish_reason` are never read
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct OAIChoices{
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 11 |     text: String,
[INFO] [stdout] 12 |     index: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 13 |     logprobs: Option<u8>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 14 |     finish_reason: String
[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]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct OAIResponse{
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 19 |     id: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     object: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 21 |     created: Option<u64>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 22 |     model: Option<String>,
[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 `test` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "7b024e85a2309a079e8ef2e7a31e417615d8324f73c5ec5556ce644f7b4e655f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b024e85a2309a079e8ef2e7a31e417615d8324f73c5ec5556ce644f7b4e655f", kill_on_drop: false }`
[INFO] [stdout] 7b024e85a2309a079e8ef2e7a31e417615d8324f73c5ec5556ce644f7b4e655f
