[INFO] cloning repository https://github.com/MFaiqKhan/Rust_Chatgpt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MFaiqKhan/Rust_Chatgpt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMFaiqKhan%2FRust_Chatgpt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMFaiqKhan%2FRust_Chatgpt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 013ab0503f0905893d128cea62a9d5cbc16850b5
[INFO] checking MFaiqKhan/Rust_Chatgpt against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMFaiqKhan%2FRust_Chatgpt" "/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/MFaiqKhan/Rust_Chatgpt
[INFO] finished tweaking git repo https://github.com/MFaiqKhan/Rust_Chatgpt
[INFO] tweaked toml for git repo https://github.com/MFaiqKhan/Rust_Chatgpt written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MFaiqKhan/Rust_Chatgpt on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MFaiqKhan/Rust_Chatgpt 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ansi_term v0.7.5
[INFO] [stderr]   Downloaded spinner v0.5.0
[INFO] [stderr]   Downloaded spinners v2.0.0
[INFO] [stderr]   Downloaded security-framework v2.8.0
[INFO] [stderr]   Downloaded term v0.6.1
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e3113751161e47d056e2d5da246dee85b80b9b662770b7dd6231a39fb1d3ba9
[INFO] running `Command { std: "docker" "start" "-a" "3e3113751161e47d056e2d5da246dee85b80b9b662770b7dd6231a39fb1d3ba9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e3113751161e47d056e2d5da246dee85b80b9b662770b7dd6231a39fb1d3ba9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e3113751161e47d056e2d5da246dee85b80b9b662770b7dd6231a39fb1d3ba9", kill_on_drop: false }`
[INFO] [stdout] 3e3113751161e47d056e2d5da246dee85b80b9b662770b7dd6231a39fb1d3ba9
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a77fa33eb195697b02dee9b8ffc8bced8c3518f8c6c83d03ac62803ee79ceee3
[INFO] running `Command { std: "docker" "start" "-a" "a77fa33eb195697b02dee9b8ffc8bced8c3518f8c6c83d03ac62803ee79ceee3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling tokio v1.24.2
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]     Checking dirs-sys v0.3.7
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling serde v1.0.152
[INFO] [stderr]     Checking ansi_term v0.7.5
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking strum v0.21.0
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking term v0.6.1
[INFO] [stderr]     Checking spinner v0.5.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]     Checking serde_json v1.0.91
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling strum_macros v0.21.1
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]     Checking openssl v0.10.45
[INFO] [stderr]     Checking spinners v2.0.0
[INFO] [stderr]     Checking native-tls v0.2.11
[INFO] [stderr]     Checking tokio-util v0.7.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking h2 v0.3.15
[INFO] [stderr]     Checking hyper v0.14.23
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking chatgptRust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout]  66 | /     loop {
[INFO] [stdout]  67 | |
[INFO] [stdout]  68 | |         // this > will be used to indicate that the user can input text
[INFO] [stdout]  69 | |         print!(">");
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |         println!("{}", json.choices[0].text); // print the response from the OpenAI API
[INFO] [stdout] 111 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |       Ok(())
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `logProbs`, and `finishReason` are never read
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct OAIChoices {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 15 |     text: String,
[INFO] [stdout] 16 |     index: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     logProbs: Option<u8>, 
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     finishReason: 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct OAIResponse {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 23 |     id: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     object: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 25 |     created: Option<u64>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 26 |     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] [stdout] warning: structure field `logProbs` should have a snake case name
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     logProbs: Option<u8>, 
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `log_probs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `finishReason` should have a snake case name
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     finishReason: String, 
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `finish_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:113:5
[INFO] [stdout]     |
[INFO] [stdout]  66 | /     loop {
[INFO] [stdout]  67 | |
[INFO] [stdout]  68 | |         // this > will be used to indicate that the user can input text
[INFO] [stdout]  69 | |         print!(">");
[INFO] [stdout] ...   |
[INFO] [stdout] 110 | |         println!("{}", json.choices[0].text); // print the response from the OpenAI API
[INFO] [stdout] 111 | |     }
[INFO] [stdout]     | |_____- any code following this expression is unreachable
[INFO] [stdout] 112 |
[INFO] [stdout] 113 |       Ok(())
[INFO] [stdout]     |       ^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `index`, `logProbs`, and `finishReason` are never read
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct OAIChoices {
[INFO] [stdout]    |        ---------- fields in this struct
[INFO] [stdout] 15 |     text: String,
[INFO] [stdout] 16 |     index: u8,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 17 |     logProbs: Option<u8>, 
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 18 |     finishReason: 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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `object`, `created`, and `model` are never read
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct OAIResponse {
[INFO] [stdout]    |        ----------- fields in this struct
[INFO] [stdout] 23 |     id: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 24 |     object: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 25 |     created: Option<u64>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 26 |     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] [stdout] warning: structure field `logProbs` should have a snake case name
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     logProbs: Option<u8>, 
[INFO] [stdout]    |     ^^^^^^^^ help: convert the identifier to snake case: `log_probs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `finishReason` should have a snake case name
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     finishReason: String, 
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to snake case: `finish_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.85s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.45
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "a77fa33eb195697b02dee9b8ffc8bced8c3518f8c6c83d03ac62803ee79ceee3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a77fa33eb195697b02dee9b8ffc8bced8c3518f8c6c83d03ac62803ee79ceee3", kill_on_drop: false }`
[INFO] [stdout] a77fa33eb195697b02dee9b8ffc8bced8c3518f8c6c83d03ac62803ee79ceee3
