[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] checking Arnab28122000/rust-open-ai-chat-cli-and-api against try#14731909456ca628a194900c35659dfdcb359e77 for pr-149195-1
[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-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Arnab28122000/rust-open-ai-chat-cli-and-api on toolchain 14731909456ca628a194900c35659dfdcb359e77
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+14731909456ca628a194900c35659dfdcb359e77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc0a7925fce6cc06d3b27cb8ad8af222cb6d6e553c36f7da593353786e1f5f20
[INFO] running `Command { std: "docker" "start" "-a" "fc0a7925fce6cc06d3b27cb8ad8af222cb6d6e553c36f7da593353786e1f5f20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc0a7925fce6cc06d3b27cb8ad8af222cb6d6e553c36f7da593353786e1f5f20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc0a7925fce6cc06d3b27cb8ad8af222cb6d6e553c36f7da593353786e1f5f20", kill_on_drop: false }`
[INFO] [stdout] fc0a7925fce6cc06d3b27cb8ad8af222cb6d6e553c36f7da593353786e1f5f20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+14731909456ca628a194900c35659dfdcb359e77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aad3addba6b5338edeb82e864ce3e34fabddc18d3f1ae88211f34aa8fe121963
[INFO] running `Command { std: "docker" "start" "-a" "aad3addba6b5338edeb82e864ce3e34fabddc18d3f1ae88211f34aa8fe121963", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling libc v0.2.129
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]     Checking tracing-core v0.1.29
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling rustversion v1.0.9
[INFO] [stderr]    Compiling openssl v0.10.41
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]    Compiling openssl-sys v0.9.75
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tracing v0.1.36
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling serde v1.0.143
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.83
[INFO] [stderr]    Compiling serde_derive v1.0.143
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking ryu v1.0.11
[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]     Checking strum v0.24.1
[INFO] [stderr]     Checking spinners v4.1.0
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking 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)]` (part of `#[warn(unused)]`) 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)]` (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: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] [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)]` (part of `#[warn(unused)]`) 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)]` (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: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 37.59s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.41
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "aad3addba6b5338edeb82e864ce3e34fabddc18d3f1ae88211f34aa8fe121963", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aad3addba6b5338edeb82e864ce3e34fabddc18d3f1ae88211f34aa8fe121963", kill_on_drop: false }`
[INFO] [stdout] aad3addba6b5338edeb82e864ce3e34fabddc18d3f1ae88211f34aa8fe121963
