[INFO] fetching crate ruchat 0.1.2... [INFO] building ruchat-0.1.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate ruchat 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ruchat 0.1.2 [INFO] finished tweaking crates.io crate ruchat 0.1.2 [INFO] tweaked toml for crates.io crate ruchat 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ruchat 0.1.2 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 crates.io crate ruchat 0.1.2 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 endian-type v0.1.2 [INFO] [stderr] Downloaded ollama-rs-macros v0.3.1 [INFO] [stderr] Downloaded ollama-rs v0.3.1 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded chromadb v2.2.2 [INFO] [stderr] Downloaded selectors v0.26.0 [INFO] [stderr] Downloaded error-code v2.3.1 [INFO] [stderr] Downloaded minreq v2.13.4 [INFO] [stderr] Downloaded xml5ever v0.18.1 [INFO] [stderr] Downloaded num-runtime-fmt v0.1.2 [INFO] [stderr] Downloaded calc v0.4.0 [INFO] [stderr] Downloaded rustyline v10.1.1 [INFO] [stderr] Downloaded html5ever v0.29.1 [INFO] [stderr] Downloaded html2md v0.2.15 [INFO] [stderr] Downloaded icu_segmenter v1.5.0 [INFO] [stderr] Downloaded markup5ever v0.14.1 [INFO] [stderr] Downloaded modelfile v0.3.0 [INFO] [stderr] Downloaded ego-tree v0.10.0 [INFO] [stderr] Downloaded iterext v0.1.0 [INFO] [stderr] Downloaded markup5ever_rcdom v0.3.0 [INFO] [stderr] Downloaded str-buf v1.0.6 [INFO] [stderr] Downloaded clipboard-win v4.5.0 [INFO] [stderr] Downloaded fd-lock v3.0.13 [INFO] [stderr] Downloaded text-splitter v0.25.1 [INFO] [stderr] Downloaded rustls-webpki v0.103.2 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded cc v1.2.21 [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] [stderr] Downloaded match_token v0.1.0 [INFO] [stderr] Downloaded cssparser v0.34.0 [INFO] [stderr] Downloaded servo_arc v0.4.0 [INFO] [stderr] Downloaded scraper v0.23.1 [INFO] [stderr] Downloaded jiff v0.2.13 [INFO] [stderr] Downloaded jiff-static v0.2.13 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded icu_segmenter_data v1.5.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b11642e669ac0a4d709909ab605de6b36a67eb9f250bb7b94966c1a246752a5 [INFO] running `Command { std: "docker" "start" "-a" "4b11642e669ac0a4d709909ab605de6b36a67eb9f250bb7b94966c1a246752a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b11642e669ac0a4d709909ab605de6b36a67eb9f250bb7b94966c1a246752a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b11642e669ac0a4d709909ab605de6b36a67eb9f250bb7b94966c1a246752a5", kill_on_drop: false }` [INFO] [stdout] 4b11642e669ac0a4d709909ab605de6b36a67eb9f250bb7b94966c1a246752a5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c3e0c532efc0eb24d2b75a68b62179c75e57c1e4df8d37221c122648fdbb4d3 [INFO] running `Command { std: "docker" "start" "-a" "8c3e0c532efc0eb24d2b75a68b62179c75e57c1e4df8d37221c122648fdbb4d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling markup5ever v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling icu_segmenter_data v1.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling iterext v0.1.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling fd-lock v3.0.13 [INFO] [stderr] Compiling xml5ever v0.18.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling minreq v2.13.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling auto_enums v0.8.7 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rustyline v10.1.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling markup5ever_rcdom v0.3.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling icu_segmenter v1.5.0 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Compiling num-runtime-fmt v0.1.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling text-splitter v0.25.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling modelfile v0.3.0 [INFO] [stderr] Compiling html2md v0.2.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling calc v0.4.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling ollama-rs-macros v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling chromadb v2.2.2 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling ollama-rs v0.3.1 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling ruchat v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ollama/pipe.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut options = get_options(&args.config).await?; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ollama/pipe.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut model_name = match args.model.as_deref().or(args.positional_model.as_deref()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ollama/chat/bufcursor.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | x => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/io.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl Io { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) async fn write(&mut self, s: &str) -> Result<(), RuChatError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug`, `set_cursor`, `len`, `cursor_position`, `write`, and `pop` are never used [INFO] [stdout] --> src/ollama/chat/bufcursor.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl BufCursor { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn debug(&mut self, d: D) -> Result<(), RuChatError> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub(crate) fn set_cursor(&mut self, cursor: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn cursor_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn write(&mut self, line: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn pop(&mut self) -> Result<(), RuChatError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `parent_question_id` are never read [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Answer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 10 | parent_question_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Answer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `parent_question_id`, and `children_question_ids` are never read [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Question { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 22 | parent_question_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | children_question_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Question` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `edit_question`, `find_parent`, and `get_current_question_id` are never used [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl ConversationTree { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn edit_question( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub(crate) fn find_parent(&self, question_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub(crate) fn get_current_question_id(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 11s [INFO] running `Command { std: "docker" "inspect" "8c3e0c532efc0eb24d2b75a68b62179c75e57c1e4df8d37221c122648fdbb4d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3e0c532efc0eb24d2b75a68b62179c75e57c1e4df8d37221c122648fdbb4d3", kill_on_drop: false }` [INFO] [stdout] 8c3e0c532efc0eb24d2b75a68b62179c75e57c1e4df8d37221c122648fdbb4d3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74d1438d0a94e9b865ccb66fc9c6f68b6700b68afdec566fb8f1eb341c1c72d7 [INFO] running `Command { std: "docker" "start" "-a" "74d1438d0a94e9b865ccb66fc9c6f68b6700b68afdec566fb8f1eb341c1c72d7", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ollama/pipe.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut options = get_options(&args.config).await?; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ollama/pipe.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut model_name = match args.model.as_deref().or(args.positional_model.as_deref()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ruchat v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ollama/chat/bufcursor.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | x => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/io.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 14 | impl Io { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub(crate) async fn write(&mut self, s: &str) -> Result<(), RuChatError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug`, `set_cursor`, `len`, `cursor_position`, `write`, and `pop` are never used [INFO] [stdout] --> src/ollama/chat/bufcursor.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl BufCursor { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn debug(&mut self, d: D) -> Result<(), RuChatError> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub(crate) fn set_cursor(&mut self, cursor: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn cursor_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn write(&mut self, line: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn pop(&mut self) -> Result<(), RuChatError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `parent_question_id` are never read [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Answer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 10 | parent_question_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Answer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `parent_question_id`, and `children_question_ids` are never read [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Question { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 22 | parent_question_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | children_question_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Question` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `edit_question`, `find_parent`, and `get_current_question_id` are never used [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl ConversationTree { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn edit_question( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub(crate) fn find_parent(&self, question_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub(crate) fn get_current_question_id(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/io.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | use tokio::io::{self, AsyncWriteExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/options.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ollama/pipe.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut options = get_options(&args.config).await?; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ollama/pipe.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut model_name = match args.model.as_deref().or(args.positional_model.as_deref()) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/io.rs:82:27 [INFO] [stdout] | [INFO] [stdout] 82 | use tokio::io::{self, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/ollama/chat/bufcursor.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | x => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug`, `set_cursor`, `len`, `cursor_position`, `write`, and `pop` are never used [INFO] [stdout] --> src/ollama/chat/bufcursor.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl BufCursor { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn debug(&mut self, d: D) -> Result<(), RuChatError> [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub(crate) fn set_cursor(&mut self, cursor: (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn cursor_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | fn write(&mut self, line: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn pop(&mut self) -> Result<(), RuChatError> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `parent_question_id` are never read [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Answer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 10 | parent_question_id: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Answer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `parent_question_id`, and `children_question_ids` are never read [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Question { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 22 | parent_question_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | children_question_ids: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Question` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `edit_question`, `find_parent`, and `get_current_question_id` are never used [INFO] [stdout] --> src/ollama/chat/conversation_tree.rs:123:19 [INFO] [stdout] | [INFO] [stdout] 42 | impl ConversationTree { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 123 | pub(crate) fn edit_question( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 341 | pub(crate) fn find_parent(&self, question_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub(crate) fn get_current_question_id(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.03s [INFO] running `Command { std: "docker" "inspect" "74d1438d0a94e9b865ccb66fc9c6f68b6700b68afdec566fb8f1eb341c1c72d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d1438d0a94e9b865ccb66fc9c6f68b6700b68afdec566fb8f1eb341c1c72d7", kill_on_drop: false }` [INFO] [stdout] 74d1438d0a94e9b865ccb66fc9c6f68b6700b68afdec566fb8f1eb341c1c72d7