[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] testing besnardjb/clippyrs against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesnardjb%2Fclippyrs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/besnardjb/clippyrs on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded url_open v0.0.2 [INFO] [stderr] Downloaded copypasta-ext v0.4.4 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.2.0 [INFO] [stderr] Downloaded crokey-proc_macros v1.0.1 [INFO] [stderr] Downloaded meval v0.2.0 [INFO] [stderr] Downloaded copypasta v0.8.2 [INFO] [stderr] Downloaded lazy-regex v3.2.0 [INFO] [stderr] Downloaded crokey v1.0.1 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded termimad v0.29.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a40dbd7e8e4219fc4203638d140de4f130d00b6a7bdd3f6d2e8636fdc5bd5982 [INFO] running `Command { std: "docker" "start" "-a" "a40dbd7e8e4219fc4203638d140de4f130d00b6a7bdd3f6d2e8636fdc5bd5982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a40dbd7e8e4219fc4203638d140de4f130d00b6a7bdd3f6d2e8636fdc5bd5982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40dbd7e8e4219fc4203638d140de4f130d00b6a7bdd3f6d2e8636fdc5bd5982", kill_on_drop: false }` [INFO] [stdout] a40dbd7e8e4219fc4203638d140de4f130d00b6a7bdd3f6d2e8636fdc5bd5982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be1f777a921eb4860e0e46308bd7d65645ec50421cbed575cd2cabbc19724fdc [INFO] running `Command { std: "docker" "start" "-a" "be1f777a921eb4860e0e46308bd7d65645ec50421cbed575cd2cabbc19724fdc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [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 wayland-commons v0.29.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling xcursor v0.3.6 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling x11rb-protocol v0.10.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling gethostname v0.2.3 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling serde_json v1.0.121 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.2.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling crokey-proc_macros v1.0.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [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 base64 v0.22.1 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling x11rb v0.10.1 [INFO] [stderr] Compiling copypasta-ext v0.4.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling clap_derive v4.5.11 [INFO] [stderr] Compiling clap_builder v4.5.11 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling lazy-regex v3.2.0 [INFO] [stderr] Compiling x11-clipboard v0.7.1 [INFO] [stderr] Compiling crokey v1.0.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling coolor v0.9.0 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling minimad v0.13.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling meval v0.2.0 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling termimad v0.29.4 [INFO] [stderr] Compiling clap v4.5.11 [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)]` 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)]` 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 3m 02s [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 1` [INFO] running `Command { std: "docker" "inspect" "be1f777a921eb4860e0e46308bd7d65645ec50421cbed575cd2cabbc19724fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be1f777a921eb4860e0e46308bd7d65645ec50421cbed575cd2cabbc19724fdc", kill_on_drop: false }` [INFO] [stdout] be1f777a921eb4860e0e46308bd7d65645ec50421cbed575cd2cabbc19724fdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baca2279ec0c76feb994e7206ce5998103b6fc06f80ec638a5dc0b058c0f0c9e [INFO] running `Command { std: "docker" "start" "-a" "baca2279ec0c76feb994e7206ce5998103b6fc06f80ec638a5dc0b058c0f0c9e", 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)]` 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)]` 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.91s [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 1` [INFO] running `Command { std: "docker" "inspect" "baca2279ec0c76feb994e7206ce5998103b6fc06f80ec638a5dc0b058c0f0c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baca2279ec0c76feb994e7206ce5998103b6fc06f80ec638a5dc0b058c0f0c9e", kill_on_drop: false }` [INFO] [stdout] baca2279ec0c76feb994e7206ce5998103b6fc06f80ec638a5dc0b058c0f0c9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd6a9e3e014989b1cc60b598754a9425e1568461d1cdf92cd44e478ac813d5f7 [INFO] running `Command { std: "docker" "start" "-a" "dd6a9e3e014989b1cc60b598754a9425e1568461d1cdf92cd44e478ac813d5f7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Context` [INFO] [stderr] --> src/ollama.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use anyhow::{anyhow, Context, Result}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `init` is never used [INFO] [stderr] --> src/ollama.rs:311:8 [INFO] [stderr] | [INFO] [stderr] 302 | impl Chat { [INFO] [stderr] | --------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 311 | fn init(model: &str, prompt: &str) -> Chat { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/ollama.rs:374:5 [INFO] [stderr] | [INFO] [stderr] 373 | struct ChatResponse { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 374 | model: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 375 | created_at: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 376 | message: Message, [INFO] [stderr] 377 | done: bool, [INFO] [stderr] | ^^^^ [INFO] [stderr] 378 | total_duration: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 379 | load_duration: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 380 | prompt_eval_count: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 381 | prompt_eval_duration: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 382 | eval_count: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 383 | eval_duration: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ChatResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `clippyrs` (bin "clippyrs" test) generated 3 warnings (run `cargo fix --bin "clippyrs" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/clippyrs-f4fa10aa539abbaa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dd6a9e3e014989b1cc60b598754a9425e1568461d1cdf92cd44e478ac813d5f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd6a9e3e014989b1cc60b598754a9425e1568461d1cdf92cd44e478ac813d5f7", kill_on_drop: false }` [INFO] [stdout] dd6a9e3e014989b1cc60b598754a9425e1568461d1cdf92cd44e478ac813d5f7