[INFO] cloning repository https://github.com/HuoDx/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/HuoDx/gpt-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuoDx%2Fgpt-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuoDx%2Fgpt-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e07af89f9d7ce5e98880d472562ba505c5fba0a3 [INFO] checking HuoDx/gpt-cli against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuoDx%2Fgpt-cli" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HuoDx/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/HuoDx/gpt-cli [INFO] finished tweaking git repo https://github.com/HuoDx/gpt-cli [INFO] tweaked toml for git repo https://github.com/HuoDx/gpt-cli written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HuoDx/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 syn v2.0.55 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 828401cf0d75e2827bfe42018ced27b174cc9345704611ae0c3266db8c3b0169 [INFO] running `Command { std: "docker" "start" "-a" "828401cf0d75e2827bfe42018ced27b174cc9345704611ae0c3266db8c3b0169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "828401cf0d75e2827bfe42018ced27b174cc9345704611ae0c3266db8c3b0169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828401cf0d75e2827bfe42018ced27b174cc9345704611ae0c3266db8c3b0169", kill_on_drop: false }` [INFO] [stdout] 828401cf0d75e2827bfe42018ced27b174cc9345704611ae0c3266db8c3b0169 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9eaa8d4ca12a037ef4791a44ad9644fb82e907e4d606b946230d2b7f432991f8 [INFO] running `Command { std: "docker" "start" "-a" "9eaa8d4ca12a037ef4791a44ad9644fb82e907e4d606b946230d2b7f432991f8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking text_io v0.1.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking gpt-cli v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/api.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{self, StatusCode}; [INFO] [stdout] | ^^^^ the item `reqwest` 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 `tokio` is imported redundantly [INFO] [stdout] --> src/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | const URL_TEXT_COMPLETION: &str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 26 | const URL_TEXT_COMPLETION: &'static str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/api.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{self, StatusCode}; [INFO] [stdout] | ^^^^ the item `reqwest` 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 `tokio` is imported redundantly [INFO] [stdout] --> src/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | const URL_TEXT_COMPLETION: &str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 26 | const URL_TEXT_COMPLETION: &'static str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.11s [INFO] running `Command { std: "docker" "inspect" "9eaa8d4ca12a037ef4791a44ad9644fb82e907e4d606b946230d2b7f432991f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9eaa8d4ca12a037ef4791a44ad9644fb82e907e4d606b946230d2b7f432991f8", kill_on_drop: false }` [INFO] [stdout] 9eaa8d4ca12a037ef4791a44ad9644fb82e907e4d606b946230d2b7f432991f8 [INFO] checking HuoDx/gpt-cli against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHuoDx%2Fgpt-cli" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HuoDx/gpt-cli on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HuoDx/gpt-cli [INFO] finished tweaking git repo https://github.com/HuoDx/gpt-cli [INFO] tweaked toml for git repo https://github.com/HuoDx/gpt-cli written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HuoDx/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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81e034360b05d8037cc74e2dc8abd7af802c38a7cf7fb5aa88a64397ddd719ad [INFO] running `Command { std: "docker" "start" "-a" "81e034360b05d8037cc74e2dc8abd7af802c38a7cf7fb5aa88a64397ddd719ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81e034360b05d8037cc74e2dc8abd7af802c38a7cf7fb5aa88a64397ddd719ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e034360b05d8037cc74e2dc8abd7af802c38a7cf7fb5aa88a64397ddd719ad", kill_on_drop: false }` [INFO] [stdout] 81e034360b05d8037cc74e2dc8abd7af802c38a7cf7fb5aa88a64397ddd719ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fd43c1c5fbc15f2f054d83a9dbb791b4c4528172e430dcefde64a8dcd1439ea [INFO] running `Command { std: "docker" "start" "-a" "3fd43c1c5fbc15f2f054d83a9dbb791b4c4528172e430dcefde64a8dcd1439ea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking text_io v0.1.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.3 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking gpt-cli v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/api.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{self, StatusCode}; [INFO] [stdout] | ^^^^ the item `reqwest` 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 `tokio` is imported redundantly [INFO] [stdout] --> src/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | const URL_TEXT_COMPLETION: &str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 26 | const URL_TEXT_COMPLETION: &'static str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `reqwest` is imported redundantly [INFO] [stdout] --> src/api.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwest::{self, StatusCode}; [INFO] [stdout] | ^^^^ the item `reqwest` 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 `tokio` is imported redundantly [INFO] [stdout] --> src/api.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `&` without an explicit lifetime name cannot be used here [INFO] [stdout] --> src/api.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | const URL_TEXT_COMPLETION: &str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #115010 [INFO] [stdout] = note: `#[warn(elided_lifetimes_in_associated_constant)]` on by default [INFO] [stdout] help: use the `'static` lifetime [INFO] [stdout] | [INFO] [stdout] 26 | const URL_TEXT_COMPLETION: &'static str = "https://api.openai.com/v1/chat/completions"; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.36s [INFO] running `Command { std: "docker" "inspect" "3fd43c1c5fbc15f2f054d83a9dbb791b4c4528172e430dcefde64a8dcd1439ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fd43c1c5fbc15f2f054d83a9dbb791b4c4528172e430dcefde64a8dcd1439ea", kill_on_drop: false }` [INFO] [stdout] 3fd43c1c5fbc15f2f054d83a9dbb791b4c4528172e430dcefde64a8dcd1439ea