[INFO] cloning repository https://github.com/fujianbang/GitBuddy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fujianbang/GitBuddy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffujianbang%2FGitBuddy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffujianbang%2FGitBuddy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b660b73b8df7f6a3712e8d37c1f3e36f9b374024 [INFO] checking fujianbang/GitBuddy against master#03eb45452305f2d52348279d0caa5fc1f12c438d for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffujianbang%2FGitBuddy" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fujianbang/GitBuddy on toolchain 03eb45452305f2d52348279d0caa5fc1f12c438d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fujianbang/GitBuddy [INFO] finished tweaking git repo https://github.com/fujianbang/GitBuddy [INFO] tweaked toml for git repo https://github.com/fujianbang/GitBuddy written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fujianbang/GitBuddy 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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-embed v8.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aab799a31ef012d9a09db46393ce93f7efee8be655b7406f31cbe15c755c6637 [INFO] running `Command { std: "docker" "start" "-a" "aab799a31ef012d9a09db46393ce93f7efee8be655b7406f31cbe15c755c6637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aab799a31ef012d9a09db46393ce93f7efee8be655b7406f31cbe15c755c6637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab799a31ef012d9a09db46393ce93f7efee8be655b7406f31cbe15c755c6637", kill_on_drop: false }` [INFO] [stdout] aab799a31ef012d9a09db46393ce93f7efee8be655b7406f31cbe15c755c6637 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc9c9afc0155296e1fc0c93bc5f0f361d01811dd3254f2d97bf1af255db1e670 [INFO] running `Command { std: "docker" "start" "-a" "fc9c9afc0155296e1fc0c93bc5f0f361d01811dd3254f2d97bf1af255db1e670", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking winnow v0.6.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling rust-embed-utils v8.4.0 [INFO] [stderr] Compiling rust-embed-impl v8.4.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking rust-embed v8.4.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking toml_edit v0.22.16 [INFO] [stderr] Checking toml v0.8.15 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking gitbuddy v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::prompt::Prompt` [INFO] [stdout] --> src/llm/openai_compatible.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prompt::Prompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::prompt::Prompt` [INFO] [stdout] --> src/llm/openai_compatible.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::prompt::Prompt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/config/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let params = ModelConfig { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/mod.rs:149:13 [INFO] [stdout] | [INFO] [stdout] 149 | let mut cfg = GlobalConfig::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toml_str` [INFO] [stdout] --> src/config/mod.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let toml_str = r#" [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/config/mod.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let mut cfg = GlobalConfig::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config/mod.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut cfg = GlobalConfig::new(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestsWrap` is never constructed [INFO] [stdout] --> src/llm/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct RequestsWrap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/llm/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl RequestsWrap { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 53 | fn new(vendor: PromptModel, model: String, api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config/mod.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl GlobalConfig { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 69 | /// Create a new configuration with default values [INFO] [stdout] 70 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestsWrap` is never constructed [INFO] [stdout] --> src/llm/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct RequestsWrap { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/llm/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl RequestsWrap { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 53 | fn new(vendor: PromptModel, model: String, api_key: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.20s [INFO] running `Command { std: "docker" "inspect" "fc9c9afc0155296e1fc0c93bc5f0f361d01811dd3254f2d97bf1af255db1e670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc9c9afc0155296e1fc0c93bc5f0f361d01811dd3254f2d97bf1af255db1e670", kill_on_drop: false }` [INFO] [stdout] fc9c9afc0155296e1fc0c93bc5f0f361d01811dd3254f2d97bf1af255db1e670