[INFO] cloning repository https://github.com/besnardjb/clippyrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/besnardjb/clippyrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesnardjb%2Fclippyrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesnardjb%2Fclippyrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bc495385e6f719369b9f87c94e94073eb375283 [INFO] building besnardjb/clippyrs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesnardjb%2Fclippyrs" "/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/besnardjb/clippyrs [INFO] finished tweaking git repo https://github.com/besnardjb/clippyrs [INFO] tweaked toml for git repo https://github.com/besnardjb/clippyrs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/besnardjb/clippyrs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/besnardjb/clippyrs 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy-regex v3.2.0 [INFO] [stderr] Downloaded url_open v0.0.2 [INFO] [stderr] Downloaded crokey v1.0.1 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.2.0 [INFO] [stderr] Downloaded crokey-proc_macros v1.0.1 [INFO] [stderr] Downloaded minimad v0.13.1 [INFO] [stderr] Downloaded strict v0.2.0 [INFO] [stderr] Downloaded xcursor v0.3.6 [INFO] [stderr] Downloaded copypasta-ext v0.4.4 [INFO] [stderr] Downloaded clap_derive v4.5.11 [INFO] [stderr] Downloaded meval v0.2.0 [INFO] [stderr] Downloaded clap v4.5.11 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded coolor v0.9.0 [INFO] [stderr] Downloaded clap_builder v4.5.11 [INFO] [stderr] Downloaded termimad v0.29.4 [INFO] [stderr] Downloaded serde_json v1.0.121 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28c5b9de0711cfc8d0fa37aeb020b11847fc5534cd8132cfab2075a7990b2d9f [INFO] running `Command { std: "docker" "start" "-a" "28c5b9de0711cfc8d0fa37aeb020b11847fc5534cd8132cfab2075a7990b2d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28c5b9de0711cfc8d0fa37aeb020b11847fc5534cd8132cfab2075a7990b2d9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28c5b9de0711cfc8d0fa37aeb020b11847fc5534cd8132cfab2075a7990b2d9f", kill_on_drop: false }` [INFO] [stdout] 28c5b9de0711cfc8d0fa37aeb020b11847fc5534cd8132cfab2075a7990b2d9f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f902fb09d713e479080aa80b484b1a4a7ce0d60292e6800f9440ac7a910392a1 [INFO] running `Command { std: "docker" "start" "-a" "f902fb09d713e479080aa80b484b1a4a7ce0d60292e6800f9440ac7a910392a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling xcursor v0.3.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Compiling crokey-proc_macros v1.0.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling copypasta-ext v0.4.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling crokey v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling lazy-regex v3.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling coolor v0.9.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling minimad v0.13.1 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling termimad v0.29.4 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling x11-clipboard v0.7.1 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling clap v4.5.11 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling url_open v0.0.2 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling smithay-clipboard v0.6.6 [INFO] [stderr] Compiling copypasta v0.8.2 [INFO] [stderr] Compiling clippyrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/ollama.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/ollama.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 302 | impl Chat { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | fn init(model: &str, prompt: &str) -> Chat { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ollama.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | struct ChatResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 374 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 375 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 376 | message: Message, [INFO] [stdout] 377 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 378 | total_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 379 | load_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 380 | prompt_eval_count: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 381 | prompt_eval_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 382 | eval_count: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 383 | eval_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatResponse` 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 2m 43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "f902fb09d713e479080aa80b484b1a4a7ce0d60292e6800f9440ac7a910392a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f902fb09d713e479080aa80b484b1a4a7ce0d60292e6800f9440ac7a910392a1", kill_on_drop: false }` [INFO] [stdout] f902fb09d713e479080aa80b484b1a4a7ce0d60292e6800f9440ac7a910392a1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7fa381038d1a3b2bb567b7da282b5a0aba4ce7f07abfca56256c1d63b408fa6 [INFO] running `Command { std: "docker" "start" "-a" "a7fa381038d1a3b2bb567b7da282b5a0aba4ce7f07abfca56256c1d63b408fa6", kill_on_drop: false }` [INFO] [stderr] Compiling clippyrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/ollama.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/ollama.rs:311:8 [INFO] [stdout] | [INFO] [stdout] 302 | impl Chat { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 311 | fn init(model: &str, prompt: &str) -> Chat { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/ollama.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | struct ChatResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 374 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 375 | created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 376 | message: Message, [INFO] [stdout] 377 | done: bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 378 | total_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 379 | load_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 380 | prompt_eval_count: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 381 | prompt_eval_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 382 | eval_count: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 383 | eval_duration: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "a7fa381038d1a3b2bb567b7da282b5a0aba4ce7f07abfca56256c1d63b408fa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7fa381038d1a3b2bb567b7da282b5a0aba4ce7f07abfca56256c1d63b408fa6", kill_on_drop: false }` [INFO] [stdout] a7fa381038d1a3b2bb567b7da282b5a0aba4ce7f07abfca56256c1d63b408fa6