[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] checking maxmekiska/gpt-cli against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxmekiska%2Fgpt-cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxmekiska/gpt-cli on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b9e2d34cde9f3d5399031219e73285041368cfea726f28372ec6887cfa80cca [INFO] running `Command { std: "docker" "start" "-a" "1b9e2d34cde9f3d5399031219e73285041368cfea726f28372ec6887cfa80cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b9e2d34cde9f3d5399031219e73285041368cfea726f28372ec6887cfa80cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b9e2d34cde9f3d5399031219e73285041368cfea726f28372ec6887cfa80cca", kill_on_drop: false }` [INFO] [stdout] 1b9e2d34cde9f3d5399031219e73285041368cfea726f28372ec6887cfa80cca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb5f179fd5cbd395c80604d675b55608fba8fe9b9a96414872654b403ccc534d [INFO] running `Command { std: "docker" "start" "-a" "eb5f179fd5cbd395c80604d675b55608fba8fe9b9a96414872654b403ccc534d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling openssl v0.10.59 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling openssl-sys v0.9.95 [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] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking tokio v1.34.0 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking spinners v4.1.0 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking gpt-cli v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ the item `env_logger` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ the item `env_logger` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.98s [INFO] running `Command { std: "docker" "inspect" "eb5f179fd5cbd395c80604d675b55608fba8fe9b9a96414872654b403ccc534d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5f179fd5cbd395c80604d675b55608fba8fe9b9a96414872654b403ccc534d", kill_on_drop: false }` [INFO] [stdout] eb5f179fd5cbd395c80604d675b55608fba8fe9b9a96414872654b403ccc534d